rodecomp/Source/Contents/Actors/MercenaryAI.cpp
ragnarok-clanker 7afc1a3a5b Decompile fn_22331 (CMercenaryAI::Shutdown)
Batch #1022 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_22331 CMercenaryAI::Shutdown: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Contents/Actors/MercenaryAI.cpp
2026-10-27 09:33:55 +00:00

18 lines
279 B
C++

#include "Contents/Actors/MercenaryAI.h"
extern "C" {
#include <lua.h>
}
// OFFSET: 0x00D9E3F0
// OFFSET: 0x00D9E430
// OFFSET: 0x00D9E570
// FUNCTION: fn_22331
void CMercenaryAI::Shutdown() {
if (this->state) {
lua_close(this->state);
this->state = nullptr;
}
}