{"type": "func", "start": 5370757008, "end": 5370757106, "name": "EditorUI::onDpadStep", "pseudocode": "// \n// EditorUI::onDpadStep from 0x1401f3f90 to 0x1401f3ff2 (98 bytes)\n// \n// 2 xrefs:\n// > EditorUI::createDpadMoveMenu @ 0x1401f3c1c\n// > <???> @ 0x14091aa44\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:09 +0000\n// \n\nvoid __fastcall EditorUI::onDpadStep(__int64 a1, __int64 a2)\n{\n  unsigned int v3; // edi\n  __int64 v4; // rax\n\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  if ( v3 == 2 && *(_DWORD *)(a1 + 1672) == 2 )\n  {\n    EditorUI::toggleWindow((_QWORD *)a1, 5);\n  }\n  else\n  {\n    v4 = EditorSFXManager::sharedState();\n    EditorSFXManager::playAction(v4, 189);\n    EditorUI::setDpadStep(a1, v3);\n  }\n}", "assembly": "; \n; EditorUI::onDpadStep from 0x1401f3f90 to 0x1401f3ff2 (98 bytes)\n; \n; 2 xrefs:\n; > EditorUI::createDpadMoveMenu @ 0x1401f3c1c\n; > <???> @ 0x14091aa44\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:09 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401f3f90\npush    rdi                                                            ; +0x5, 0x1401f3f95\nsub     rsp, 20h                                                       ; +0x6, 0x1401f3f96\nmov     rax, [rdx]                                                     ; +0xa, 0x1401f3f9a\nmov     rbx, rcx                                                       ; +0xd, 0x1401f3f9d\nmov     rcx, rdx                                                       ; +0x10, 0x1401f3fa0\ncall    qword ptr [rax+38h]                                            ; +0x13, 0x1401f3fa3\nmov     edi, eax                                                       ; +0x16, 0x1401f3fa6\ncmp     eax, 2                                                         ; +0x18, 0x1401f3fa8\njnz     short loc_1401F3FCC                                            ; +0x1b, 0x1401f3fab\ncmp     [rbx+688h], eax                                                ; +0x1d, 0x1401f3fad\njnz     short loc_1401F3FCC                                            ; +0x23, 0x1401f3fb3\nmov     edx, 5                                                         ; +0x25, 0x1401f3fb5\nmov     rcx, rbx                                                       ; +0x2a, 0x1401f3fba\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2d, 0x1401f3fbd\nadd     rsp, 20h                                                       ; +0x32, 0x1401f3fc2\npop     rdi                                                            ; +0x36, 0x1401f3fc6\njmp     EditorUI__toggleWindow                                         ; +0x37, 0x1401f3fc7\ncall    EditorSFXManager__sharedState                                  ; +0x3c, 0x1401f3fcc\nmov     rcx, rax                                                       ; +0x41, 0x1401f3fd1\nmov     edx, 0BDh                                                      ; +0x44, 0x1401f3fd4\ncall    EditorSFXManager__playAction                                   ; +0x49, 0x1401f3fd9\nmov     edx, edi                                                       ; +0x4e, 0x1401f3fde\nmov     rcx, rbx                                                       ; +0x50, 0x1401f3fe0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x53, 0x1401f3fe3\nadd     rsp, 20h                                                       ; +0x58, 0x1401f3fe8\npop     rdi                                                            ; +0x5c, 0x1401f3fec\njmp     EditorUI__setDpadStep                                          ; +0x5d, 0x1401f3fed", "xrefs": ["EditorUI::createDpadMoveMenu @ 0x1401f3c1c", "<???> @ 0x14091aa44"], "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"}