{"type": "func", "start": 4295033200, "end": 4295033421, "name": "EditorUI::FLAlert_Clicked", "pseudocode": "// \n// EditorUI::FLAlert_Clicked from 0x100010170 to 0x10001024d (221 bytes)\n// \n// 2 xrefs:\n// > sub_100010250 @ 0x10001025c\n// > <???> @ 0x100ab50b0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:18:51 +0000\n// \n\n__int64 __fastcall EditorUI::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 result; // rax\n  _DWORD *v6; // rdi\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (_DWORD)result == 122 )\n  {\n    *(_BYTE *)(a1 + 632) = 0;\n  }\n  else\n  {\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n    if ( (_DWORD)result == 125 )\n    {\n      *(_BYTE *)(a1 + 632) = 0;\n      if ( a3 )\n      {\n        result = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 1936LL);\n        *(_BYTE *)(result + 1200) = 1;\n      }\n    }\n    else\n    {\n      result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n      if ( (_DWORD)result == 126 )\n      {\n        *(_BYTE *)(a1 + 632) = 0;\n        if ( a3 )\n        {\n          result = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 1936LL);\n          *(_BYTE *)(result + 1201) = 1;\n        }\n      }\n      else if ( a3 )\n      {\n        EditorUI::deselectAll(a1);\n        v6 = *(_DWORD **)(a1 + 1440);\n        v6[3678] += v6[3568] - v6[3569];\n        EditorBuildStats::noteAction(v6 + 3676);\n        return LevelEditorLayer::removeAllObjects(*(_QWORD *)(a1 + 1440));\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::FLAlert_Clicked from 0x100010170 to 0x10001024d (221 bytes)\n; \n; 2 xrefs:\n; > sub_100010250 @ 0x10001025c\n; > <???> @ 0x100ab50b0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:18:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x100010170\nmov     rbp, rsp                                                       ; +0x1, 0x100010171\npush    r15                                                            ; +0x4, 0x100010174\npush    r14                                                            ; +0x6, 0x100010176\npush    rbx                                                            ; +0x8, 0x100010178\npush    rax                                                            ; +0x9, 0x100010179\nmov     r14d, edx                                                      ; +0xa, 0x10001017a\nmov     r15, rsi                                                       ; +0xd, 0x10001017d\nmov     rbx, rdi                                                       ; +0x10, 0x100010180\nmov     rax, [rsi]                                                     ; +0x13, 0x100010183\nmov     rdi, rsi                                                       ; +0x16, 0x100010186\ncall    qword ptr [rax+40h]                                            ; +0x19, 0x100010189\ncmp     eax, 7Ah ; 'z'                                                 ; +0x1c, 0x10001018c\njnz     short loc_1000101A3                                            ; +0x1f, 0x10001018f\nmov     byte ptr [rbx+278h], 0                                         ; +0x21, 0x100010191\nadd     rsp, 8                                                         ; +0x28, 0x100010198\npop     rbx                                                            ; +0x2c, 0x10001019c\npop     r14                                                            ; +0x2d, 0x10001019d\npop     r15                                                            ; +0x2f, 0x10001019f\npop     rbp                                                            ; +0x31, 0x1000101a1\nretn                                                                   ; +0x32, 0x1000101a2\nmov     rax, [r15]                                                     ; +0x33, 0x1000101a3\nmov     rdi, r15                                                       ; +0x36, 0x1000101a6\ncall    qword ptr [rax+40h]                                            ; +0x39, 0x1000101a9\ncmp     eax, 7Dh ; '}'                                                 ; +0x3c, 0x1000101ac\njnz     short loc_1000101D4                                            ; +0x3f, 0x1000101af\nmov     byte ptr [rbx+278h], 0                                         ; +0x41, 0x1000101b1\ntest    r14b, r14b                                                     ; +0x48, 0x1000101b8\njz      short loc_100010198                                            ; +0x4b, 0x1000101bb\nmov     rax, [rbx+5A0h]                                                ; +0x4d, 0x1000101bd\nmov     rax, [rax+790h]                                                ; +0x54, 0x1000101c4\nmov     byte ptr [rax+4B0h], 1                                         ; +0x5b, 0x1000101cb\njmp     short loc_100010198                                            ; +0x62, 0x1000101d2\nmov     rax, [r15]                                                     ; +0x64, 0x1000101d4\nmov     rdi, r15                                                       ; +0x67, 0x1000101d7\ncall    qword ptr [rax+40h]                                            ; +0x6a, 0x1000101da\ncmp     eax, 7Eh ; '~'                                                 ; +0x6d, 0x1000101dd\njnz     short loc_100010205                                            ; +0x70, 0x1000101e0\nmov     byte ptr [rbx+278h], 0                                         ; +0x72, 0x1000101e2\ntest    r14b, r14b                                                     ; +0x79, 0x1000101e9\njz      short loc_100010198                                            ; +0x7c, 0x1000101ec\nmov     rax, [rbx+5A0h]                                                ; +0x7e, 0x1000101ee\nmov     rax, [rax+790h]                                                ; +0x85, 0x1000101f5\nmov     byte ptr [rax+4B1h], 1                                         ; +0x8c, 0x1000101fc\njmp     short loc_100010198                                            ; +0x93, 0x100010203\ntest    r14b, r14b                                                     ; +0x95, 0x100010205\njz      short loc_100010198                                            ; +0x98, 0x100010208\nmov     rdi, rbx                                                       ; +0x9a, 0x10001020a\ncall    EditorUI__deselectAll                                          ; +0x9d, 0x10001020d\nmov     rdi, [rbx+5A0h]                                                ; +0xa2, 0x100010212\nmov     eax, [rdi+37C0h]                                               ; +0xa9, 0x100010219\nsub     eax, [rdi+37C4h]                                               ; +0xaf, 0x10001021f\nadd     [rdi+3978h], eax                                               ; +0xb5, 0x100010225\nadd     rdi, 3970h                                                     ; +0xbb, 0x10001022b\ncall    EditorBuildStats__noteAction                                   ; +0xc2, 0x100010232\nmov     rdi, [rbx+5A0h]                                                ; +0xc7, 0x100010237\nadd     rsp, 8                                                         ; +0xce, 0x10001023e\npop     rbx                                                            ; +0xd2, 0x100010242\npop     r14                                                            ; +0xd3, 0x100010243\npop     r15                                                            ; +0xd5, 0x100010245\npop     rbp                                                            ; +0xd7, 0x100010247\njmp     LevelEditorLayer__removeAllObjects                             ; +0xd8, 0x100010248", "xrefs": ["sub_100010250 @ 0x10001025c", "<???> @ 0x100ab50b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}