//
// sub_10036FD88 from 0x10036fd88 to 0x10036fdd4 (76 bytes)
//
// 1 xrefs:
// > sub_10036FD54 @ 0x10036fd70
//
// 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_10036FD88(__int64 a1)
{
__int64 v1; // x8
__int64 v2; // x19
__int64 v3; // x20
void *v4; // x0
void *v5; // t1
v1 = **(_QWORD **)(a1 + 16);
v2 = **(_QWORD **)(a1 + 8);
if ( v1 != v2 )
{
v3 = **(_QWORD **)(a1 + 16);
do
{
v5 = *(void **)(v3 - 32);
v3 -= 32;
v4 = v5;
if ( v5 )
{
*(_QWORD *)(v1 - 24) = v4;
operator delete(v4);
}
v1 = v3;
}
while ( v3 != v2 );
}
}