//
// sub_1003C6A10 from 0x1003c6a10 to 0x1003c6b01 (241 bytes)
//
// 0 xrefs:
//
// 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:29:35 +0000
//
__int64 __fastcall sub_1003C6A10(_QWORD *a1, double a2)
{
__int64 v3; // rdi
*a1 = off_100B3A9F8;
a1[40] = off_100B3AF70;
a1[41] = &off_100B3AFE0;
a1[42] = off_100B3AFF8;
a1[43] = off_100B3B018;
a1[44] = off_100B3B040;
a1[51] = off_100B3B070;
a1[54] = off_100B3B0F0;
a1[68] = off_100B3B110;
a1[83] = off_100B3B158;
a1[84] = &off_100B3B188;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1296) != a1 + 83 )
{
v3 = a1[85];
if ( !v3 )
return sub_1004936F0(a1);
goto LABEL_5;
}
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1296) = 0;
v3 = a1[85];
if ( v3 )
LABEL_5:
cocos2d::CCObject::release(v3);
return sub_1004936F0(a1);
}