{"type": "func", "start": 7924056, "end": 7924248, "name": "EditorPauseLayer::FLAlert_Clicked", "pseudocode": "// \n// EditorPauseLayer::FLAlert_Clicked from 0x78e958 to 0x78ea18 (192 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorPauseLayer::FLAlert_Clicked @ 0x78ea1c\n// > <???> @ 0x44790\n// > <???> @ 0x1177bd8\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::FLAlert_Clicked(EditorPauseLayer *a1, FLAlertLayer *a2, bool a3)\n{\n  _BOOL4 v5; // w20\n\n  v5 = a3;\n  if ( a2->getTag(a2) == 1 && v5 )\n  {\n    EditorPauseLayer::onExitEditor(a1, nullptr);\n  }\n  else if ( a2->getTag(a2) == 2 && v5 )\n  {\n    EditorPauseLayer::doResetUnused(a1);\n  }\n  else if ( a2->getTag(a2) == 3 && v5 )\n  {\n    EditorPauseLayer::saveLevel(a1);\n  }\n}", "assembly": "; \n; EditorPauseLayer::FLAlert_Clicked from 0x78e958 to 0x78ea18 (192 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorPauseLayer::FLAlert_Clicked @ 0x78ea1c\n; > <???> @ 0x44790\n; > <???> @ 0x1177bd8\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x78e958\nMOV             X29, SP                                                ; +0x4, 0x78e95c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x78e960\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x78e964\nMOV             X19, X1                                                ; +0x10, 0x78e968\nMOV             X21, X0                                                ; +0x14, 0x78e96c\nMOV             X0, X1                                                 ; +0x18, 0x78e970\nLDR             X1, [X1]                                               ; +0x1c, 0x78e974\nUXTB            W20, W2                                                ; +0x20, 0x78e978\nLDR             X1, [X1,#0x40]                                         ; +0x24, 0x78e97c\nBLR             X1                                                     ; +0x28, 0x78e980\nCMP             W0, #1                                                 ; +0x2c, 0x78e984\nB.NE            loc_78E9A8                                             ; +0x30, 0x78e988\nCBZ             W20, loc_78E9A8                                        ; +0x34, 0x78e98c\nMOV             X0, X21; this                                          ; +0x38, 0x78e990\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x3c, 0x78e994\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x40, 0x78e998\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x44, 0x78e99c\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x48, 0x78e9a0\nB               _ZN16EditorPauseLayer12onExitEditorEPN7cocos2d8CCObjectE; EditorPauseLayer::onExitEditor(cocos2d::CCObject *) ; +0x4c, 0x78e9a4\nLDR             X1, [X19]                                              ; +0x50, 0x78e9a8\nMOV             X0, X19                                                ; +0x54, 0x78e9ac\nLDR             X1, [X1,#0x40]                                         ; +0x58, 0x78e9b0\nBLR             X1                                                     ; +0x5c, 0x78e9b4\nCMP             W0, #2                                                 ; +0x60, 0x78e9b8\nB.NE            loc_78E9D8                                             ; +0x64, 0x78e9bc\nCBZ             W20, loc_78E9D8                                        ; +0x68, 0x78e9c0\nMOV             X0, X21; this                                          ; +0x6c, 0x78e9c4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x70, 0x78e9c8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x74, 0x78e9cc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x78e9d0\nB               _ZN16EditorPauseLayer13doResetUnusedEv; EditorPauseLayer::doResetUnused(void) ; +0x7c, 0x78e9d4\nLDR             X1, [X19]                                              ; +0x80, 0x78e9d8\nMOV             X0, X19                                                ; +0x84, 0x78e9dc\nLDR             X1, [X1,#0x40]                                         ; +0x88, 0x78e9e0\nBLR             X1                                                     ; +0x8c, 0x78e9e4\nCMP             W0, #3                                                 ; +0x90, 0x78e9e8\nB.NE            loc_78EA08                                             ; +0x94, 0x78e9ec\nCBZ             W20, loc_78EA08                                        ; +0x98, 0x78e9f0\nMOV             X0, X21; this                                          ; +0x9c, 0x78e9f4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xa0, 0x78e9f8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xa4, 0x78e9fc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xa8, 0x78ea00\nB               _ZN16EditorPauseLayer9saveLevelEv; EditorPauseLayer::saveLevel(void) ; +0xac, 0x78ea04\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xb0, 0x78ea08\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xb4, 0x78ea0c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xb8, 0x78ea10\nRET                                                                    ; +0xbc, 0x78ea14", "xrefs": ["`non-virtual thunk to'EditorPauseLayer::FLAlert_Clicked @ 0x78ea1c", "<???> @ 0x44790", "<???> @ 0x1177bd8"], "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"}