//
// sub_1007A59B0 from 0x1007a59b0 to 0x1007a5a20 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100991528
//
// 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_1007A59B0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
*(a1 - 40) = off_1009910A8;
*a1 = off_100991528;
a1[1] = &off_100991598;
a1[2] = off_1009915B0;
a1[3] = off_1009915D0;
a1[4] = off_1009915F0;
v2 = (cocos2d::CCObject *)a1[12];
if ( v2 )
cocos2d::CCObject::release(v2);
return cocos2d::CCLayer::dCCLayer(a1 - 40);
}