//
// DashRingObject::customObjectSetup from 0x1001b5210 to 0x1001b537c (364 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008cdec8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall DashRingObject::customObjectSetup(
DashRingObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // r15
float v6; // xmm1_4
float v7; // xmm0_4
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // rdi
const char *elems; // rdi
std::__vector_base::pointer v12; // rdi
const char *v13; // rdi
float v14; // xmm0_4
std::__vector_base::pointer v15; // rdi
const char *v16; // rdi
std::__vector_base::pointer v17; // rdi
const char *v18; // rdi
RingObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = 0.0;
v7 = 0.0;
if ( begin[586] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[586].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[586].m_data.m_long.longStorage;
else
longStorage = v8[586].m_data.m_short.shortStorage.__elems_;
v7 = atof(longStorage);
v6 = 0.0;
}
a1->m_dashSpeed = v7;
if ( begin[588] )
{
v10 = a2->__begin_;
if ( (a2->__begin_[588].m_data.m_short.sizex2 & 1) != 0 )
elems = v10[588].m_data.m_long.longStorage;
else
elems = v10[588].m_data.m_short.shortStorage.__elems_;
v6 = atof(elems);
}
a1->m_endBoost = v6;
if ( begin[587] )
{
v12 = a2->__begin_;
if ( (a2->__begin_[587].m_data.m_short.sizex2 & 1) != 0 )
v13 = v12[587].m_data.m_long.longStorage;
else
v13 = v12[587].m_data.m_short.shortStorage.__elems_;
a1->m_allowCollide = atoi(v13) != 0;
if ( begin[589] )
{
LABEL_19:
v15 = a2->__begin_;
if ( (a2->__begin_[589].m_data.m_short.sizex2 & 1) != 0 )
v16 = v15[589].m_data.m_long.longStorage;
else
v16 = v15[589].m_data.m_short.shortStorage.__elems_;
a1->m_stopSlide = atoi(v16) != 0;
if ( begin[590] )
goto LABEL_23;
LABEL_16:
v14 = 0.0;
goto LABEL_27;
}
}
else
{
a1->m_allowCollide = 0;
if ( begin[589] )
goto LABEL_19;
}
a1->m_stopSlide = 0;
if ( !begin[590] )
goto LABEL_16;
LABEL_23:
v17 = a2->__begin_;
if ( (a2->__begin_[590].m_data.m_short.sizex2 & 1) != 0 )
v18 = v17[590].m_data.m_long.longStorage;
else
v18 = v17[590].m_data.m_short.shortStorage.__elems_;
v14 = atof(v18);
LABEL_27:
a1->m_maxDuration = v14;
}