{"type": "func", "start": 4301500256, "end": 4301500377, "name": "EditorUI::onDpadStep", "pseudocode": "// \n// EditorUI::onDpadStep from 0x10063af60 to 0x10063afd9 (121 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createDpadMoveMenu @ 0x10063abac\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 12:34:40 +0000\n// \n\nvoid __fastcall EditorUI::onDpadStep(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // eax\n  unsigned int v3; // r14d\n  __int64 v4; // rax\n  __int64 v5; // rax\n\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( v2 == 2 )\n  {\n    if ( *(_DWORD *)(a1 + 1600) == 2 )\n    {\n      EditorUI::toggleWindow(a1, 5);\n    }\n    else\n    {\n      v5 = EditorSFXManager::sharedState(a2);\n      EditorSFXManager::playAction_1(v5, 189);\n      EditorUI::setDpadStep(a1, 2);\n    }\n  }\n  else\n  {\n    v3 = v2;\n    v4 = EditorSFXManager::sharedState(a2);\n    EditorSFXManager::playAction_1(v4, 189);\n    EditorUI::setDpadStep(a1, v3);\n  }\n}", "assembly": "; \n; EditorUI::onDpadStep from 0x10063af60 to 0x10063afd9 (121 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createDpadMoveMenu @ 0x10063abac\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 12:34:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x10063af60\nmov     rbp, rsp                                                       ; +0x1, 0x10063af61\npush    r14                                                            ; +0x4, 0x10063af64\npush    rbx                                                            ; +0x6, 0x10063af66\nmov     rbx, rdi                                                       ; +0x7, 0x10063af67\nmov     rax, [rsi]                                                     ; +0xa, 0x10063af6a\nmov     rdi, rsi                                                       ; +0xd, 0x10063af6d\ncall    qword ptr [rax+40h]                                            ; +0x10, 0x10063af70\ncmp     eax, 2                                                         ; +0x13, 0x10063af73\njnz     short loc_10063AF92                                            ; +0x16, 0x10063af76\ncmp     dword ptr [rbx+640h], 2                                        ; +0x18, 0x10063af78\njnz     short loc_10063AFB6                                            ; +0x1f, 0x10063af7f\nmov     rdi, rbx                                                       ; +0x21, 0x10063af81\nmov     esi, 5                                                         ; +0x24, 0x10063af84\npop     rbx                                                            ; +0x29, 0x10063af89\npop     r14                                                            ; +0x2a, 0x10063af8a\npop     rbp                                                            ; +0x2c, 0x10063af8c\njmp     EditorUI__toggleWindow                                         ; +0x2d, 0x10063af8d\nmov     r14d, eax                                                      ; +0x32, 0x10063af92\ncall    EditorSFXManager__sharedState                                  ; +0x35, 0x10063af95\nmov     rdi, rax                                                       ; +0x3a, 0x10063af9a\nmov     esi, 0BDh                                                      ; +0x3d, 0x10063af9d\ncall    EditorSFXManager__playAction_1                                 ; +0x42, 0x10063afa2\nmov     rdi, rbx                                                       ; +0x47, 0x10063afa7\nmov     esi, r14d                                                      ; +0x4a, 0x10063afaa\npop     rbx                                                            ; +0x4d, 0x10063afad\npop     r14                                                            ; +0x4e, 0x10063afae\npop     rbp                                                            ; +0x50, 0x10063afb0\njmp     EditorUI__setDpadStep                                          ; +0x51, 0x10063afb1\ncall    EditorSFXManager__sharedState                                  ; +0x56, 0x10063afb6\nmov     rdi, rax                                                       ; +0x5b, 0x10063afbb\nmov     esi, 0BDh                                                      ; +0x5e, 0x10063afbe\ncall    EditorSFXManager__playAction_1                                 ; +0x63, 0x10063afc3\nmov     rdi, rbx                                                       ; +0x68, 0x10063afc8\nmov     esi, 2                                                         ; +0x6b, 0x10063afcb\npop     rbx                                                            ; +0x70, 0x10063afd0\npop     r14                                                            ; +0x71, 0x10063afd1\npop     rbp                                                            ; +0x73, 0x10063afd3\njmp     EditorUI__setDpadStep                                          ; +0x74, 0x10063afd4", "xrefs": ["EditorUI::createDpadMoveMenu @ 0x10063abac"], "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"}