{"type": "func", "start": 4297671120, "end": 4297671145, "name": "EditorPauseLayer::toggleDebugDraw", "pseudocode": "// \n// EditorPauseLayer::toggleDebugDraw from 0x1002941d0 to 0x1002941e9 (25 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x1002934d7\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::toggleDebugDraw(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // rax\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0045\");\n}", "assembly": "; \n; EditorPauseLayer::toggleDebugDraw from 0x1002941d0 to 0x1002941e9 (25 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x1002934d7\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, 0x1002941d0\nmov     rbp, rsp                                                       ; +0x1, 0x1002941d1\ncall    GameManager__sharedState                                       ; +0x4, 0x1002941d4\nlea     rsi, a0045; \"0045\"                                             ; +0x9, 0x1002941d9\nmov     rdi, rax                                                       ; +0x10, 0x1002941e0\npop     rbp                                                            ; +0x13, 0x1002941e3\njmp     GameManager__toggleGameVariable                                ; +0x14, 0x1002941e4", "xrefs": ["EditorPauseLayer::customSetup @ 0x1002934d7"], "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"}