//
// sub_100241F80 from 0x100241f80 to 0x100242059 (217 bytes)
//
// 1 xrefs:
// > ??> @ 0x100aee0c8
//
// 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:18 +0000
//
__int64 __fastcall sub_100241F80(_QWORD *a1, double a2)
{
__int64 v3; // rax
__int64 v4; // rdi
*(a1 - 40) = off_100AEDC18;
*a1 = off_100AEE0C8;
a1[1] = &off_100AEE138;
a1[2] = off_100AEE150;
a1[3] = off_100AEE170;
a1[4] = off_100AEE198;
a1[29] = &off_100AEE1C8;
a1[30] = &off_100AEE1E0;
a1[31] = off_100AEE1F8;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1360) == a1 + 31 )
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = 0;
v3 = a1[33];
if ( v3 )
*(_QWORD *)(v3 + 664) = 0;
v4 = a1[32];
if ( v4 )
cocos2d::CCObject::release(v4);
return sub_100703A00(a1 - 40);
}