//
// sub_140495A10 from 0x140495a10 to 0x140495a6a (90 bytes)
//
// 5 xrefs:
// > ??> @ 0x14060f358
// > ??> @ 0x140613468
// > ??> @ 0x140613b10
// > ??> @ 0x140614b30
// > ??> @ 0x1406dc224
//
// 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
//
_QWORD *__fastcall sub_140495A10(_QWORD *Block, char a2)
{
*Block = &EffectGameObject::`vftable';
Block[40] = &EffectGameObject::`vftable';
Block[43] = &EffectGameObject::`vftable';
GameObject::dGameObject((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}