//
// LevelSettingsObject::init from 0x480d30 to 0x480e96 (358 bytes)
//
// 1 xrefs:
// > LevelSettingsObject::create @ 0x465e2c
//
// 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:49:22 +0000
//
GJEffectManager *__fastcall LevelSettingsObject::init(GJEffectManager **this)
{
GJEffectManager *v2; // r0
GJEffectManager *v3; // r8
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r5
ColorAction *v6; // r0
ColorAction *v7; // r0
ColorAction *v8; // r0
ColorAction *v9; // r0
ColorAction *v10; // r0
ColorAction *v11; // r0
ColorAction *v12; // r0
ColorAction *v13; // r0
ColorAction *v14; // r0
ColorAction *v15; // r0
ColorAction *v16; // r0
v2 = (GJEffectManager *)cocos2d::CCNode::init((cocos2d::CCNode *)this);
v3 = v2;
if ( v2 )
{
v4 = (cocos2d::CCObject *)GJEffectManager::create(v2);
v5 = v4;
if ( *(this + 66) != v4 )
{
if ( v4 )
cocos2d::CCObject::retain(v4);
v4 = *(this + 66);
if ( v4 )
v4 = (cocos2d::CCObject *)cocos2d::CCObject::release(v4);
*(this + 66) = v5;
}
v6 = (ColorAction *)ColorAction::create(v4);
*((_BYTE *)v6 + 68) = 40;
*((_BYTE *)v6 + 69) = 125;
*((_BYTE *)v6 + 70) = -1;
v7 = (ColorAction *)GJEffectManager::setColorAction(*(this + 66), v6, 1000);
v8 = (ColorAction *)ColorAction::create(v7);
*((_BYTE *)v8 + 69) = 102;
*((_BYTE *)v8 + 68) = 0;
*((_BYTE *)v8 + 70) = -1;
v9 = (ColorAction *)GJEffectManager::setColorAction(*(this + 66), v8, 1001);
v10 = (ColorAction *)ColorAction::create(v9);
*((_BYTE *)v10 + 69) = 102;
*((_BYTE *)v10 + 68) = 0;
*((_BYTE *)v10 + 70) = -1;
v11 = (ColorAction *)GJEffectManager::setColorAction(*(this + 66), v10, 1009);
v12 = (ColorAction *)ColorAction::create(v11);
*((_BYTE *)v12 + 68) = -1;
*((_BYTE *)v12 + 69) = -1;
*((_BYTE *)v12 + 70) = -1;
*((_BYTE *)v12 + 80) = 1;
v13 = (ColorAction *)GJEffectManager::setColorAction(*(this + 66), v12, 1002);
v14 = (ColorAction *)ColorAction::create(v13);
*((_BYTE *)v14 + 68) = 40;
*((_BYTE *)v14 + 69) = 125;
*((_BYTE *)v14 + 70) = -1;
v15 = (ColorAction *)GJEffectManager::setColorAction(*(this + 66), v14, 1013);
v16 = (ColorAction *)ColorAction::create(v15);
*((_BYTE *)v16 + 68) = 40;
*((_BYTE *)v16 + 69) = 125;
*((_BYTE *)v16 + 70) = -1;
GJEffectManager::setColorAction(*(this + 66), v16, 1014);
*((_BYTE *)this + 276) = 0;
*(this + 67) = nullptr;
*(this + 68) = nullptr;
*((_BYTE *)this + 278) = 0;
*((_BYTE *)this + 279) = 0;
*(this + 73) = nullptr;
*(this + 74) = nullptr;
*(this + 76) = nullptr;
*((_BYTE *)this + 308) = 0;
*((_BYTE *)this + 368) = 1;
*((_BYTE *)this + 376) = 1;
*((_BYTE *)this + 377) = 1;
*((_BYTE *)this + 378) = 1;
*((_BYTE *)this + 382) = 1;
*((_BYTE *)this + 379) = 1;
*((_BYTE *)this + 369) = 1;
*((_BYTE *)this + 370) = 1;
*((_BYTE *)this + 371) = 1;
*((_BYTE *)this + 372) = 1;
*((_BYTE *)this + 373) = 1;
*((_BYTE *)this + 374) = 1;
*((_BYTE *)this + 375) = 1;
*((_BYTE *)this + 380) = 1;
*((_BYTE *)this + 381) = 1;
*((_BYTE *)this + 290) = 0;
}
return v3;
}