// // GameLevelOptionsLayer::setupOptions from 0xa363e8 to 0xa36500 (280 bytes) // // 2 xrefs: // > @ 0x434c8 // > @ 0x1483cb0 // // 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:59:50 +0000 // CCMenuItemToggler *__fastcall GameLevelOptionsLayer::setupOptions(CCMenuItemToggler *this) { GJGameLevel **v1; // x19 __int64 v2; // x1 CCMenuItemToggler *v3; // x20 CCMenuItemToggler *v4; // x0 v1 = (GJGameLevel **)this; v2 = *((_QWORD *)this + 141); if ( v2 ) { *((_BYTE *)GJOptionsLayer::addToggle(this, "Low Detail Mode", 1, *(_BYTE *)(v2 + 769), &byte_11B8890) + 393) = 1; GJOptionsLayer::addToggle((GJOptionsLayer *)v1, "Disable Shake", 2, *((_BYTE *)v1[141] + 770), &byte_11B8890); v3 = GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Enable CBS", 3, *((_DWORD *)v1[141] + 359) == 1, "Force enable Click Between Steps on this level regardless of the global setting."); v4 = GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Disable CBS", 4, *((_DWORD *)v1[141] + 359) == 2, "Force disable Click Between Steps on this level regardless of the global setting."); *((_BYTE *)v3 + 393) = 1; *((_BYTE *)v4 + 393) = 1; this = (CCMenuItemToggler *)GJGameLevel::isPlatformer(v1[141]); if ( (_BYTE)this ) return GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Enable Platformer\nSaves", 5, *((_BYTE *)v1[141] + 1528), "Force enable checkpoint saving on this level, even if auto-save is globally disabled."); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source