//
// sub_100647AB0 from 0x100647ab0 to 0x100647b2a (122 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b81778
//
// 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_100647AB0(_QWORD *a1)
{
void *v1; // rax
*(a1 - 40) = off_100B812E8;
*a1 = off_100B81778;
a1[1] = &off_100B817E8;
a1[2] = off_100B81800;
a1[3] = off_100B81820;
a1[4] = off_100B81848;
v1 = (void *)a1[20];
if ( v1 )
{
a1[21] = v1;
operator delete(v1);
}
return sub_1004A9420(a1 - 40);
}