{"type": "func", "start": 5279712, "end": 5279756, "name": "EditorPauseLayer::toggleEditorGround", "pseudocode": "// \n// EditorPauseLayer::toggleEditorGround from 0x508fe0 to 0x50900c (44 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:26 +0000\n// \n\nint __fastcall EditorPauseLayer::toggleEditorGround(LevelEditorLayer **this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  GameManager *v4; // r0\n  LevelEditorLayer *v5; // r5\n  GameManager *v6; // r0\n  char GameVariable; // r1\n\n  v3 = (GameManager *)GameManager::sharedState((GameManager *)this);\n  v4 = (GameManager *)GameManager::toggleGameVariable(v3, \"0037\");\n  v5 = *(this + 114);\n  v6 = (GameManager *)GameManager::sharedState(v4);\n  GameVariable = GameManager::getGameVariable(v6, \"0037\");\n  return LevelEditorLayer::toggleGround(v5, GameVariable);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorGround from 0x508fe0 to 0x50900c (44 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:26 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x508fe0\nMOV             R5, R0                                                 ; +0x2, 0x508fe2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x508fe4\nLDR             R4, =(a0037 - 0x508FEE); \"0037\"                        ; +0x8, 0x508fe8\nADD             R4, PC; \"0037\"                                         ; +0xa, 0x508fea\nMOV             R1, R4; char *                                         ; +0xc, 0x508fec\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xe, 0x508fee\nLDR.W           R5, [R5,#0x1C8]                                        ; +0x12, 0x508ff2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x16, 0x508ff6\nMOV             R1, R4; char *                                         ; +0x1a, 0x508ffa\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1c, 0x508ffc\nMOV             R1, R0; bool                                           ; +0x20, 0x509000\nMOV             R0, R5; this                                           ; +0x22, 0x509002\nPOP.W           {R3-R5,LR}                                             ; +0x24, 0x509004\nB.W             _ZN16LevelEditorLayer12toggleGroundEb; LevelEditorLayer::toggleGround(bool) ; +0x28, 0x509008", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}