//
// sub_18001F07C from 0x18001f07c to 0x18001f0a7 (43 bytes)
//
// 3 xrefs:
// > ??> @ 0x180025808
// > ??> @ 0x18004d094
// > ??> @ 0x18004d0a0
//
// 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:15:45 +0000
//
_QWORD *__fastcall sub_18001F07C(_QWORD *a1, char a2)
{
*a1 = &type_info::`vftable';
if ( (a2 & 1) != 0 )
j_j_free(a1);
return a1;
}