//
// sub_1404964D0 from 0x1404964d0 to 0x14049655f (143 bytes)
//
// 2 xrefs:
// > ??> @ 0x14061ef70
// > ??> @ 0x1406dc320
//
// 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
//
__int64 __fastcall sub_1404964D0(__int64 Block, char a2)
{
*(_QWORD *)Block = &EventLinkTrigger::`vftable';
*(_QWORD *)(Block + 320) = &EventLinkTrigger::`vftable';
*(_QWORD *)(Block + 344) = &EventLinkTrigger::`vftable';
sub_1400CDB90((void **)(Block + 1856));
*(_QWORD *)Block = &EffectGameObject::`vftable';
*(_QWORD *)(Block + 320) = &EffectGameObject::`vftable';
*(_QWORD *)(Block + 344) = &EffectGameObject::`vftable';
GameObject::dGameObject(Block);
if ( (a2 & 1) != 0 )
j_j_free((void *)Block);
return Block;
}