//
// sub_180142660 from 0x180142660 to 0x18014268b (43 bytes)
//
// 2 xrefs:
// > ??> @ 0x18017c2e0
// > ??> @ 0x180203d64
//
// 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:55:05 +0000
//
_QWORD *__fastcall sub_180142660(_QWORD *a1, char a2)
{
*a1 = &type_info::`vftable';
if ( (a2 & 1) != 0 )
j_j_free_0(a1);
return a1;
}