//
// sub_140677584 from 0x140677584 to 0x1406775af (43 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406ed630
// > ??> @ 0x140932660
//
// 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 11:36:00 +0000
//
_QWORD *__fastcall sub_140677584(_QWORD *a1, char a2)
{
*a1 = &type_info::`vftable';
if ( (a2 & 1) != 0 )
j_j_free(a1);
return a1;
}