{"type": "func", "start": 4296567396, "end": 4296567504, "name": "EditorUI::onDpadStep", "pseudocode": "// \n// EditorUI::onDpadStep from 0x100186a64 to 0x100186ad0 (108 bytes)\n// \n// 1 xrefs:\n// > sub_100186174 @ 0x1001866bc\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 10:59:50 +0000\n// \n\n__int64 __fastcall EditorUI::onDpadStep(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x20\n  __n128 v4; // q0\n  __int64 v6; // x0\n\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (_DWORD)v3 == 2 && *(_DWORD *)(a1 + 1600) == 2 )\n    return EditorUI::toggleWindow(a1, 5);\n  v6 = EditorSFXManager::sharedState(v4);\n  EditorSFXManager::playAction_1(v6, 189);\n  return EditorUI::setDpadStep(a1, v3);\n}", "assembly": "; \n; EditorUI::onDpadStep from 0x100186a64 to 0x100186ad0 (108 bytes)\n; \n; 1 xrefs:\n; > sub_100186174 @ 0x1001866bc\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 10:59:50 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100186a64\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100186a68\nADD             X29, SP, #0x10                                         ; +0x8, 0x100186a6c\nMOV             X19, X0                                                ; +0xc, 0x100186a70\nLDR             X8, [X1]                                               ; +0x10, 0x100186a74\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x100186a78\nMOV             X0, X1                                                 ; +0x18, 0x100186a7c\nBLR             X8                                                     ; +0x1c, 0x100186a80\nMOV             X20, X0                                                ; +0x20, 0x100186a84\nCMP             W0, #2                                                 ; +0x24, 0x100186a88\nB.NE            loc_100186AB0                                          ; +0x28, 0x100186a8c\nLDR             W8, [X19,#0x640]                                       ; +0x2c, 0x100186a90\nCMP             W8, #2                                                 ; +0x30, 0x100186a94\nB.NE            loc_100186AB0                                          ; +0x34, 0x100186a98\nMOV             X0, X19                                                ; +0x38, 0x100186a9c\nMOV             W1, #5                                                 ; +0x3c, 0x100186aa0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x100186aa4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x100186aa8\nB               EditorUI__toggleWindow                                 ; +0x48, 0x100186aac\nBL              EditorSFXManager__sharedState                          ; +0x4c, 0x100186ab0\nMOV             W1, #0xBD                                              ; +0x50, 0x100186ab4\nBL              EditorSFXManager__playAction_1                         ; +0x54, 0x100186ab8\nMOV             X0, X19                                                ; +0x58, 0x100186abc\nMOV             X1, X20                                                ; +0x5c, 0x100186ac0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x100186ac4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x100186ac8\nB               EditorUI__setDpadStep                                  ; +0x68, 0x100186acc", "xrefs": ["sub_100186174 @ 0x1001866bc"], "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"}