//
// sub_100242070 from 0x100242070 to 0x100242156 (230 bytes)
//
// 2 xrefs:
// > sub_100242160 @ 0x10024216c
// > ??> @ 0x100aedc28
//
// 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
//
void __fastcall sub_100242070(_QWORD *__p, double a2)
{
__int64 v3; // rax
__int64 v4; // rdi
*__p = off_100AEDC18;
__p[40] = off_100AEE0C8;
__p[41] = &off_100AEE138;
__p[42] = off_100AEE150;
__p[43] = off_100AEE170;
__p[44] = off_100AEE198;
__p[69] = &off_100AEE1C8;
__p[70] = &off_100AEE1E0;
__p[71] = off_100AEE1F8;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1360) == __p + 71 )
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = 0;
v3 = __p[73];
if ( v3 )
*(_QWORD *)(v3 + 664) = 0;
v4 = __p[72];
if ( v4 )
cocos2d::CCObject::release(v4);
sub_100703A00(__p);
operator delete(__p);
}