//
// sub_10047F9D0 from 0x10047f9d0 to 0x10047fa4e (126 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093bd30
//
// 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_10047F9D0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*(a1 - 40) = off_10093B8B0;
*a1 = off_10093BD30;
a1[1] = &off_10093BDA0;
a1[2] = off_10093BDB8;
a1[3] = off_10093BDD8;
a1[4] = off_10093BDF8;
v2 = (cocos2d::CCObject *)a1[11];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[12];
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::CCLayer::dCCLayer(a1 - 40);
}