//
// EndTriggerGameObject::create from 0x4eafa4 to 0x4eb008 (100 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x45bbcc
//
// 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 EndTriggerGameObject::create(EndTriggerGameObject *this)
{
EffectGameObject *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (EffectGameObject *)operator new(0x678u);
EffectGameObject::EffectGameObject(v1);
*(_DWORD *)v1 = &off_CA2AD0;
*((_DWORD *)v1 + 66) = &off_CA2E7C;
*((_DWORD *)v1 + 70) = &off_CA2EBC;
*((_BYTE *)v1 + 1648) = 0;
*((_BYTE *)v1 + 1649) = 0;
*((_BYTE *)v1 + 1650) = 0;
if ( EndTriggerGameObject::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}