//
// sub_100276A20 from 0x100276a20 to 0x100276b11 (241 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afa4a8
//
// 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:39 +0000
//
__int64 __fastcall sub_100276A20(_QWORD *a1, double a2)
{
__int64 v3; // rdi
*a1 = off_100AFA4A0;
a1[40] = off_100AFAA08;
a1[41] = &off_100AFAA78;
a1[42] = off_100AFAA90;
a1[43] = off_100AFAAB0;
a1[44] = off_100AFAAD8;
a1[51] = off_100AFAB08;
a1[54] = off_100AFAB88;
a1[68] = off_100AFABA8;
a1[83] = &off_100AFABF0;
a1[84] = off_100AFAC08;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1360) != a1 + 84 )
{
v3 = a1[87];
if ( !v3 )
return sub_1004936F0(a1);
goto LABEL_5;
}
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = 0;
v3 = a1[87];
if ( v3 )
LABEL_5:
cocos2d::CCObject::release(v3);
return sub_1004936F0(a1);
}