// // LevelSettingsObject::init from 0x7bff50 to 0x7c0120 (464 bytes) // // 3 xrefs: // > LevelSettingsObject::create @ 0x792a0c // > @ 0x51598 // > @ 0x14367f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:06 +0000 // unsigned __int64 __fastcall LevelSettingsObject::init(GJEffectManager **this) { unsigned __int64 result; // x0 unsigned int v3; // w22 cocos2d::CCObject *v4; // x0 cocos2d::CCObject *v5; // x20 cocos2d::CCObject *v6; // x1 ColorAction *v7; // x0 ColorAction *v8; // x0 ColorAction *v9; // x0 ColorAction *v10; // x0 ColorAction *v11; // x0 ColorAction *v12; // x0 ColorAction *v13; // x0 ColorAction *v14; // x0 ColorAction *v15; // x0 ColorAction *v16; // x0 ColorAction *v17; // x0 result = (unsigned __int8)cocos2d::CCNode::init((cocos2d::CCNode *)this); v3 = (unsigned __int8)result; if ( !(_BYTE)result ) return (unsigned __int8)result; v4 = (cocos2d::CCObject *)GJEffectManager::create((GJEffectManager *)result); v5 = v4; v6 = *(this + 40); if ( v6 != v4 ) { if ( v4 ) { v4 = (cocos2d::CCObject *)cocos2d::CCObject::retain(v4); v6 = *(this + 40); } if ( v6 ) v4 = (cocos2d::CCObject *)cocos2d::CCObject::release(v6); *(this + 40) = v5; } v7 = (ColorAction *)ColorAction::create(v4); *((_BYTE *)v7 + 72) = 40; *((_BYTE *)v7 + 73) = 125; *((_BYTE *)v7 + 74) = -1; v8 = (ColorAction *)GJEffectManager::setColorAction(*(this + 40), v7, 1000); v9 = (ColorAction *)ColorAction::create(v8); *((_BYTE *)v9 + 73) = 102; *((_BYTE *)v9 + 74) = -1; *((_BYTE *)v9 + 72) = 0; v10 = (ColorAction *)GJEffectManager::setColorAction(*(this + 40), v9, 1001); v11 = (ColorAction *)ColorAction::create(v10); *((_BYTE *)v11 + 73) = 102; *((_BYTE *)v11 + 74) = -1; *((_BYTE *)v11 + 72) = 0; v12 = (ColorAction *)GJEffectManager::setColorAction(*(this + 40), v11, 1009); v13 = (ColorAction *)ColorAction::create(v12); *((_BYTE *)v13 + 72) = -1; *((_BYTE *)v13 + 73) = -1; *((_BYTE *)v13 + 74) = -1; *((_BYTE *)v13 + 84) = 1; v14 = (ColorAction *)GJEffectManager::setColorAction(*(this + 40), v13, 1002); v15 = (ColorAction *)ColorAction::create(v14); *((_BYTE *)v15 + 72) = 40; *((_BYTE *)v15 + 73) = 125; *((_BYTE *)v15 + 74) = -1; v16 = (ColorAction *)GJEffectManager::setColorAction(*(this + 40), v15, 1013); v17 = (ColorAction *)ColorAction::create(v16); *((_BYTE *)v17 + 72) = 40; *((_BYTE *)v17 + 73) = 125; *((_BYTE *)v17 + 74) = -1; GJEffectManager::setColorAction(*(this + 40), v17, 1014); *((_BYTE *)this + 336) = 0; *((_DWORD *)this + 82) = 0; *((_DWORD *)this + 83) = 0; *((_BYTE *)this + 338) = 0; *((_BYTE *)this + 339) = 0; *((_DWORD *)this + 88) = 0; *((_DWORD *)this + 89) = 0; *((_DWORD *)this + 91) = 0; *((_BYTE *)this + 368) = 0; *((_BYTE *)this + 448) = 1; *((_BYTE *)this + 456) = 1; *((_BYTE *)this + 457) = 1; *((_BYTE *)this + 458) = 1; *((_BYTE *)this + 462) = 1; *((_BYTE *)this + 459) = 1; *((_BYTE *)this + 449) = 1; *((_BYTE *)this + 450) = 1; *((_BYTE *)this + 451) = 1; *((_BYTE *)this + 452) = 1; *((_BYTE *)this + 453) = 1; *((_BYTE *)this + 454) = 1; *((_BYTE *)this + 455) = 1; *((_BYTE *)this + 460) = 1; *((_BYTE *)this + 461) = 1; *((_BYTE *)this + 350) = 0; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source