//
// SpawnParticleGameObject::create from 0x4eac04 to 0x4eac98 (148 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x45bb8c
//
// 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
//
int *__fastcall SpawnParticleGameObject::create(SpawnParticleGameObject *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x698u);
EffectGameObject::EffectGameObject((EffectGameObject *)v1);
*v1 = (int)&off_CA5B30;
v1[66] = (int)&off_CA5EDC;
v1[70] = (int)&off_CA5F1C;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 412));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 414));
*((_BYTE *)v1 + 1664) = 0;
v1[417] = 0;
v1[418] = 0;
v1[419] = 1065353216;
v1[420] = 0;
if ( (*(int (__fastcall **)(int *))(*v1 + 40))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}