{"type": "func", "start": 4297670832, "end": 4297670903, "name": "EditorPauseLayer::toggleEditorGround", "pseudocode": "// \n// EditorPauseLayer::toggleEditorGround from 0x1002940b0 to 0x1002940f7 (71 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x100292f3f\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 __fastcall EditorPauseLayer::toggleEditorGround(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // rax\n  LevelEditorLayer *m_editorLayer; // rbx\n  GameManager *v4; // rax\n  bool GameVariable; // al\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0037\");\n  m_editorLayer = a1->m_editorLayer;\n  v4 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v4, \"0037\");\n  LevelEditorLayer::toggleGround(m_editorLayer, GameVariable);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorGround from 0x1002940b0 to 0x1002940f7 (71 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x100292f3f\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    rbp                                                            ; +0x0, 0x1002940b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002940b1\npush    r14                                                            ; +0x4, 0x1002940b4\npush    rbx                                                            ; +0x6, 0x1002940b6\nmov     rbx, rdi                                                       ; +0x7, 0x1002940b7\ncall    GameManager__sharedState                                       ; +0xa, 0x1002940ba\nlea     r14, a0037; \"0037\"                                             ; +0xf, 0x1002940bf\nmov     rdi, rax                                                       ; +0x16, 0x1002940c6\nmov     rsi, r14                                                       ; +0x19, 0x1002940c9\ncall    GameManager__toggleGameVariable                                ; +0x1c, 0x1002940cc\nmov     rbx, [rbx+248h]                                                ; +0x21, 0x1002940d1\ncall    GameManager__sharedState                                       ; +0x28, 0x1002940d8\nmov     rdi, rax                                                       ; +0x2d, 0x1002940dd\nmov     rsi, r14                                                       ; +0x30, 0x1002940e0\ncall    GameManager__getGameVariable                                   ; +0x33, 0x1002940e3\nmovzx   esi, al                                                        ; +0x38, 0x1002940e8\nmov     rdi, rbx                                                       ; +0x3b, 0x1002940eb\npop     rbx                                                            ; +0x3e, 0x1002940ee\npop     r14                                                            ; +0x3f, 0x1002940ef\npop     rbp                                                            ; +0x41, 0x1002940f1\njmp     LevelEditorLayer__toggleGround                                 ; +0x42, 0x1002940f2", "xrefs": ["EditorPauseLayer::customSetup @ 0x100292f3f"], "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"}