//
// sub_10001B9A8 from 0x10001b9a8 to 0x10001ba00 (88 bytes)
//
// 1 xrefs:
// > sub_10001B974 @ 0x10001b988
//
// 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
//
void __fastcall sub_10001B9A8(__int64 a1, __int64 a2)
{
__int64 v2; // x8
void *v5; // x0
v2 = *(_QWORD *)(a1 + 16);
while ( v2 != a2 )
{
*(_QWORD *)(a1 + 16) = v2 - 72;
v5 = *(void **)(v2 - 24);
if ( v5 )
{
*(_QWORD *)(v2 - 16) = v5;
operator delete(v5);
v2 = *(_QWORD *)(a1 + 16);
}
else
{
v2 -= 72;
}
}
}