//
// cocos2d::extension::AssetsManager::Helper::~Helper from 0x7a5664 to 0x7a56be (90 bytes)
//
// 1 xrefs:
// > cocos2d::extension::AssetsManager::Helper::~Helper @ 0x7a56c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:57 +0000
//
// Alternative name is '_ZN7cocos2d9extension13AssetsManager6HelperD1Ev'
void __fastcall cocos2d::extension::AssetsManager::Helper::~Helper(cocos2d::extension::AssetsManager::Helper *this)
{
int v2; // r0
cocos2d::CCScheduler *v3; // r0
_DWORD *v4; // r4
_DWORD *v5; // r0
int v6; // r3
_DWORD *v7; // r6
*(_DWORD *)this = &off_CFEBD0;
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCScheduler *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 64))(v2);
cocos2d::CCScheduler::unscheduleAllForTarget(v3, this);
v4 = *((_DWORD **)this + 13);
if ( v4 )
{
if ( v4[2] )
{
v5 = (_DWORD *)v4[1];
v6 = *v4;
*(_DWORD *)(*v5 + 4) = *(_DWORD *)(*v4 + 4);
**(_DWORD **)(v6 + 4) = *v5;
v4[2] = 0;
while ( v5 != v4 )
{
v7 = (_DWORD *)v5[1];
operator delete(v5);
v5 = v7;
}
}
operator delete(v4);
}
cocos2d::CCObject::~CCObject(this);
}