//
// sub_1003BF380 from 0x1003bf380 to 0x1003bf474 (244 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b38b98
//
// 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:32 +0000
//
__int64 __fastcall sub_1003BF380(_QWORD *a1, double a2)
{
__int64 v3; // rdi
*(a1 - 40) = off_100B385F0;
*a1 = off_100B38B98;
a1[1] = &off_100B38C08;
a1[2] = off_100B38C20;
a1[3] = off_100B38C40;
a1[4] = off_100B38C68;
a1[11] = off_100B38C98;
a1[14] = off_100B38D18;
a1[29] = &off_100B38D38;
a1[30] = &off_100B38D50;
a1[31] = &off_100B38D68;
a1[32] = &off_100B38D80;
if ( *(_QWORD **)(GameManager::sharedState() + 952) != a1 + 32 )
{
v3 = a1[36];
if ( !v3 )
return sub_100518A90(a1 - 40, a2);
goto LABEL_5;
}
*(_QWORD *)(GameManager::sharedState() + 952) = 0;
v3 = a1[36];
if ( v3 )
LABEL_5:
cocos2d::CCObject::release(v3);
return sub_100518A90(a1 - 40, a2);
}