{"type": "func", "start": 4191304, "end": 4191348, "name": "EditorPauseLayer::toggleEditorGround", "pseudocode": "// \n// EditorPauseLayer::toggleEditorGround from 0x3ff448 to 0x3ff474 (44 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorPauseLayer::toggleEditorGround(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  LevelEditorLayer *m_editorLayer; // r5\n  GameManager *v5; // r0\n  bool GameVariable; // r1\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0037\");\n  m_editorLayer = a1->m_editorLayer;\n  v5 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v5, \"0037\");\n  LevelEditorLayer::toggleGround(m_editorLayer, GameVariable);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorGround from 0x3ff448 to 0x3ff474 (44 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3ff448\nMOV             R5, R0                                                 ; +0x2, 0x3ff44a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3ff44c\nLDR             R4, =(a0037 - 0x3FF456); \"0037\"                        ; +0x8, 0x3ff450\nADD             R4, PC; \"0037\"                                         ; +0xa, 0x3ff452\nMOV             R1, R4; char *                                         ; +0xc, 0x3ff454\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xe, 0x3ff456\nLDR.W           R5, [R5,#0x1CC]                                        ; +0x12, 0x3ff45a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x16, 0x3ff45e\nMOV             R1, R4; char *                                         ; +0x1a, 0x3ff462\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1c, 0x3ff464\nMOV             R1, R0; bool                                           ; +0x20, 0x3ff468\nMOV             R0, R5; this                                           ; +0x22, 0x3ff46a\nPOP.W           {R3-R5,LR}                                             ; +0x24, 0x3ff46c\nB.W             _ZN16LevelEditorLayer12toggleGroundEb; LevelEditorLayer::toggleGround(bool) ; +0x28, 0x3ff470", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}