//
// LocalLevelManager::~LocalLevelManager from 0x910cf8 to 0x910e64 (364 bytes)
//
// 4 xrefs:
// > LocalLevelManager::~LocalLevelManager @ 0x910e74
// > ??> @ 0x8b948
// > ??> @ 0xaef10
// > ??> @ 0x14670a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:57:16 +0000
//
// Alternative name is '_ZN17LocalLevelManagerD2Ev'
void __fastcall LocalLevelManager::~LocalLevelManager(LocalLevelManager *this)
{
cocos2d::CCObject *v2; // x0
void **v3; // x20
void **v4; // x0
void *v5; // x20
void *v6; // x0
__int64 v7; // x0
void **v8; // x20
void **v9; // x21
void **v10; // x0
void *v11; // x0
char v12; // w1
v2 = *((cocos2d::CCObject **)this + 45);
*((_QWORD *)this + 44) = &off_1467470;
*(_QWORD *)this = &off_14670A0;
qword_155CE70 = 0;
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*((_BYTE *)this + 552) & 1) != 0 )
operator delete(*((void **)this + 71));
if ( (*((_BYTE *)this + 528) & 1) != 0 )
operator delete(*((void **)this + 68));
if ( (*((_BYTE *)this + 504) & 1) != 0 )
operator delete(*((void **)this + 65));
std::mutex::~mutex((LocalLevelManager *)((char *)this + 464));
v3 = *((void ***)this + 55);
if ( v3 )
{
v4 = *((void ***)this + 56);
if ( v3 != v4 )
{
do
{
*((_QWORD *)this + 56) = v4 - 4;
if ( (*(_BYTE *)(v4 - 4) & 1) != 0 )
operator delete(*(v4 - 2));
v4 = *((void ***)this + 56);
}
while ( v3 != v4 );
v4 = *((void ***)this + 55);
}
operator delete(v4);
}
v5 = *((void **)this + 52);
if ( v5 )
{
v6 = *((void **)this + 53);
if ( v5 != v6 )
{
do
{
v7 = (__int64)v6 - 24;
*((_QWORD *)this + 53) = v7;
std::string::~string(v7);
v6 = *((void **)this + 53);
}
while ( v5 != v6 );
v6 = *((void **)this + 52);
}
operator delete(v6);
}
v8 = *((void ***)this + 49);
if ( v8 )
{
do
{
v9 = (void **)*v8;
if ( ((_BYTE)v8[3] & 1) != 0 )
operator delete(v8[5]);
v10 = v8;
v8 = v9;
operator delete(v10);
}
while ( v9 );
}
v11 = *((void **)this + 47);
*((_QWORD *)this + 47) = 0;
if ( v11 )
operator delete(v11);
v12 = *((_BYTE *)this + 320);
*(_QWORD *)this = &off_141A5C0;
if ( (v12 & 1) != 0 )
operator delete(*((void **)this + 42));
cocos2d::CCNode::~CCNode(this);
}