//
// sub_140495640 from 0x140495640 to 0x140495674 (52 bytes)
//
// 2 xrefs:
// > ??> @ 0x1406100e0
// > ??> @ 0x1406dc1f4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void *__fastcall sub_140495640(void *Block, char a2)
{
GameObject::dGameObject((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}