//
// sub_100399638 from 0x100399638 to 0x1003996b4 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x100800298
//
// 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_100399638(_QWORD *a1)
{
void *v2; // 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);
}
return GameObject::dGameObject((__int64)a1);
}