//
// ItemTriggerGameObject::create from 0x4ea934 to 0x4ea9e4 (176 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x45bbb0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:08 +0000
//
EffectGameObject *__fastcall ItemTriggerGameObject::create(ItemTriggerGameObject *this, const char *a2)
{
EffectGameObject *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (EffectGameObject *)operator new(0x6A8u);
EffectGameObject::EffectGameObject(v3);
*((_DWORD *)v3 + 414) = 1;
*(_DWORD *)v3 = &off_CA3AF0;
*((_DWORD *)v3 + 66) = &off_CA3E9C;
*((_DWORD *)v3 + 70) = &off_CA3EDC;
*((_DWORD *)v3 + 412) = 0;
*((_DWORD *)v3 + 413) = 0;
*((_DWORD *)v3 + 415) = 1065353216;
*((_DWORD *)v3 + 416) = 1065353216;
*((_DWORD *)v3 + 419) = 3;
*((_DWORD *)v3 + 418) = 1;
*((_DWORD *)v3 + 417) = 0;
*((_DWORD *)v3 + 420) = 0;
*((_DWORD *)v3 + 421) = 0;
*((_DWORD *)v3 + 422) = 0;
*((_DWORD *)v3 + 423) = 0;
*((_DWORD *)v3 + 424) = 0;
*((_BYTE *)v3 + 1700) = 0;
*((_BYTE *)v3 + 1701) = 0;
*((_BYTE *)v3 + 1702) = 0;
*((_BYTE *)v3 + 1703) = 0;
if ( ItemTriggerGameObject::init(v3, (const char *)this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = (int *)v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}