//
// sub_10035A7E0 from 0x10035a7e0 to 0x10035a86f (143 bytes)
//
// 1 xrefs:
// > ??> @ 0x100917fd0
//
// 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_10035A7E0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*(a1 - 40) = off_100917A80;
*a1 = off_100917FD0;
a1[1] = &off_100918040;
a1[2] = off_100918058;
a1[3] = off_100918078;
a1[4] = off_100918098;
a1[11] = off_1009180C0;
v2 = (cocos2d::CCObject *)a1[19];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[20];
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::extension::CCControl::dCCControl((__int64)(a1 - 40));
}