//
// EventLinkTrigger::dEventLinkTrigger from 0x140638520 to 0x1406385b2 (146 bytes)
//
// 2 xrefs:
// > ??> @ 0x140831090
// > ??> @ 0x140930de8
//
// 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:35:31 +0000
//
void *__fastcall EventLinkTrigger::dEventLinkTrigger(void *Block, char a2)
{
*(_QWORD *)Block = &EventLinkTrigger::`vftable';
*((_QWORD *)Block + 40) = &EventLinkTrigger::`vftable';
*((_QWORD *)Block + 43) = &EventLinkTrigger::`vftable';
sub_1400BD560((void **)Block + 232, (__int64)Block + 1856);
*(_QWORD *)Block = &EffectGameObject::`vftable';
*((_QWORD *)Block + 40) = &EffectGameObject::`vftable';
*((_QWORD *)Block + 43) = &EffectGameObject::`vftable';
GameObject::dGameObject((cocos2d::CCSprite *)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}