//
// sub_1000944D0 from 0x1000944d0 to 0x100094553 (131 bytes)
//
// 2 xrefs:
// > ??> @ 0x100094498
// > ??> @ 0x1000944b9
//
// 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:20:09 +0000
//
void __fastcall sub_1000944D0(void ***a1)
{
void **v1; // r14
void *v2; // r15
__int64 v3; // rbx
void *v4; // rax
_QWORD *v6; // rsi
void *v7; // rdi
if ( !*((_BYTE *)a1 + 8) )
{
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v3 = (__int64)v1[1];
v4 = **a1;
if ( (void *)v3 != v2 )
{
do
{
v7 = *(void **)(v3 - 32);
if ( v7 )
{
*(_QWORD *)(v3 - 24) = v7;
operator delete(v7);
}
v6 = *(_QWORD **)(v3 - 232);
v3 -= 240;
sub_10001ADF0(v3, v6);
}
while ( (void *)v3 != v2 );
v4 = **a1;
}
v1[1] = v2;
operator delete(v4);
}
}
}