//
// sub_100276C10 from 0x100276c10 to 0x100276d09 (249 bytes)
//
// 2 xrefs:
// > sub_100276D20 @ 0x100276d2c
// > ??> @ 0x100afa4b0
//
// 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
//
void __fastcall sub_100276C10(_QWORD *__p, double a2)
{
__int64 v3; // rdi
*__p = off_100AFA4A0;
__p[40] = off_100AFAA08;
__p[41] = &off_100AFAA78;
__p[42] = off_100AFAA90;
__p[43] = off_100AFAAB0;
__p[44] = off_100AFAAD8;
__p[51] = off_100AFAB08;
__p[54] = off_100AFAB88;
__p[68] = off_100AFABA8;
__p[83] = &off_100AFABF0;
__p[84] = off_100AFAC08;
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1360) != __p + 84 )
{
v3 = __p[87];
if ( !v3 )
goto LABEL_6;
goto LABEL_5;
}
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = 0;
v3 = __p[87];
if ( v3 )
LABEL_5:
cocos2d::CCObject::release(v3);
LABEL_6:
sub_1004936F0(__p);
operator delete(__p);
}