//
// sub_100061A50 from 0x100061a50 to 0x100061ab2 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab7f58
//
// This function is hookable on this platform (idp: pc, 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 12:19:41 +0000
//
void __fastcall sub_100061A50(__int64 a1)
{
void *v2; // rdi
__int128 v3; // xmm0
void *v4; // rdi
*(_QWORD *)a1 = &off_100AB7F58;
if ( (*(_BYTE *)(a1 + 33) & 2) != 0 )
{
v2 = *(void **)(a1 + 40);
if ( v2 )
operator delete[](v2);
}
*(_DWORD *)(a1 + 32) = 0;
v3 = 0;
*(_OWORD *)(a1 + 40) = 0;
if ( (*(_BYTE *)(a1 + 9) & 2) != 0 )
{
v4 = *(void **)(a1 + 16);
if ( v4 )
{
operator delete[](v4);
v3 = 0;
}
}
*(_DWORD *)(a1 + 8) = 0;
*(_OWORD *)(a1 + 16) = v3;
}