//
// sub_10009AAB8 from 0x10009aab8 to 0x10009ab00 (72 bytes)
//
// 4 xrefs:
// > GameLevelManager::firstSetup @ 0x10009a8cc
// > GameLevelManager::dataLoaded @ 0x10009bb10
// > GameManager::dataLoaded @ 0x10031b4c4
// > GameManager::firstLoad @ 0x10031c778
//
// 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
//
void __fastcall sub_10009AAB8(__int64 a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // x0
v3 = *(cocos2d::CCObject **)(a1 + 416);
if ( v3 != a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v3 = *(cocos2d::CCObject **)(a1 + 416);
}
if ( v3 )
cocos2d::CCObject::release(v3);
*(_QWORD *)(a1 + 416) = a2;
}
}