//
// sub_1008FC360 from 0x1008fc360 to 0x1008fc452 (242 bytes)
//
// 2 xrefs:
// > sub_1008FC460 @ 0x1008fc46c
// > ??> @ 0x100bb6dd0
//
// 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:38:00 +0000
//
void __fastcall sub_1008FC360(_QWORD *__p)
{
*__p = off_100BB6DC0;
__p[40] = off_100BB73C0;
__p[41] = &off_100BB7430;
__p[42] = off_100BB7448;
__p[43] = off_100BB7468;
__p[44] = off_100BB7490;
__p[51] = off_100BB74C0;
__p[54] = off_100BB7540;
__p[68] = off_100BB7560;
__p[83] = &off_100BB75A8;
__p[84] = off_100BB75C0;
__p[127] = off_100BB75E0;
if ( GameLevelManager::sharedState() && *(_QWORD **)(GameLevelManager::sharedState() + 1320) == __p + 127 )
*(_QWORD *)(GameLevelManager::sharedState() + 1320) = 0;
SetupTriggerPopup::dSetupTriggerPopup((__int64)__p);
operator delete(__p);
}