// // GameLevelOptionsLayer::setupOptions from 0x5e25d0 to 0x5e2684 (180 bytes) // // 0 xrefs: // // 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:54:16 +0000 // cocos2d::CCNodeRGBA *__fastcall GameLevelOptionsLayer::setupOptions(cocos2d::CCNodeRGBA *this) { GJGameLevel **v1; // r4 int v2; // r3 cocos2d::CCNodeRGBA *v3; // r6 cocos2d::CCNodeRGBA *v4; // r0 v1 = (GJGameLevel **)this; v2 = *((_DWORD *)this + 196); if ( v2 ) { *((_BYTE *)GJOptionsLayer::addToggle( this, "Low Detail Mode", 1, *(unsigned __int8 *)(v2 + 593), (const char *)&unk_B6B226) + 309) = 1; GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Disable Shake", 2, *((unsigned __int8 *)v1[196] + 594), (const char *)&unk_B6B226); v3 = GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Enable CBS", 3, *((_DWORD *)v1[196] + 282) == 1, "Force enable Click Between Steps on this level regardless of the global setting."); v4 = GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Disable CBS", 4, *((_DWORD *)v1[196] + 282) == 2, "Force disable Click Between Steps on this level regardless of the global setting."); *((_BYTE *)v3 + 309) = 1; *((_BYTE *)v4 + 309) = 1; this = (cocos2d::CCNodeRGBA *)GJGameLevel::isPlatformer(v1[196]); if ( this ) return GJOptionsLayer::addToggle( (GJOptionsLayer *)v1, "Enable Platformer\nSaves", 5, *((unsigned __int8 *)v1[196] + 1180), "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