//
// sub_1000AC5F4 from 0x1000ac5f4 to 0x1000ac63c (72 bytes)
//
// 5 xrefs:
// > GJGameLevel::init @ 0x1000ac5dc
// > GJGameLevel::dataLoaded @ 0x1000ae9d4
// > KeybindingsManager::firstSetup @ 0x100347320
// > KeybindingsManager::dataLoaded @ 0x1003473f8
// > LevelSettingsObject::init @ 0x10036abfc
//
// 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_1000AC5F4(__int64 a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // x0
v3 = *(cocos2d::CCObject **)(a1 + 320);
if ( v3 != a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v3 = *(cocos2d::CCObject **)(a1 + 320);
}
if ( v3 )
cocos2d::CCObject::release(v3);
*(_QWORD *)(a1 + 320) = a2;
}
}