Decompile fn_18787 (EffectLists::RegisterAllocator)
Batch #5268 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_18787 EffectLists::RegisterAllocator: logic confirmed by peer review Peer-reviewed-by: youko, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
a41d56577a
commit
400e5988ab
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue