//
// sub_1005DBAC0 from 0x1005dbac0 to 0x1005dbb32 (114 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1005DBAC0(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
GameManager *v4; // rax
*(_QWORD *)a1 = off_100974C00;
*(_QWORD *)(a1 + 320) = off_1009750F0;
*(_QWORD *)(a1 + 344) = off_100975170;
v2 = *(cocos2d::CCObject **)(a1 + 736);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 720);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = GameManager::sharedState();
GameManager::unloadIcons(v4, *(_DWORD *)(a1 + 764));
return CCAnimatedSprite::dCCAnimatedSprite(a1);
}