{"type": "func", "start": 4295176432, "end": 4295176616, "name": "EditorUI::FLAlert_Clicked", "pseudocode": "// \n// EditorUI::FLAlert_Clicked from 0x1000330f0 to 0x1000331a8 (184 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b0588\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  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 ( a3 )\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 ( a3 )\n      a1->m_editorLayer->m_level->m_unlimitedObjectsEnabled = 1;\n  }\n  else if ( a3 )\n  {\n    EditorUI::deselectAll(a1);\n    LevelEditorLayer::removeAllObjects(a1->m_editorLayer);\n  }\n}", "assembly": "; \n; EditorUI::FLAlert_Clicked from 0x1000330f0 to 0x1000331a8 (184 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b0588\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, 0x1000330f0\nmov     rbp, rsp                                                       ; +0x1, 0x1000330f1\npush    r15                                                            ; +0x4, 0x1000330f4\npush    r14                                                            ; +0x6, 0x1000330f6\npush    rbx                                                            ; +0x8, 0x1000330f8\npush    rax                                                            ; +0x9, 0x1000330f9\nmov     r14d, edx                                                      ; +0xa, 0x1000330fa\nmov     r15, rsi                                                       ; +0xd, 0x1000330fd\nmov     rbx, rdi                                                       ; +0x10, 0x100033100\nmov     rax, [rsi]                                                     ; +0x13, 0x100033103\nmov     rdi, rsi                                                       ; +0x16, 0x100033106\ncall    qword ptr [rax+40h]                                            ; +0x19, 0x100033109\ncmp     eax, 7Ah ; 'z'                                                 ; +0x1c, 0x10003310c\njnz     short loc_100033123                                            ; +0x1f, 0x10003310f\nmov     byte ptr [rbx+250h], 0                                         ; +0x21, 0x100033111\nadd     rsp, 8                                                         ; +0x28, 0x100033118\npop     rbx                                                            ; +0x2c, 0x10003311c\npop     r14                                                            ; +0x2d, 0x10003311d\npop     r15                                                            ; +0x2f, 0x10003311f\npop     rbp                                                            ; +0x31, 0x100033121\nretn                                                                   ; +0x32, 0x100033122\nmov     rax, [r15]                                                     ; +0x33, 0x100033123\nmov     rdi, r15                                                       ; +0x36, 0x100033126\ncall    qword ptr [rax+40h]                                            ; +0x39, 0x100033129\ncmp     eax, 7Dh ; '}'                                                 ; +0x3c, 0x10003312c\njnz     short loc_100033154                                            ; +0x3f, 0x10003312f\nmov     byte ptr [rbx+250h], 0                                         ; +0x41, 0x100033131\ntest    r14b, r14b                                                     ; +0x48, 0x100033138\njz      short loc_100033118                                            ; +0x4b, 0x10003313b\nmov     rax, [rbx+4E8h]                                                ; +0x4d, 0x10003313d\nmov     rax, [rax+790h]                                                ; +0x54, 0x100033144\nmov     byte ptr [rax+440h], 1                                         ; +0x5b, 0x10003314b\njmp     short loc_100033118                                            ; +0x62, 0x100033152\nmov     rax, [r15]                                                     ; +0x64, 0x100033154\nmov     rdi, r15                                                       ; +0x67, 0x100033157\ncall    qword ptr [rax+40h]                                            ; +0x6a, 0x10003315a\ncmp     eax, 7Eh ; '~'                                                 ; +0x6d, 0x10003315d\njnz     short loc_100033185                                            ; +0x70, 0x100033160\nmov     byte ptr [rbx+250h], 0                                         ; +0x72, 0x100033162\ntest    r14b, r14b                                                     ; +0x79, 0x100033169\njz      short loc_100033118                                            ; +0x7c, 0x10003316c\nmov     rax, [rbx+4E8h]                                                ; +0x7e, 0x10003316e\nmov     rax, [rax+790h]                                                ; +0x85, 0x100033175\nmov     byte ptr [rax+441h], 1                                         ; +0x8c, 0x10003317c\njmp     short loc_100033118                                            ; +0x93, 0x100033183\ntest    r14b, r14b                                                     ; +0x95, 0x100033185\njz      short loc_100033118                                            ; +0x98, 0x100033188\nmov     rdi, rbx                                                       ; +0x9a, 0x10003318a\ncall    EditorUI__deselectAll                                          ; +0x9d, 0x10003318d\nmov     rdi, [rbx+4E8h]                                                ; +0xa2, 0x100033192\nadd     rsp, 8                                                         ; +0xa9, 0x100033199\npop     rbx                                                            ; +0xad, 0x10003319d\npop     r14                                                            ; +0xae, 0x10003319e\npop     r15                                                            ; +0xb0, 0x1000331a0\npop     rbp                                                            ; +0xb2, 0x1000331a2\njmp     LevelEditorLayer__removeAllObjects                             ; +0xb3, 0x1000331a3", "xrefs": ["<???> @ 0x1008b0588"], "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"}