//
// EventLinkTrigger::create from 0x1001b2240 to 0x1001b2309 (201 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x10066edd6
//
// 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 12:26:10 +0000
//
char *EventLinkTrigger::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x758u);
EffectGameObject::EffectGameObject(v0);
*(_QWORD *)v0 = off_100AC9F10;
*((_QWORD *)v0 + 40) = off_100ACA668;
*((_QWORD *)v0 + 43) = off_100ACA6E8;
*(_OWORD *)(v0 + 1848) = 0;
*((_QWORD *)v0 + 230) = v0 + 1848;
v0[1864] = 0;
*(_QWORD *)(v0 + 1868) = 0;
if ( (unsigned __int8)EnhancedGameObject::init(v0, "edit_eEventLinkBtn_001.png") )
{
*((_DWORD *)v0 + 312) = 1;
v0[1450] = -1;
*((_WORD *)v0 + 724) = -1;
*((_DWORD *)v0 + 363) = 1056964608;
v0[1636] = 1;
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}