//
// sub_1004B5AD0 from 0x1004b5ad0 to 0x1004b5b0e (62 bytes)
//
// 8 xrefs:
// > ??> @ 0x1004b5a42
// > ??> @ 0x1004b5a6e
// > ??> @ 0x1004b5f2a
// > ??> @ 0x1004b5f56
// > ??> @ 0x1004b633a
// > ??> @ 0x1004b6360
// > ??> @ 0x100519476
// > ??> @ 0x10094ac48
//
// 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_1004B5AD0(__int64 a1)
{
*(_QWORD *)a1 = &off_10094AC48;
if ( (*(_BYTE *)(a1 + 40) & 1) != 0 )
operator delete(*(void **)(a1 + 56));
if ( (*(_BYTE *)(a1 + 16) & 1) != 0 )
operator delete(*(void **)(a1 + 32));
}