//
// UISettingsGameObject::create from 0x4ea28c to 0x4ea2f4 (104 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x45bbc6
//
// 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:07 +0000
//
EffectGameObject *__fastcall UISettingsGameObject::create(UISettingsGameObject *this)
{
EffectGameObject *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (EffectGameObject *)operator new(0x680u);
EffectGameObject::EffectGameObject(v1);
*(_DWORD *)v1 = &off_CA2ED8;
*((_DWORD *)v1 + 66) = &off_CA3284;
*((_DWORD *)v1 + 70) = &off_CA32C4;
*((_DWORD *)v1 + 412) = 0;
*((_DWORD *)v1 + 413) = 0;
*((_BYTE *)v1 + 1656) = 0;
*((_BYTE *)v1 + 1657) = 0;
if ( UISettingsGameObject::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = (int *)v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}