//
// DashRingObject::customObjectSetup from 0x1404a2490 to 0x1404a26c1 (561 bytes)
//
// 2 xrefs:
// > ??> @ 0x140613fc8
// > ??> @ 0x1406dc788
//
// 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)
{
int v6; // ebp
int v7; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
int v9; // eax
std::_Vector_val>::pointer v10; // rcx
int v11; // eax
std::_Vector_val>::pointer v12; // rcx
int v13; // eax
std::_Vector_val>::pointer v14; // rcx
double v15; // xmm0_8
std::_Vector_val>::pointer v16; // rcx
float v17; // xmm0_4
double v18; // xmm0_8
std::_Vector_val>::pointer v19; // rcx
float v20; // xmm0_4
int v21; // eax
std::_Vector_val>::pointer v22; // rcx
std::_Vector_val>::pointer v23; // rcx
float v24; // xmm0_4
std::_Vector_val>::pointer v25; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = 0;
if ( a1->m_objectType == CustomRing )
{
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 51;
if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v7 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v7 = 0;
}
a1->m_targetGroupID = v7;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 56) )
{
v10 = a2->_Mypair._Myval2._Myfirst + 56;
if ( a2->_Mypair._Myval2._Myfirst[56].m_data.m_capacity > 0xF )
v10 = (std::_Vector_val>::pointer)v10->m_data.m_bigStorage;
v9 = atoi(v10->m_data.m_smallStorage._Elems);
}
else
{
v9 = 0;
}
a1->m_activateGroup = v9 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 445) )
{
v12 = a2->_Mypair._Myval2._Myfirst + 445;
if ( a2->_Mypair._Myval2._Myfirst[445].m_data.m_capacity > 0xF )
v12 = (std::_Vector_val>::pointer)v12->m_data.m_bigStorage;
v11 = atoi(v12->m_data.m_smallStorage._Elems);
}
else
{
v11 = 0;
}
a1->m_claimTouch = v11 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 504) )
{
v14 = a2->_Mypair._Myval2._Myfirst + 504;
if ( a2->_Mypair._Myval2._Myfirst[504].m_data.m_capacity > 0xF )
v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage;
v13 = atoi(v14->m_data.m_smallStorage._Elems);
}
else
{
v13 = 0;
}
a1->m_isSpawnOnly = v13 != 0;
}
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 586) )
{
v16 = a2->_Mypair._Myval2._Myfirst + 586;
if ( a2->_Mypair._Myval2._Myfirst[586].m_data.m_capacity > 0xF )
v16 = (std::_Vector_val>::pointer)v16->m_data.m_bigStorage;
v15 = atof(v16->m_data.m_smallStorage._Elems);
}
else
{
v15 = 0.0;
}
v17 = v15;
a1->m_dashSpeed = v17;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 588) )
{
v19 = a2->_Mypair._Myval2._Myfirst + 588;
if ( a2->_Mypair._Myval2._Myfirst[588].m_data.m_capacity > 0xF )
v19 = (std::_Vector_val>::pointer)v19->m_data.m_bigStorage;
v18 = atof(v19->m_data.m_smallStorage._Elems);
}
else
{
v18 = 0.0;
}
v20 = v18;
a1->m_endBoost = v20;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 587) )
{
v22 = a2->_Mypair._Myval2._Myfirst + 587;
if ( a2->_Mypair._Myval2._Myfirst[587].m_data.m_capacity > 0xF )
v22 = (std::_Vector_val>::pointer)v22->m_data.m_bigStorage;
v21 = atoi(v22->m_data.m_smallStorage._Elems);
}
else
{
v21 = 0;
}
a1->m_allowCollide = v21 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 589) )
{
v23 = a2->_Mypair._Myval2._Myfirst + 589;
if ( a2->_Mypair._Myval2._Myfirst[589].m_data.m_capacity > 0xF )
v23 = (std::_Vector_val>::pointer)v23->m_data.m_bigStorage;
v6 = atoi(v23->m_data.m_smallStorage._Elems);
}
a1->m_stopSlide = v6 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 590) )
{
v25 = a2->_Mypair._Myval2._Myfirst + 590;
if ( a2->_Mypair._Myval2._Myfirst[590].m_data.m_capacity > 0xF )
v25 = (std::_Vector_val>::pointer)v25->m_data.m_bigStorage;
v24 = atof(v25->m_data.m_smallStorage._Elems);
}
else
{
v24 = 0.0;
}
a1->m_maxDuration = v24;
}