{"type": "func", "start": 4296757776, "end": 4296758140, "name": "DashRingObject::customObjectSetup", "pseudocode": "// \n// DashRingObject::customObjectSetup from 0x1001b5210 to 0x1001b537c (364 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008cdec8\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; // r15\n  float v6; // xmm1_4\n  float v7; // xmm0_4\n  std::__vector_base<std::string>::pointer v8; // rdi\n  const char *longStorage; // rdi\n  std::__vector_base<std::string>::pointer v10; // rdi\n  const char *elems; // rdi\n  std::__vector_base<std::string>::pointer v12; // rdi\n  const char *v13; // rdi\n  float v14; // xmm0_4\n  std::__vector_base<std::string>::pointer v15; // rdi\n  const char *v16; // rdi\n  std::__vector_base<std::string>::pointer v17; // rdi\n  const char *v18; // rdi\n\n  RingObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v6 = 0.0;\n  v7 = 0.0;\n  if ( begin[586] )\n  {\n    v8 = a2->__begin_;\n    if ( (a2->__begin_[586].m_data.m_short.sizex2 & 1) != 0 )\n      longStorage = v8[586].m_data.m_long.longStorage;\n    else\n      longStorage = v8[586].m_data.m_short.shortStorage.__elems_;\n    v7 = atof(longStorage);\n    v6 = 0.0;\n  }\n  a1->m_dashSpeed = v7;\n  if ( begin[588] )\n  {\n    v10 = a2->__begin_;\n    if ( (a2->__begin_[588].m_data.m_short.sizex2 & 1) != 0 )\n      elems = v10[588].m_data.m_long.longStorage;\n    else\n      elems = v10[588].m_data.m_short.shortStorage.__elems_;\n    v6 = atof(elems);\n  }\n  a1->m_endBoost = v6;\n  if ( begin[587] )\n  {\n    v12 = a2->__begin_;\n    if ( (a2->__begin_[587].m_data.m_short.sizex2 & 1) != 0 )\n      v13 = v12[587].m_data.m_long.longStorage;\n    else\n      v13 = v12[587].m_data.m_short.shortStorage.__elems_;\n    a1->m_allowCollide = atoi(v13) != 0;\n    if ( begin[589] )\n    {\nLABEL_19:\n      v15 = a2->__begin_;\n      if ( (a2->__begin_[589].m_data.m_short.sizex2 & 1) != 0 )\n        v16 = v15[589].m_data.m_long.longStorage;\n      else\n        v16 = v15[589].m_data.m_short.shortStorage.__elems_;\n      a1->m_stopSlide = atoi(v16) != 0;\n      if ( begin[590] )\n        goto LABEL_23;\nLABEL_16:\n      v14 = 0.0;\n      goto LABEL_27;\n    }\n  }\n  else\n  {\n    a1->m_allowCollide = 0;\n    if ( begin[589] )\n      goto LABEL_19;\n  }\n  a1->m_stopSlide = 0;\n  if ( !begin[590] )\n    goto LABEL_16;\nLABEL_23:\n  v17 = a2->__begin_;\n  if ( (a2->__begin_[590].m_data.m_short.sizex2 & 1) != 0 )\n    v18 = v17[590].m_data.m_long.longStorage;\n  else\n    v18 = v17[590].m_data.m_short.shortStorage.__elems_;\n  v14 = atof(v18);\nLABEL_27:\n  a1->m_maxDuration = v14;\n}", "assembly": "; \n; DashRingObject::customObjectSetup from 0x1001b5210 to 0x1001b537c (364 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008cdec8\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\npush    rbp                                                            ; +0x0, 0x1001b5210\nmov     rbp, rsp                                                       ; +0x1, 0x1001b5211\npush    r15                                                            ; +0x4, 0x1001b5214\npush    r14                                                            ; +0x6, 0x1001b5216\npush    rbx                                                            ; +0x8, 0x1001b5218\npush    rax                                                            ; +0x9, 0x1001b5219\nmov     r15, rdx                                                       ; +0xa, 0x1001b521a\nmov     r14, rsi                                                       ; +0xd, 0x1001b521d\nmov     rbx, rdi                                                       ; +0x10, 0x1001b5220\ncall    RingObject__customObjectSetup                                  ; +0x13, 0x1001b5223\nmov     r15, [r15]                                                     ; +0x18, 0x1001b5228\nxorps   xmm1, xmm1                                                     ; +0x1b, 0x1001b522b\ncmp     qword ptr [r15+1250h], 0                                       ; +0x1e, 0x1001b522e\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1001b5236\njz      short loc_1001B5263                                            ; +0x29, 0x1001b5239\nmov     rdi, [r14]                                                     ; +0x2b, 0x1001b523b\ntest    byte ptr [rdi+36F0h], 1                                        ; +0x2e, 0x1001b523e\njnz     short loc_1001B5250                                            ; +0x35, 0x1001b5245\nadd     rdi, 36F1h                                                     ; +0x37, 0x1001b5247\njmp     short loc_1001B5257                                            ; +0x3e, 0x1001b524e\nmov     rdi, [rdi+3700h]; char *                                       ; +0x40, 0x1001b5250\ncall    _atof                                                          ; +0x47, 0x1001b5257\ncvtsd2ss xmm0, xmm0                                                    ; +0x4c, 0x1001b525c\nxorps   xmm1, xmm1                                                     ; +0x50, 0x1001b5260\nmovss   dword ptr [rbx+730h], xmm0                                     ; +0x53, 0x1001b5263\ncmp     qword ptr [r15+1260h], 0                                       ; +0x5b, 0x1001b526b\njz      short loc_1001B529D                                            ; +0x63, 0x1001b5273\nmov     rdi, [r14]                                                     ; +0x65, 0x1001b5275\ntest    byte ptr [rdi+3720h], 1                                        ; +0x68, 0x1001b5278\njnz     short loc_1001B528A                                            ; +0x6f, 0x1001b527f\nadd     rdi, 3721h                                                     ; +0x71, 0x1001b5281\njmp     short loc_1001B5291                                            ; +0x78, 0x1001b5288\nmov     rdi, [rdi+3730h]; char *                                       ; +0x7a, 0x1001b528a\ncall    _atof                                                          ; +0x81, 0x1001b5291\nxorps   xmm1, xmm1                                                     ; +0x86, 0x1001b5296\ncvtsd2ss xmm1, xmm0                                                    ; +0x89, 0x1001b5299\nmovss   dword ptr [rbx+734h], xmm1                                     ; +0x8d, 0x1001b529d\ncmp     qword ptr [r15+1258h], 0                                       ; +0x95, 0x1001b52a5\njz      short loc_1001B52C4                                            ; +0x9d, 0x1001b52ad\nmov     rdi, [r14]                                                     ; +0x9f, 0x1001b52af\ntest    byte ptr [rdi+3708h], 1                                        ; +0xa2, 0x1001b52b2\njnz     short loc_1001B52ED                                            ; +0xa9, 0x1001b52b9\nadd     rdi, 3709h                                                     ; +0xab, 0x1001b52bb\njmp     short loc_1001B52F4                                            ; +0xb2, 0x1001b52c2\nxor     eax, eax                                                       ; +0xb4, 0x1001b52c4\nmov     [rbx+73Ch], al                                                 ; +0xb6, 0x1001b52c6\ncmp     qword ptr [r15+1268h], 0                                       ; +0xbc, 0x1001b52cc\njnz     short loc_1001B530E                                            ; +0xc4, 0x1001b52d4\nxor     eax, eax                                                       ; +0xc6, 0x1001b52d6\nmov     [rbx+73Dh], al                                                 ; +0xc8, 0x1001b52d8\ncmp     qword ptr [r15+1270h], 0                                       ; +0xce, 0x1001b52de\njnz     short loc_1001B5344                                            ; +0xd6, 0x1001b52e6\nxorps   xmm0, xmm0                                                     ; +0xd8, 0x1001b52e8\njmp     short loc_1001B5369                                            ; +0xdb, 0x1001b52eb\nmov     rdi, [rdi+3718h]; char *                                       ; +0xdd, 0x1001b52ed\ncall    _atoi                                                          ; +0xe4, 0x1001b52f4\ntest    eax, eax                                                       ; +0xe9, 0x1001b52f9\nsetnz   al                                                             ; +0xeb, 0x1001b52fb\nmov     [rbx+73Ch], al                                                 ; +0xee, 0x1001b52fe\ncmp     qword ptr [r15+1268h], 0                                       ; +0xf4, 0x1001b5304\njz      short loc_1001B52D6                                            ; +0xfc, 0x1001b530c\nmov     rdi, [r14]                                                     ; +0xfe, 0x1001b530e\ntest    byte ptr [rdi+3738h], 1                                        ; +0x101, 0x1001b5311\njnz     short loc_1001B5323                                            ; +0x108, 0x1001b5318\nadd     rdi, 3739h                                                     ; +0x10a, 0x1001b531a\njmp     short loc_1001B532A                                            ; +0x111, 0x1001b5321\nmov     rdi, [rdi+3748h]; char *                                       ; +0x113, 0x1001b5323\ncall    _atoi                                                          ; +0x11a, 0x1001b532a\ntest    eax, eax                                                       ; +0x11f, 0x1001b532f\nsetnz   al                                                             ; +0x121, 0x1001b5331\nmov     [rbx+73Dh], al                                                 ; +0x124, 0x1001b5334\ncmp     qword ptr [r15+1270h], 0                                       ; +0x12a, 0x1001b533a\njz      short loc_1001B52E8                                            ; +0x132, 0x1001b5342\nmov     rdi, [r14]                                                     ; +0x134, 0x1001b5344\ntest    byte ptr [rdi+3750h], 1                                        ; +0x137, 0x1001b5347\njnz     short loc_1001B5359                                            ; +0x13e, 0x1001b534e\nadd     rdi, 3751h                                                     ; +0x140, 0x1001b5350\njmp     short loc_1001B5360                                            ; +0x147, 0x1001b5357\nmov     rdi, [rdi+3760h]; char *                                       ; +0x149, 0x1001b5359\ncall    _atof                                                          ; +0x150, 0x1001b5360\ncvtsd2ss xmm0, xmm0                                                    ; +0x155, 0x1001b5365\nmovss   dword ptr [rbx+738h], xmm0                                     ; +0x159, 0x1001b5369\nadd     rsp, 8                                                         ; +0x161, 0x1001b5371\npop     rbx                                                            ; +0x165, 0x1001b5375\npop     r14                                                            ; +0x166, 0x1001b5376\npop     r15                                                            ; +0x168, 0x1001b5378\npop     rbp                                                            ; +0x16a, 0x1001b537a\nretn                                                                   ; +0x16b, 0x1001b537b", "xrefs": ["<???> @ 0x1008cdec8"], "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"}