{"type": "func", "start": 5369619040, "end": 5369619103, "name": "EditorPauseLayer::onSaveAndExit", "pseudocode": "// \n// EditorPauseLayer::onSaveAndExit from 0x1400de260 to 0x1400de29f (63 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::customSetup @ 0x1400da6d0\n// > <???> @ 0x1406c8a84\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::onSaveAndExit(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCObject *v3; // rdx\n\n  if ( !a1->m_saved )\n  {\n    a1->setKeypadEnabled(a1, 0);\n    a1->m_saved = 1;\n    EditorPauseLayer::saveLevel(a1);\n    EditorPauseLayer::onExitEditor(a1, v3);\n  }\n}", "assembly": "; \n; EditorPauseLayer::onSaveAndExit from 0x1400de260 to 0x1400de29f (63 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::customSetup @ 0x1400da6d0\n; > <???> @ 0x1406c8a84\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    rbx                                                            ; +0x0, 0x1400de260\nsub     rsp, 20h                                                       ; +0x2, 0x1400de262\ncmp     byte ptr [rcx+230h], 0                                         ; +0x6, 0x1400de266\nmov     rbx, rcx                                                       ; +0xd, 0x1400de26d\njnz     short loc_1400DE299                                            ; +0x10, 0x1400de270\nmov     rax, [rcx]                                                     ; +0x12, 0x1400de272\nxor     edx, edx                                                       ; +0x15, 0x1400de275\ncall    qword ptr [rax+3D0h]                                           ; +0x17, 0x1400de277\nmov     rcx, rbx                                                       ; +0x1d, 0x1400de27d\nmov     byte ptr [rbx+230h], 1                                         ; +0x20, 0x1400de280\ncall    EditorPauseLayer__saveLevel                                    ; +0x27, 0x1400de287\nmov     rcx, rbx                                                       ; +0x2c, 0x1400de28c\nadd     rsp, 20h                                                       ; +0x2f, 0x1400de28f\npop     rbx                                                            ; +0x33, 0x1400de293\njmp     EditorPauseLayer__onExitEditor                                 ; +0x34, 0x1400de294\nadd     rsp, 20h                                                       ; +0x39, 0x1400de299\npop     rbx                                                            ; +0x3d, 0x1400de29d\nretn                                                                   ; +0x3e, 0x1400de29e", "xrefs": ["EditorPauseLayer::customSetup @ 0x1400da6d0", "<???> @ 0x1406c8a84"], "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"}