//
// DashRingObject::customObjectSetup from 0x750bd8 to 0x750d00 (296 bytes)
//
// 2 xrefs:
// > ??> @ 0x7edb0
// > ??> @ 0x1167b58
//
// 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 DashRingObject::customObjectSetup(DashRingObject *a1, std::vector *a2, std::vector *a3)
{
void **m_start; // x19
double v7; // d0
__int64 v8; // x0
double v9; // d0
__int64 v10; // x0
bool v11; // zf
void *v12; // x0
bool v13; // w1
void *v14; // x0
bool v15; // w1
float v16; // s0
void *v17; // x0
void *v18; // x0
void *v19; // x0
void *v20; // x0
RingObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( *((_QWORD *)a3->m_start + 586) )
{
v7 = atof((const char *)a2->m_start[586].m_data.m_data);
m_start = a3->m_start;
*(float *)&v7 = v7;
v8 = *((_QWORD *)a3->m_start + 588);
a1->m_dashSpeed = *(float *)&v7;
if ( v8 )
goto LABEL_3;
}
else
{
v17 = m_start[588];
a1->m_dashSpeed = 0.0;
if ( v17 )
{
LABEL_3:
v9 = atof((const char *)a2->m_start[588].m_data.m_data);
m_start = a3->m_start;
*(float *)&v9 = v9;
v10 = *((_QWORD *)a3->m_start + 587);
a1->m_endBoost = *(float *)&v9;
if ( v10 )
goto LABEL_4;
LABEL_15:
v19 = m_start[589];
a1->m_allowCollide = 0;
if ( v19 )
goto LABEL_8;
goto LABEL_16;
}
}
v18 = m_start[587];
a1->m_endBoost = 0.0;
if ( !v18 )
goto LABEL_15;
LABEL_4:
v11 = atoi((const char *)a2->m_start[587].m_data.m_data) == 0;
v12 = m_start[589];
v13 = !v11;
a1->m_allowCollide = v13;
if ( v12 )
{
LABEL_8:
v11 = atoi((const char *)a2->m_start[589].m_data.m_data) == 0;
v14 = m_start[590];
v15 = !v11;
a1->m_stopSlide = v15;
if ( v14 )
goto LABEL_12;
goto LABEL_17;
}
LABEL_16:
v20 = m_start[590];
a1->m_stopSlide = 0;
if ( v20 )
{
LABEL_12:
v16 = atof((const char *)a2->m_start[590].m_data.m_data);
a1->m_maxDuration = v16;
return;
}
LABEL_17:
a1->m_maxDuration = 0.0;
}