//
// sub_140062540 from 0x140062540 to 0x14006258f (79 bytes)
//
// 5 xrefs:
// > sub_1404E2A70 @ 0x1404e2a77
// > ??> @ 0x140665a2f
// > ??> @ 0x140665a48
// > ??> @ 0x140665a58
// > ??> @ 0x1406c5a30
//
// 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_140062540(__int64 a1)
{
_QWORD *v1; // rbx
void *v2; // rcx
if ( *(_QWORD *)(a1 + 8) )
{
*(_QWORD *)(*(_QWORD *)(a1 + 24) + 8LL) = 0;
**(_QWORD **)(a1 + 16) = 0;
v1 = *(_QWORD **)(a1 + 24);
while ( v1 )
{
v2 = v1;
v1 = (_QWORD *)*v1;
j_j_free(v2);
}
}
}