//
// sub_10001DB4C from 0x10001db4c to 0x10001dba4 (88 bytes)
//
// 1 xrefs:
// > sub_10001DB18 @ 0x10001db2c
//
// This function is hookable on this platform (idp: arm, 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 10:57:21 +0000
//
void __fastcall sub_10001DB4C(__int64 a1, __int64 a2)
{
__int64 v2; // x8
void *v5; // x0
v2 = *(_QWORD *)(a1 + 16);
while ( v2 != a2 )
{
*(_QWORD *)(a1 + 16) = v2 - 64;
v5 = *(void **)(v2 - 24);
if ( v5 )
{
*(_QWORD *)(v2 - 16) = v5;
operator delete(v5);
v2 = *(_QWORD *)(a1 + 16);
}
else
{
v2 -= 64;
}
}
}