{"type": "func", "start": 5370280864, "end": 5370281058, "name": "EditorWindowPopup::handleAction", "pseudocode": "// \n// EditorWindowPopup::handleAction from 0x14017fba0 to 0x14017fc62 (194 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x140733328\n// > <???> @ 0x1407333e8\n// > <???> @ 0x140748e90\n// > <???> @ 0x14074a158\n// > <???> @ 0x140766438\n// > <???> @ 0x140767058\n// > <???> @ 0x140918b18\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 11:27:36 +0000\n// \n\nchar __fastcall EditorWindowPopup::handleAction(__int64 a1, unsigned int a2, unsigned __int8 a3)\n{\n  __int64 v3; // rbx\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n\n  v3 = a1 - 344;\n  if ( !*(_BYTE *)(a1 + 735) )\n  {\n    v7 = qword_140909788;\n    if ( !qword_140909788 )\n    {\nLABEL_5:\n      v8 = *(_QWORD *)(a1 + 656);\n      if ( v8 )\n        return (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)(v8 + 344) + 16LL))(v8 + 344, a2, a3);\n      else\n        return 0;\n    }\n    while ( v7 != v3 )\n    {\n      v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 504LL))(v7);\n      if ( !v7 )\n        goto LABEL_5;\n    }\n  }\n  *(_BYTE *)(a1 + 735) = 0;\n  if ( a3 )\n  {\n    if ( a2 == 20067 )\n      EditorWindowPopup::blurField(v3);\n    else\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1216LL))(v3);\n  }\n  return 1;\n}", "assembly": "; \n; EditorWindowPopup::handleAction from 0x14017fba0 to 0x14017fc62 (194 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x140733328\n; > <???> @ 0x1407333e8\n; > <???> @ 0x140748e90\n; > <???> @ 0x14074a158\n; > <???> @ 0x140766438\n; > <???> @ 0x140767058\n; > <???> @ 0x140918b18\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 11:27:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14017fba0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14017fba5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x14017fbaa\npush    rdi                                                            ; +0xf, 0x14017fbaf\nsub     rsp, 30h                                                       ; +0x10, 0x14017fbb0\ncmp     byte ptr [rcx+2DFh], 0                                         ; +0x14, 0x14017fbb4\nlea     rbx, [rcx-158h]                                                ; +0x1b, 0x14017fbbb\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x22, 0x14017fbc2\nmovzx   ebp, r8b                                                       ; +0x27, 0x14017fbc7\nmovaps  xmm6, xmm3                                                     ; +0x2b, 0x14017fbcb\nmov     esi, edx                                                       ; +0x2e, 0x14017fbce\nmov     rdi, rcx                                                       ; +0x30, 0x14017fbd0\njnz     short loc_14017FC1F                                            ; +0x33, 0x14017fbd3\nmov     rcx, cs:qword_140909788                                        ; +0x35, 0x14017fbd5\ntest    rcx, rcx                                                       ; +0x3c, 0x14017fbdc\njz      short loc_14017FBF7                                            ; +0x3f, 0x14017fbdf\ncmp     rcx, rbx                                                       ; +0x41, 0x14017fbe1\njz      short loc_14017FC1F                                            ; +0x44, 0x14017fbe4\nmov     rax, [rcx]                                                     ; +0x46, 0x14017fbe6\ncall    qword ptr [rax+1F8h]                                           ; +0x49, 0x14017fbe9\nmov     rcx, rax                                                       ; +0x4f, 0x14017fbef\ntest    rax, rax                                                       ; +0x52, 0x14017fbf2\njnz     short loc_14017FBE1                                            ; +0x55, 0x14017fbf5\nmov     rcx, [rdi+290h]                                                ; +0x57, 0x14017fbf7\ntest    rcx, rcx                                                       ; +0x5e, 0x14017fbfe\njz      short loc_14017FC1B                                            ; +0x61, 0x14017fc01\nadd     rcx, 158h                                                      ; +0x63, 0x14017fc03\nmovaps  xmm3, xmm6                                                     ; +0x6a, 0x14017fc0a\nmovzx   r8d, bpl                                                       ; +0x6d, 0x14017fc0d\nmov     edx, esi                                                       ; +0x71, 0x14017fc11\nmov     rax, [rcx]                                                     ; +0x73, 0x14017fc13\ncall    qword ptr [rax+10h]                                            ; +0x76, 0x14017fc16\njmp     short loc_14017FC48                                            ; +0x79, 0x14017fc19\nxor     al, al                                                         ; +0x7b, 0x14017fc1b\njmp     short loc_14017FC48                                            ; +0x7d, 0x14017fc1d\nmov     byte ptr [rdi+2DFh], 0                                         ; +0x7f, 0x14017fc1f\ntest    bpl, bpl                                                       ; +0x86, 0x14017fc26\njz      short loc_14017FC46                                            ; +0x89, 0x14017fc29\nmov     rcx, rbx                                                       ; +0x8b, 0x14017fc2b\ncmp     esi, 4E63h                                                     ; +0x8e, 0x14017fc2e\njnz     short loc_14017FC3D                                            ; +0x94, 0x14017fc34\ncall    EditorWindowPopup__blurField                                   ; +0x96, 0x14017fc36\njmp     short loc_14017FC46                                            ; +0x9b, 0x14017fc3b\nmov     rax, [rbx]                                                     ; +0x9d, 0x14017fc3d\ncall    qword ptr [rax+4C0h]                                           ; +0xa0, 0x14017fc40\nmov     al, 1                                                          ; +0xa6, 0x14017fc46\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xa8, 0x14017fc48\nmov     rbp, [rsp+38h+arg_8]                                           ; +0xad, 0x14017fc4d\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xb2, 0x14017fc52\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb7, 0x14017fc57\nadd     rsp, 30h                                                       ; +0xbc, 0x14017fc5c\npop     rdi                                                            ; +0xc0, 0x14017fc60\nretn                                                                   ; +0xc1, 0x14017fc61", "xrefs": ["<???> @ 0x140733328", "<???> @ 0x1407333e8", "<???> @ 0x140748e90", "<???> @ 0x14074a158", "<???> @ 0x140766438", "<???> @ 0x140767058", "<???> @ 0x140918b18"], "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"}