//
// sub_100124D18 from 0x100124d18 to 0x100124d64 (76 bytes)
//
// 2 xrefs:
// > sub_100124BD0 @ 0x100124be8
// > sub_100124C78 @ 0x100124c88
//
// 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_100124D18(__int64 a1, void **__p)
{
void **v3; // [xsp+8h] [xbp-18h] BYREF
if ( *(_BYTE *)(a1 + 8) == 1 )
{
v3 = __p + 5;
sub_100124B3C(&v3);
}
if ( __p )
operator delete(__p);
}