//
// sub_1003996B4 from 0x1003996b4 to 0x100399734 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008002a0
//
// 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_1003996B4(_QWORD *a1)
{
void *v2; // x0
void *v3; // x0
*a1 = off_100800290;
a1[40] = off_1008009D8;
a1[43] = off_100800A58;
sub_100017A98((__int64)(a1 + 238));
sub_100017A98((__int64)(a1 + 233));
*a1 = off_100809C08;
a1[40] = off_10080A350;
a1[43] = off_10080A3D0;
v2 = (void *)a1[230];
if ( v2 )
{
a1[231] = v2;
operator delete(v2);
}
v3 = (void *)GameObject::dGameObject((__int64)a1);
operator delete(v3);
}