//
// sub_140496170 from 0x140496170 to 0x140496209 (153 bytes)
//
// 2 xrefs:
// > ??> @ 0x14061e760
// > ??> @ 0x1406dc2d8
//
// 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_140496170(void **Block, char a2)
{
sub_14005D100((__int64)(Block + 246));
sub_14005D870(Block + 244);
sub_14005D100((__int64)(Block + 238));
sub_14005D870(Block + 236);
sub_1400CDA80((__int64)(Block + 232));
*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;
}