{"type": "func", "start": 5370753520, "end": 5370753603, "name": "DpadMenu::ccTouchMoved", "pseudocode": "// \n// DpadMenu::ccTouchMoved from 0x1401f31f0 to 0x1401f3243 (83 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140752cc0\n// > <???> @ 0x14091a9f0\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:28:08 +0000\n// \n\n__int64 __fastcall DpadMenu::ccTouchMoved(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rcx\n  __int64 v5; // rbx\n\n  result = DpadMenu::arrowForTouch(a1 - 320, a2);\n  v4 = *(_QWORD *)(a1 + 120);\n  v5 = result;\n  if ( result != v4 )\n  {\n    if ( v4 )\n      result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 904LL))(v4);\n    *(_QWORD *)(a1 + 120) = v5;\n    if ( v5 )\n      return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 896LL))(v5);\n  }\n  return result;\n}", "assembly": "; \n; DpadMenu::ccTouchMoved from 0x1401f31f0 to 0x1401f3243 (83 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140752cc0\n; > <???> @ 0x14091a9f0\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:28:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401f31f0\npush    rdi                                                            ; +0x5, 0x1401f31f5\nsub     rsp, 20h                                                       ; +0x6, 0x1401f31f6\nmov     rdi, rcx                                                       ; +0xa, 0x1401f31fa\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0xd, 0x1401f31fd\ncall    DpadMenu__arrowForTouch                                        ; +0x14, 0x1401f3204\nmov     rcx, [rdi+78h]                                                 ; +0x19, 0x1401f3209\nmov     rbx, rax                                                       ; +0x1d, 0x1401f320d\ncmp     rax, rcx                                                       ; +0x20, 0x1401f3210\njz      short loc_1401F3238                                            ; +0x23, 0x1401f3213\ntest    rcx, rcx                                                       ; +0x25, 0x1401f3215\njz      short loc_1401F3223                                            ; +0x28, 0x1401f3218\nmov     rdx, [rcx]                                                     ; +0x2a, 0x1401f321a\ncall    qword ptr [rdx+388h]                                           ; +0x2d, 0x1401f321d\nmov     [rdi+78h], rbx                                                 ; +0x33, 0x1401f3223\ntest    rbx, rbx                                                       ; +0x37, 0x1401f3227\njz      short loc_1401F3238                                            ; +0x3a, 0x1401f322a\nmov     rax, [rbx]                                                     ; +0x3c, 0x1401f322c\nmov     rcx, rbx                                                       ; +0x3f, 0x1401f322f\ncall    qword ptr [rax+380h]                                           ; +0x42, 0x1401f3232\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x1401f3238\nadd     rsp, 20h                                                       ; +0x4d, 0x1401f323d\npop     rdi                                                            ; +0x51, 0x1401f3241\nretn                                                                   ; +0x52, 0x1401f3242", "xrefs": ["<???> @ 0x140752cc0", "<???> @ 0x14091a9f0"], "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"}