{"type": "func", "start": 4299070892, "end": 4299071100, "name": "EditorUI::FLAlert_Clicked", "pseudocode": "// \n// EditorUI::FLAlert_Clicked from 0x1003e9dac to 0x1003e9e7c (208 bytes)\n// \n// 2 xrefs:\n// > sub_1003E9E7C @ 0x1003e9e80\n// > <???> @ 0x100813fc8\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 EditorUI::FLAlert_Clicked(EditorUI *a1, FLAlertLayer *a2, bool a3)\n{\n  _BOOL4 v3; // w20\n\n  v3 = a3;\n  if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 122 )\n  {\n    a1->m_alertShown = 0;\n  }\n  else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 125 )\n  {\n    a1->m_alertShown = 0;\n    if ( v3 )\n      a1->m_editorLayer->m_level->m_highObjectsEnabled = 1;\n  }\n  else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 126 )\n  {\n    a1->m_alertShown = 0;\n    if ( v3 )\n      a1->m_editorLayer->m_level->m_unlimitedObjectsEnabled = 1;\n  }\n  else if ( v3 )\n  {\n    EditorUI::deselectAll(a1);\n    LevelEditorLayer::removeAllObjects(a1->m_editorLayer);\n  }\n}", "assembly": "; \n; EditorUI::FLAlert_Clicked from 0x1003e9dac to 0x1003e9e7c (208 bytes)\n; \n; 2 xrefs:\n; > sub_1003E9E7C @ 0x1003e9e80\n; > <???> @ 0x100813fc8\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003e9dac\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003e9db0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003e9db4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003e9db8\nMOV             X20, X2                                                ; +0x10, 0x1003e9dbc\nMOV             X21, X1                                                ; +0x14, 0x1003e9dc0\nMOV             X19, X0                                                ; +0x18, 0x1003e9dc4\nLDR             X8, [X1]                                               ; +0x1c, 0x1003e9dc8\nLDR             X8, [X8,#0x40]                                         ; +0x20, 0x1003e9dcc\nMOV             X0, X1                                                 ; +0x24, 0x1003e9dd0\nBLR             X8                                                     ; +0x28, 0x1003e9dd4\nCMP             W0, #0x7A ; 'z'                                        ; +0x2c, 0x1003e9dd8\nB.NE            loc_1003E9DF4                                          ; +0x30, 0x1003e9ddc\nSTRB            WZR, [X19,#0x250]                                      ; +0x34, 0x1003e9de0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x38, 0x1003e9de4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x3c, 0x1003e9de8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x40, 0x1003e9dec\nRET                                                                    ; +0x44, 0x1003e9df0\nLDR             X8, [X21]                                              ; +0x48, 0x1003e9df4\nLDR             X8, [X8,#0x40]                                         ; +0x4c, 0x1003e9df8\nMOV             X0, X21                                                ; +0x50, 0x1003e9dfc\nBLR             X8                                                     ; +0x54, 0x1003e9e00\nCMP             W0, #0x7D ; '}'                                        ; +0x58, 0x1003e9e04\nB.NE            loc_1003E9E28                                          ; +0x5c, 0x1003e9e08\nSTRB            WZR, [X19,#0x250]                                      ; +0x60, 0x1003e9e0c\nCBZ             W20, loc_1003E9DE4                                     ; +0x64, 0x1003e9e10\nLDR             X8, [X19,#0x4E8]                                       ; +0x68, 0x1003e9e14\nLDR             X8, [X8,#0x790]                                        ; +0x6c, 0x1003e9e18\nMOV             W9, #1                                                 ; +0x70, 0x1003e9e1c\nSTRB            W9, [X8,#0x440]                                        ; +0x74, 0x1003e9e20\nB               loc_1003E9DE4                                          ; +0x78, 0x1003e9e24\nLDR             X8, [X21]                                              ; +0x7c, 0x1003e9e28\nLDR             X8, [X8,#0x40]                                         ; +0x80, 0x1003e9e2c\nMOV             X0, X21                                                ; +0x84, 0x1003e9e30\nBLR             X8                                                     ; +0x88, 0x1003e9e34\nCMP             W0, #0x7E ; '~'                                        ; +0x8c, 0x1003e9e38\nB.NE            loc_1003E9E5C                                          ; +0x90, 0x1003e9e3c\nSTRB            WZR, [X19,#0x250]                                      ; +0x94, 0x1003e9e40\nCBZ             W20, loc_1003E9DE4                                     ; +0x98, 0x1003e9e44\nLDR             X8, [X19,#0x4E8]                                       ; +0x9c, 0x1003e9e48\nLDR             X8, [X8,#0x790]                                        ; +0xa0, 0x1003e9e4c\nMOV             W9, #1                                                 ; +0xa4, 0x1003e9e50\nSTRB            W9, [X8,#0x441]                                        ; +0xa8, 0x1003e9e54\nB               loc_1003E9DE4                                          ; +0xac, 0x1003e9e58\nCBZ             W20, loc_1003E9DE4                                     ; +0xb0, 0x1003e9e5c\nMOV             X0, X19                                                ; +0xb4, 0x1003e9e60\nBL              EditorUI__deselectAll                                  ; +0xb8, 0x1003e9e64\nLDR             X0, [X19,#0x4E8]                                       ; +0xbc, 0x1003e9e68\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xc0, 0x1003e9e6c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xc4, 0x1003e9e70\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc8, 0x1003e9e74\nB               LevelEditorLayer__removeAllObjects                     ; +0xcc, 0x1003e9e78", "xrefs": ["sub_1003E9E7C @ 0x1003e9e80", "<???> @ 0x100813fc8"], "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"}