{"type": "func", "start": 8132204, "end": 8132312, "name": "EditorUI::setCustomMoveStep", "pseudocode": "// \n// EditorUI::setCustomMoveStep from 0x7c166c to 0x7c16d8 (108 bytes)\n// \n// 3 xrefs:\n// > MoveStepPopup::valueDidChange @ 0xc60b40\n// > MoveStepPopup::onReset @ 0xc610e8\n// > <???> @ 0xb5990\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 12:54:06 +0000\n// \n\n__int64 __fastcall EditorUI::setCustomMoveStep(EditorUI *this, float a2)\n{\n  float v2; // s1\n  GameManager *v4; // x0\n  float v6; // [xsp+20h] [xbp+20h]\n\n  v2 = 300.0;\n  if ( a2 >= 300.0 || (v2 = 0.01, a2 <= 0.01) )\n    a2 = v2;\n  *((float *)this + 408) = a2;\n  v6 = a2;\n  v4 = (GameManager *)GameManager::sharedState(this);\n  GameManager::setIntGameVariable(v4, \"0238\", llroundf(v6 * 1000.0));\n  return EditorUI::updateDpadStepLabel(this);\n}", "assembly": "; \n; EditorUI::setCustomMoveStep from 0x7c166c to 0x7c16d8 (108 bytes)\n; \n; 3 xrefs:\n; > MoveStepPopup::valueDidChange @ 0xc60b40\n; > MoveStepPopup::onReset @ 0xc610e8\n; > <???> @ 0xb5990\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 12:54:06 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x7c166c\nMOV             X29, SP                                                ; +0x4, 0x7c1670\nLDR             S1, =0x43960000                                        ; +0x8, 0x7c1674\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0x7c1678\nMOV             X19, X0                                                ; +0x10, 0x7c167c\nFCMPE           S0, S1                                                 ; +0x14, 0x7c1680\nB.PL            loc_7C16D0                                             ; +0x18, 0x7c1684\nLDR             S1, =0x3C23D70A                                        ; +0x1c, 0x7c1688\nFCMPE           S0, S1                                                 ; +0x20, 0x7c168c\nB.GT            loc_7C1698                                             ; +0x24, 0x7c1690\nFMOV            S0, S1                                                 ; +0x28, 0x7c1694\nSTR             S0, [X19,#0x660]                                       ; +0x2c, 0x7c1698\nSTR             Q0, [X29,#0x30+var_10]                                 ; +0x30, 0x7c169c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x34, 0x7c16a0\nLDR             S1, =0x447A0000                                        ; +0x38, 0x7c16a4\nADRP            X1, #a0238@PAGE; \"0238\"                                ; +0x3c, 0x7c16a8\nLDR             Q0, [X29,#0x30+var_10]                                 ; +0x40, 0x7c16ac\nADD             X1, X1, #a0238@PAGEOFF; \"0238\"                         ; +0x44, 0x7c16b0\nFMUL            S0, S0, S1                                             ; +0x48, 0x7c16b4\nFCVTAS          W2, S0; int                                            ; +0x4c, 0x7c16b8\nBL              _ZN11GameManager18setIntGameVariableEPKci; GameManager::setIntGameVariable(char const*,int) ; +0x50, 0x7c16bc\nMOV             X0, X19; this                                          ; +0x54, 0x7c16c0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x58, 0x7c16c4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x5c, 0x7c16c8\nB               _ZN8EditorUI19updateDpadStepLabelEv; EditorUI::updateDpadStepLabel(void) ; +0x60, 0x7c16cc\nB.MI            loc_7C1698                                             ; +0x64, 0x7c16d0\nB               loc_7C1694                                             ; +0x68, 0x7c16d4", "xrefs": ["MoveStepPopup::valueDidChange @ 0xc60b40", "MoveStepPopup::onReset @ 0xc610e8", "<???> @ 0xb5990"], "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"}