//
// DashRingObject::customObjectSetup from 0x100382c34 to 0x100382d78 (324 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007fef40
//
// 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; // x21
float v7; // s8
float v8; // s0
std::__vector_base::pointer capacitym1; // x0
std::__vector_base::pointer v10; // x0
void *v11; // x8
std::__vector_base::pointer v12; // x0
void *v13; // x8
std::__vector_base::pointer v14; // x0
std::__vector_base::pointer v15; // x0
float v16; // s0
RingObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v7 = 0.0;
v8 = 0.0;
if ( begin[586] )
{
capacitym1 = a2->__begin_ + 586;
if ( a2->__begin_[586].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
v8 = atof((const char *)capacitym1);
}
a1->m_dashSpeed = v8;
if ( begin[588] )
{
v10 = a2->__begin_ + 588;
if ( a2->__begin_[588].m_data.m_short.shortStorage.__elems_[22] < 0 )
v10 = (std::__vector_base::pointer)v10->m_data.m_long.capacitym1;
v7 = atof((const char *)v10);
}
a1->m_endBoost = v7;
v11 = begin[587];
if ( v11 )
{
v12 = a2->__begin_ + 587;
if ( a2->__begin_[587].m_data.m_short.shortStorage.__elems_[22] < 0 )
v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1;
LOBYTE(v11) = atoi((const char *)v12) != 0;
}
a1->m_allowCollide = (char)v11;
v13 = begin[589];
if ( v13 )
{
v14 = a2->__begin_ + 589;
if ( a2->__begin_[589].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
LOBYTE(v13) = atoi((const char *)v14) != 0;
}
a1->m_stopSlide = (char)v13;
if ( begin[590] )
{
v15 = a2->__begin_ + 590;
if ( a2->__begin_[590].m_data.m_short.shortStorage.__elems_[22] < 0 )
v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1;
v16 = atof((const char *)v15);
}
else
{
v16 = 0.0;
}
a1->m_maxDuration = v16;
}