//
// sub_10036E2A8 from 0x10036e2a8 to 0x10036e2f4 (76 bytes)
//
// 2 xrefs:
// > sub_10036E268 @ 0x10036e284
// > sub_10036E894 @ 0x10036e8ac
//
// 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_10036E2A8(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
void *v4; // x0
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 64 )
{
v4 = *(void **)(i - 56);
if ( v4 )
{
*(_QWORD *)(i - 48) = v4;
operator delete(v4);
}
}
a1[1] = v2;
}