//
// sub_10049CF70 from 0x10049cf70 to 0x10049d01d (173 bytes)
//
// 1 xrefs:
// > ??> @ 0x100945ac8
//
// 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_10049CF70(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
_QWORD *v4; // rbx
*(a1 - 40) = off_100945618;
*a1 = off_100945AC0;
a1[1] = &off_100945B30;
a1[2] = off_100945B48;
a1[3] = off_100945B68;
a1[4] = off_100945B88;
a1[11] = off_100945BB0;
a1[12] = &off_100945BF8;
a1[13] = &off_100945C10;
v2 = (cocos2d::CCObject *)a1[20];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[23];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = a1 - 40;
cocos2d::CCLayer::dCCLayer(v4);
operator delete(v4);
}