//
// sub_1000906B0 from 0x1000906b0 to 0x100090748 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x100093d9b
//
// 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:08 +0000
//
void __fastcall sub_1000906B0(__int64 a1, _QWORD *a2)
{
_QWORD *v2; // rbx
void *v3; // rdi
_QWORD *v4; // r15
__int64 v5; // r12
__int64 v6; // r14
_QWORD *v7; // rsi
void *v8; // rdi
if ( a2 )
{
v2 = a2;
do
{
v4 = (_QWORD *)*v2;
v5 = v2[3];
if ( v5 )
{
v6 = v2[4];
v3 = (void *)v2[3];
if ( v6 != v5 )
{
do
{
v8 = *(void **)(v6 - 32);
if ( v8 )
{
*(_QWORD *)(v6 - 24) = v8;
operator delete(v8);
}
v7 = *(_QWORD **)(v6 - 232);
v6 -= 240;
sub_10001ADF0(v6, v7);
}
while ( v6 != v5 );
v3 = (void *)v2[3];
}
v2[4] = v5;
operator delete(v3);
}
operator delete(v2);
v2 = v4;
}
while ( v4 );
}
}