//
// GradientTriggerObject::create from 0x4ea62c to 0x4ea6b6 (138 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x45bc16
//
// 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 GradientTriggerObject::create(GradientTriggerObject *this)
{
EffectGameObject *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (EffectGameObject *)operator new(0x698u);
EffectGameObject::EffectGameObject(v1);
*(_DWORD *)v1 = &off_C9DA28;
*((_DWORD *)v1 + 70) = &off_C9DE14;
*((_DWORD *)v1 + 412) = 0;
*((_DWORD *)v1 + 413) = 0;
*((_DWORD *)v1 + 414) = 0;
*((_DWORD *)v1 + 415) = 0;
*((_DWORD *)v1 + 416) = 0;
*((_DWORD *)v1 + 417) = 0;
*((_DWORD *)v1 + 418) = 0;
*((_BYTE *)v1 + 1676) = 0;
*((_BYTE *)v1 + 1677) = 0;
*((_BYTE *)v1 + 1678) = 0;
*((_DWORD *)v1 + 66) = &off_C9DDD4;
*((_DWORD *)v1 + 420) = 1065353216;
if ( GradientTriggerObject::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}