//
// sub_100124FA0 from 0x100124fa0 to 0x100124fd4 (52 bytes)
//
// 16 xrefs:
// > sub_100124F2C @ 0x100124f68
// > sub_1001256BC @ 0x1001256f0
// > sub_100125758 @ 0x10012588c
// > sub_1001258C4 @ 0x1001258fc
// > GJBaseGameLayer::addCustomEnterEffect @ 0x1001e27d8
// > GJBaseGameLayer::stopCustomEnterEffect @ 0x1001e2a8c
// > GJBaseGameLayer::controlAreaEffect @ 0x1001ee0a0
// > GJBaseGameLayer::controlAreaEffectWithID @ 0x1001ee704
// > GJBaseGameLayer::addAreaEffect @ 0x1001f3e90
// > GJBaseGameLayer::resetLevelVariables @ 0x1002024e8
// > GJBaseGameLayer::resetLevelVariables @ 0x100202510
// > GJBaseGameLayer::resetLevelVariables @ 0x100202538
// > GJBaseGameLayer::resetLevelVariables @ 0x100202560
// > GJBaseGameLayer::resetLevelVariables @ 0x100202588
// > sub_10020A7A8 @ 0x10020a828
// > sub_10020A94C @ 0x10020a974
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_100124FA0(__int64 a1, __int64 a2)
{
void *v3; // x0
v3 = *(void **)(a2 + 208);
if ( v3 )
{
*(_QWORD *)(a2 + 216) = v3;
operator delete(v3);
}
sub_100017D70(a2, *(_QWORD **)(a2 + 8));
}