{"type": "func", "start": 4298648628, "end": 4298648952, "name": "DashRingObject::customObjectSetup", "pseudocode": "// \n// DashRingObject::customObjectSetup from 0x100382c34 to 0x100382d78 (324 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007fef40\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall DashRingObject::customObjectSetup(\n        DashRingObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // x21\n  float v7; // s8\n  float v8; // s0\n  std::__vector_base<std::string>::pointer capacitym1; // x0\n  std::__vector_base<std::string>::pointer v10; // x0\n  void *v11; // x8\n  std::__vector_base<std::string>::pointer v12; // x0\n  void *v13; // x8\n  std::__vector_base<std::string>::pointer v14; // x0\n  std::__vector_base<std::string>::pointer v15; // x0\n  float v16; // s0\n\n  RingObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v7 = 0.0;\n  v8 = 0.0;\n  if ( begin[586] )\n  {\n    capacitym1 = a2->__begin_ + 586;\n    if ( a2->__begin_[586].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      capacitym1 = (std::__vector_base<std::string>::pointer)capacitym1->m_data.m_long.capacitym1;\n    v8 = atof((const char *)capacitym1);\n  }\n  a1->m_dashSpeed = v8;\n  if ( begin[588] )\n  {\n    v10 = a2->__begin_ + 588;\n    if ( a2->__begin_[588].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v10 = (std::__vector_base<std::string>::pointer)v10->m_data.m_long.capacitym1;\n    v7 = atof((const char *)v10);\n  }\n  a1->m_endBoost = v7;\n  v11 = begin[587];\n  if ( v11 )\n  {\n    v12 = a2->__begin_ + 587;\n    if ( a2->__begin_[587].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v12 = (std::__vector_base<std::string>::pointer)v12->m_data.m_long.capacitym1;\n    LOBYTE(v11) = atoi((const char *)v12) != 0;\n  }\n  a1->m_allowCollide = (char)v11;\n  v13 = begin[589];\n  if ( v13 )\n  {\n    v14 = a2->__begin_ + 589;\n    if ( a2->__begin_[589].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v14 = (std::__vector_base<std::string>::pointer)v14->m_data.m_long.capacitym1;\n    LOBYTE(v13) = atoi((const char *)v14) != 0;\n  }\n  a1->m_stopSlide = (char)v13;\n  if ( begin[590] )\n  {\n    v15 = a2->__begin_ + 590;\n    if ( a2->__begin_[590].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v15 = (std::__vector_base<std::string>::pointer)v15->m_data.m_long.capacitym1;\n    v16 = atof((const char *)v15);\n  }\n  else\n  {\n    v16 = 0.0;\n  }\n  a1->m_maxDuration = v16;\n}", "assembly": "; \n; DashRingObject::customObjectSetup from 0x100382c34 to 0x100382d78 (324 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007fef40\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             D9, D8, [SP,#-0x10+var_30]!                            ; +0x0, 0x100382c34\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100382c38\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100382c3c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100382c40\nADD             X29, SP, #0x30                                         ; +0x10, 0x100382c44\nMOV             X21, X2                                                ; +0x14, 0x100382c48\nMOV             X20, X1                                                ; +0x18, 0x100382c4c\nMOV             X19, X0                                                ; +0x1c, 0x100382c50\nBL              RingObject__customObjectSetup                          ; +0x20, 0x100382c54\nLDR             X21, [X21]                                             ; +0x24, 0x100382c58\nLDR             X8, [X21,#0x1250]                                      ; +0x28, 0x100382c5c\nFMOV            S8, WZR                                                ; +0x2c, 0x100382c60\nFMOV            S0, WZR                                                ; +0x30, 0x100382c64\nCBZ             X8, loc_100382C90                                      ; +0x34, 0x100382c68\nLDR             X8, [X20]                                              ; +0x38, 0x100382c6c\nMOV             W9, #0x36F0                                            ; +0x3c, 0x100382c70\nADD             X0, X8, X9                                             ; +0x40, 0x100382c74\nMOV             W9, #0x3707                                            ; +0x44, 0x100382c78\nLDRSB           W8, [X8,X9]                                            ; +0x48, 0x100382c7c\nTBZ             W8, #0x1F, loc_100382C88                               ; +0x4c, 0x100382c80\nLDR             X0, [X0]; char *                                       ; +0x50, 0x100382c84\nBL              _atof                                                  ; +0x54, 0x100382c88\nFCVT            S0, D0                                                 ; +0x58, 0x100382c8c\nSTR             S0, [X19,#0x730]                                       ; +0x5c, 0x100382c90\nLDR             X8, [X21,#0x1260]                                      ; +0x60, 0x100382c94\nCBZ             X8, loc_100382CC0                                      ; +0x64, 0x100382c98\nLDR             X8, [X20]                                              ; +0x68, 0x100382c9c\nMOV             W9, #0x3720                                            ; +0x6c, 0x100382ca0\nADD             X0, X8, X9                                             ; +0x70, 0x100382ca4\nMOV             W9, #0x3737                                            ; +0x74, 0x100382ca8\nLDRSB           W8, [X8,X9]                                            ; +0x78, 0x100382cac\nTBZ             W8, #0x1F, loc_100382CB8                               ; +0x7c, 0x100382cb0\nLDR             X0, [X0]; char *                                       ; +0x80, 0x100382cb4\nBL              _atof                                                  ; +0x84, 0x100382cb8\nFCVT            S8, D0                                                 ; +0x88, 0x100382cbc\nSTR             S8, [X19,#0x734]                                       ; +0x8c, 0x100382cc0\nLDR             X8, [X21,#0x1258]                                      ; +0x90, 0x100382cc4\nCBZ             X8, loc_100382CF4                                      ; +0x94, 0x100382cc8\nLDR             X8, [X20]                                              ; +0x98, 0x100382ccc\nMOV             W9, #0x3708                                            ; +0x9c, 0x100382cd0\nADD             X0, X8, X9                                             ; +0xa0, 0x100382cd4\nMOV             W9, #0x371F                                            ; +0xa4, 0x100382cd8\nLDRSB           W8, [X8,X9]                                            ; +0xa8, 0x100382cdc\nTBZ             W8, #0x1F, loc_100382CE8                               ; +0xac, 0x100382ce0\nLDR             X0, [X0]; char *                                       ; +0xb0, 0x100382ce4\nBL              _atoi                                                  ; +0xb4, 0x100382ce8\nCMP             W0, #0                                                 ; +0xb8, 0x100382cec\nCSET            W8, NE                                                 ; +0xbc, 0x100382cf0\nSTRB            W8, [X19,#0x73C]                                       ; +0xc0, 0x100382cf4\nLDR             X8, [X21,#0x1268]                                      ; +0xc4, 0x100382cf8\nCBZ             X8, loc_100382D28                                      ; +0xc8, 0x100382cfc\nLDR             X8, [X20]                                              ; +0xcc, 0x100382d00\nMOV             W9, #0x3738                                            ; +0xd0, 0x100382d04\nADD             X0, X8, X9                                             ; +0xd4, 0x100382d08\nMOV             W9, #0x374F                                            ; +0xd8, 0x100382d0c\nLDRSB           W8, [X8,X9]                                            ; +0xdc, 0x100382d10\nTBZ             W8, #0x1F, loc_100382D1C                               ; +0xe0, 0x100382d14\nLDR             X0, [X0]; char *                                       ; +0xe4, 0x100382d18\nBL              _atoi                                                  ; +0xe8, 0x100382d1c\nCMP             W0, #0                                                 ; +0xec, 0x100382d20\nCSET            W8, NE                                                 ; +0xf0, 0x100382d24\nSTRB            W8, [X19,#0x73D]                                       ; +0xf4, 0x100382d28\nLDR             X8, [X21,#0x1270]                                      ; +0xf8, 0x100382d2c\nCBZ             X8, loc_100382D5C                                      ; +0xfc, 0x100382d30\nLDR             X8, [X20]                                              ; +0x100, 0x100382d34\nMOV             W9, #0x3750                                            ; +0x104, 0x100382d38\nADD             X0, X8, X9                                             ; +0x108, 0x100382d3c\nMOV             W9, #0x3767                                            ; +0x10c, 0x100382d40\nLDRSB           W8, [X8,X9]                                            ; +0x110, 0x100382d44\nTBZ             W8, #0x1F, loc_100382D50                               ; +0x114, 0x100382d48\nLDR             X0, [X0]; char *                                       ; +0x118, 0x100382d4c\nBL              _atof                                                  ; +0x11c, 0x100382d50\nFCVT            S0, D0                                                 ; +0x120, 0x100382d54\nB               loc_100382D60                                          ; +0x124, 0x100382d58\nFMOV            S0, WZR                                                ; +0x128, 0x100382d5c\nSTR             S0, [X19,#0x738]                                       ; +0x12c, 0x100382d60\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x130, 0x100382d64\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x134, 0x100382d68\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x138, 0x100382d6c\nLDP             D9, D8, [SP+0x30+var_30],#0x40                         ; +0x13c, 0x100382d70\nRET                                                                    ; +0x140, 0x100382d74", "xrefs": ["<???> @ 0x1007fef40"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}