//
// RingObject::create from 0x4eb23c to 0x4eb2a0 (100 bytes)
//
// 2 xrefs:
// > GameObject::createWithKey @ 0x45bb14
// > GameObject::createWithKey @ 0x45bb24
//
// 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 RingObject::create(RingObject *this, const char *a2)
{
EffectGameObject *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (EffectGameObject *)operator new(0x678u);
EffectGameObject::EffectGameObject(v3);
*(_DWORD *)v3 = &off_C9EA48;
*((_DWORD *)v3 + 66) = &off_C9EDF4;
*((_DWORD *)v3 + 70) = &off_C9EE34;
*((_BYTE *)v3 + 1648) = 0;
*((_BYTE *)v3 + 1649) = 0;
if ( RingObject::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;
}