//
// sub_180042DE0 from 0x180042de0 to 0x180042e16 (54 bytes)
//
// 3 xrefs:
// > sub_180043C90 @ 0x180043cdf
// > ??> @ 0x1801f80ac
// > ??> @ 0x1801f80b8
//
// 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 10:53:12 +0000
//
__int64 __fastcall sub_180042DE0(__int64 a1)
{
void *v2; // rcx
void *v3; // rcx
v2 = *(void **)a1;
if ( v2 )
free(v2);
v3 = *(void **)(a1 + 8);
if ( v3 )
free(v3);
*(_QWORD *)a1 = 0;
*(_QWORD *)(a1 + 8) = 0;
*(_DWORD *)(a1 + 16) = 0;
return 0;
}