diff --git a/Source/Contents/Effects/EffectLists.cpp b/Source/Contents/Effects/EffectLists.cpp index 156a539f..8cff099c 100644 --- a/Source/Contents/Effects/EffectLists.cpp +++ b/Source/Contents/Effects/EffectLists.cpp @@ -656,3 +656,11 @@ CSprArrowEffect::~CSprArrowEffect() { CChopChopClawMarks::~CChopChopClawMarks() { } + +// OFFSET: 0x00B3A430 +// FUNCTION: fn_18787 +bool EffectLists::RegisterAllocator(int id, CAllocator* allocator) { + return this->allocators.try_emplace(id, allocator).second; +} + +// OFFSET: 0x00B3AF30 diff --git a/Source/Contents/Effects/EffectLists.h b/Source/Contents/Effects/EffectLists.h index 01f9a00e..ab80f273 100644 --- a/Source/Contents/Effects/EffectLists.h +++ b/Source/Contents/Effects/EffectLists.h @@ -45,6 +45,8 @@ public: void Release(); void SpawnLevel99(CRenderObject* actor, unsigned char flag, int extra); bool RegisterAllocators(); + bool RegisterAllocator(int id, CAllocator* allocator); + void Update(); }; #if defined(_WIN32) && !defined(_WIN64)