{"type": "func", "start": 4300054364, "end": 4300054504, "name": "EditorWindowPopup::touchIsOnField", "pseudocode": "// \n// EditorWindowPopup::touchIsOnField from 0x1004d9f5c to 0x1004d9fe8 (140 bytes)\n// \n// 1 xrefs:\n// > sub_1004DA128 @ 0x1004da17c\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::touchIsOnField(__int64 a1, double *a2)\n{\n  __int64 v2; // x8\n  __int64 v3; // x21\n  __int64 v5; // x20\n  __n128 v6; // q0\n  __int64 v8; // [xsp+8h] [xbp-28h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 760);\n  if ( !v2 )\n    return 0;\n  v3 = *(_QWORD *)(v2 + 56);\n  if ( !v3 )\n    return 0;\n  while ( 1 )\n  {\n    v5 = *(_QWORD *)(v3 + 264);\n    v3 = *(_QWORD *)(v3 + 288);\n    if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v5 + 352LL))(v5) )\n    {\n      v6.n128_f64[0] = sub_1000262F4(&v8, a2);\n      if ( CCTextInputNode::containsTouchPoint(v5, (__int64)&v8, v6) )\n        break;\n    }\n    if ( !v3 )\n      return 0;\n  }\n  return 1;\n}", "assembly": "; \n; EditorWindowPopup::touchIsOnField from 0x1004d9f5c to 0x1004d9fe8 (140 bytes)\n; \n; 1 xrefs:\n; > sub_1004DA128 @ 0x1004da17c\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; \nLDR             X8, [X0,#0x2F8]                                        ; +0x0, 0x1004d9f5c\nCBZ             X8, loc_1004D9FC8                                      ; +0x4, 0x1004d9f60\nSUB             SP, SP, #0x40                                          ; +0x8, 0x1004d9f64\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0xc, 0x1004d9f68\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x10, 0x1004d9f6c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x14, 0x1004d9f70\nADD             X29, SP, #0x30                                         ; +0x18, 0x1004d9f74\nLDR             X21, [X8,#0x38]                                        ; +0x1c, 0x1004d9f78\nCBZ             X21, loc_1004D9FC0                                     ; +0x20, 0x1004d9f7c\nMOV             X19, X1                                                ; +0x24, 0x1004d9f80\nLDR             X20, [X21,#0x108]                                      ; +0x28, 0x1004d9f84\nLDR             X21, [X21,#0x120]                                      ; +0x2c, 0x1004d9f88\nLDR             X8, [X20]                                              ; +0x30, 0x1004d9f8c\nLDR             X8, [X8,#0x160]                                        ; +0x34, 0x1004d9f90\nMOV             X0, X20                                                ; +0x38, 0x1004d9f94\nBLR             X8                                                     ; +0x3c, 0x1004d9f98\nCBZ             W0, loc_1004D9FBC                                      ; +0x40, 0x1004d9f9c\nADD             X0, SP, #0x30+var_28                                   ; +0x44, 0x1004d9fa0\nMOV             X1, X19                                                ; +0x48, 0x1004d9fa4\nBL              sub_1000262F4                                          ; +0x4c, 0x1004d9fa8\nADD             X1, SP, #0x30+var_28                                   ; +0x50, 0x1004d9fac\nMOV             X0, X20                                                ; +0x54, 0x1004d9fb0\nBL              CCTextInputNode__containsTouchPoint                    ; +0x58, 0x1004d9fb4\nTBNZ            W0, #0, loc_1004D9FD0                                  ; +0x5c, 0x1004d9fb8\nCBNZ            X21, loc_1004D9F84                                     ; +0x60, 0x1004d9fbc\nMOV             W0, #0                                                 ; +0x64, 0x1004d9fc0\nB               loc_1004D9FD4                                          ; +0x68, 0x1004d9fc4\nMOV             W0, #0                                                 ; +0x6c, 0x1004d9fc8\nRET                                                                    ; +0x70, 0x1004d9fcc\nMOV             W0, #1                                                 ; +0x74, 0x1004d9fd0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x1004d9fd4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x1004d9fd8\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x80, 0x1004d9fdc\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x1004d9fe0\nRET                                                                    ; +0x88, 0x1004d9fe4", "xrefs": ["sub_1004DA128 @ 0x1004da17c"], "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"}