//
// sub_100054BB0 from 0x100054bb0 to 0x100054bfe (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b1ac0
//
// 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
//
__int64 __fastcall sub_100054BB0(__int64 a1)
{
*(_QWORD *)a1 = off_1008B1AB8;
*(_QWORD *)(a1 + 320) = off_1008B1F20;
if ( (*(_BYTE *)(a1 + 504) & 1) == 0 )
return ((__int64 (*)(void))sub_1002772B0)();
operator delete(*(void **)(a1 + 520));
return sub_1002772B0(a1);
}