//
// sub_100056790 from 0x100056790 to 0x1000567ca (58 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab6f40
//
// 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:37 +0000
//
__int64 __fastcall sub_100056790(__int64 a1)
{
*(_QWORD *)a1 = off_100AB6F38;
if ( (*(_BYTE *)(a1 + 112) & 1) != 0 )
operator delete(*(void **)(a1 + 128));
return sub_10047FF60(a1);
}