{"type": "func", "start": 4300057236, "end": 4300057428, "name": "EditorWindowPopup::handleAction", "pseudocode": "// \n// EditorWindowPopup::handleAction from 0x1004daa94 to 0x1004dab54 (192 bytes)\n// \n// 7 xrefs:\n// > sub_1004DAB54 @ 0x1004dab58\n// > <???> @ 0x1009862f8\n// > <???> @ 0x10098bbf0\n// > <???> @ 0x10098c438\n// > <???> @ 0x100990f10\n// > <???> @ 0x100992340\n// > <???> @ 0x1009a7898\n// \n// This function is hookable on this platform (idp: arm, 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:06:33 +0000\n// \n\n__int64 __fastcall EditorWindowPopup::handleAction(__int64 a1, __int64 a2, __int64 a3, double a4)\n{\n  __int64 result; // x0\n\n  if ( (*(_BYTE *)(a1 + 1095) & 1) != 0 || qword_100A0F8F8 && sub_10034BDAC(a1, qword_100A0F8F8) )\n  {\n    *(_BYTE *)(a1 + 1095) = 0;\n    if ( (_DWORD)a3 )\n    {\n      if ( (_DWORD)a2 == 20067 )\n        EditorWindowPopup::blurField(a1);\n      else\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1528LL))(a1);\n    }\n    return 1;\n  }\n  else\n  {\n    result = *(_QWORD *)(a1 + 1016);\n    if ( result )\n      return (*(__int64 (__fastcall **)(__int64, __int64, __int64, double))(*(_QWORD *)result + 1312LL))(\n               result,\n               a2,\n               a3,\n               a4);\n  }\n  return result;\n}", "assembly": "; \n; EditorWindowPopup::handleAction from 0x1004daa94 to 0x1004dab54 (192 bytes)\n; \n; 7 xrefs:\n; > sub_1004DAB54 @ 0x1004dab58\n; > <???> @ 0x1009862f8\n; > <???> @ 0x10098bbf0\n; > <???> @ 0x10098c438\n; > <???> @ 0x100990f10\n; > <???> @ 0x100992340\n; > <???> @ 0x1009a7898\n; \n; This function is hookable on this platform (idp: arm, 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:06:33 +0000\n; \nSTP             D9, D8, [SP,#-0x10+var_30]!                            ; +0x0, 0x1004daa94\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1004daa98\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1004daa9c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1004daaa0\nADD             X29, SP, #0x30                                         ; +0x10, 0x1004daaa4\nMOV             X21, X2                                                ; +0x14, 0x1004daaa8\nMOV             X20, X1                                                ; +0x18, 0x1004daaac\nMOV             X19, X0                                                ; +0x1c, 0x1004daab0\nLDRB            W8, [X0,#0x447]                                        ; +0x20, 0x1004daab4\nTBNZ            W8, #0, loc_1004DAADC                                  ; +0x24, 0x1004daab8\nFMOV            D8, D0                                                 ; +0x28, 0x1004daabc\nADRL            X8, qword_100A0F8F8                                    ; +0x2c, 0x1004daac0\nLDR             X1, [X8]                                               ; +0x34, 0x1004daac8\nCBZ             X1, loc_1004DAAFC                                      ; +0x38, 0x1004daacc\nMOV             X0, X19                                                ; +0x3c, 0x1004daad0\nBL              sub_10034BDAC                                          ; +0x40, 0x1004daad4\nCBZ             W0, loc_1004DAAFC                                      ; +0x44, 0x1004daad8\nSTRB            WZR, [X19,#0x447]                                      ; +0x48, 0x1004daadc\nCBZ             W21, loc_1004DAB3C                                     ; +0x4c, 0x1004daae0\nMOV             W8, #0x4E63                                            ; +0x50, 0x1004daae4\nCMP             W20, W8                                                ; +0x54, 0x1004daae8\nB.NE            loc_1004DAB2C                                          ; +0x58, 0x1004daaec\nMOV             X0, X19                                                ; +0x5c, 0x1004daaf0\nBL              EditorWindowPopup__blurField                           ; +0x60, 0x1004daaf4\nB               loc_1004DAB3C                                          ; +0x64, 0x1004daaf8\nLDR             X0, [X19,#0x3F8]                                       ; +0x68, 0x1004daafc\nCBZ             X0, loc_1004DAB40                                      ; +0x6c, 0x1004dab00\nLDR             X8, [X0]                                               ; +0x70, 0x1004dab04\nLDR             X3, [X8,#0x520]                                        ; +0x74, 0x1004dab08\nMOV             X1, X20                                                ; +0x78, 0x1004dab0c\nMOV             X2, X21                                                ; +0x7c, 0x1004dab10\nFMOV            D0, D8                                                 ; +0x80, 0x1004dab14\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0x1004dab18\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0x1004dab1c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x8c, 0x1004dab20\nLDP             D9, D8, [SP+0x30+var_30],#0x40                         ; +0x90, 0x1004dab24\nBR              X3                                                     ; +0x94, 0x1004dab28\nLDR             X8, [X19]                                              ; +0x98, 0x1004dab2c\nLDR             X8, [X8,#0x5F8]                                        ; +0x9c, 0x1004dab30\nMOV             X0, X19                                                ; +0xa0, 0x1004dab34\nBLR             X8                                                     ; +0xa4, 0x1004dab38\nMOV             W0, #1                                                 ; +0xa8, 0x1004dab3c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xac, 0x1004dab40\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xb0, 0x1004dab44\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xb4, 0x1004dab48\nLDP             D9, D8, [SP+0x30+var_30],#0x40                         ; +0xb8, 0x1004dab4c\nRET                                                                    ; +0xbc, 0x1004dab50", "xrefs": ["sub_1004DAB54 @ 0x1004dab58", "<???> @ 0x1009862f8", "<???> @ 0x10098bbf0", "<???> @ 0x10098c438", "<???> @ 0x100990f10", "<???> @ 0x100992340", "<???> @ 0x1009a7898"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}