//
// sub_1005D24B0 from 0x1005d24b0 to 0x1005d2509 (89 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009723e8
//
// 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_1005D24B0(__int64 a1)
{
*(_QWORD *)a1 = off_1009723E0;
*(_QWORD *)(a1 + 320) = off_100972B00;
*(_QWORD *)(a1 + 344) = off_100972B80;
if ( (*(_BYTE *)(a1 + 1352) & 1) != 0 )
operator delete(*(void **)(a1 + 1368));
return GameObject::dGameObject(a1);
}