//
// sub_100240460 from 0x100240460 to 0x1002404d3 (115 bytes)
//
// 1 xrefs:
// > ??> @ 0x100aecfd8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:17 +0000
//
__int64 __fastcall sub_100240460(_QWORD *a1)
{
__int64 v2; // rdi
*(a1 - 40) = off_100AECB48;
*a1 = off_100AECFD8;
a1[1] = &off_100AED048;
a1[2] = off_100AED060;
a1[3] = off_100AED080;
a1[4] = off_100AED0A8;
v2 = a1[29];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_100703A00(a1 - 40);
}