//
// sub_100647CE0 from 0x100647ce0 to 0x100647d5a (122 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b81d20
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:34:45 +0000
//
__int64 __fastcall sub_100647CE0(_QWORD *a1)
{
void *v1; // rax
*(a1 - 40) = off_100B81890;
*a1 = off_100B81D20;
a1[1] = &off_100B81D90;
a1[2] = off_100B81DA8;
a1[3] = off_100B81DC8;
a1[4] = off_100B81DF0;
v1 = (void *)a1[28];
if ( v1 )
{
a1[29] = v1;
operator delete(v1);
}
return sub_1004A9420(a1 - 40);
}