//
// sub_100340A70 from 0x100340a70 to 0x100340aa8 (56 bytes)
//
// 2 xrefs:
// > sub_1003254FC @ 0x100325600
// > sub_1003254FC @ 0x100325608
//
// 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
//
__int64 __fastcall sub_100340A70(__int64 a1)
{
void *v2; // x0
sub_100340AA8(a1, *(_QWORD *)(a1 + 16));
v2 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
operator delete(v2);
return a1;
}