//
// AdvancedFollowEditObject::customObjectSetup from 0x10037fbb4 to 0x10037fd28 (372 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007fdf20
//
// 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 AdvancedFollowEditObject::customObjectSetup(
AdvancedFollowEditObject *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
float v11; // s8
float v12; // s0
std::__vector_base::pointer v13; // x0
std::__vector_base::pointer v14; // x0
void *v15; // x8
std::__vector_base::pointer v16; // x0
void *v17; // x8
std::__vector_base::pointer v18; // x0
AdvancedFollowTriggerObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v7 = 0.0;
v8 = 0.0;
if ( begin[566] )
{
capacitym1 = a2->__begin_ + 566;
if ( a2->__begin_[566].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_modX = v8;
if ( begin[567] )
{
v10 = a2->__begin_ + 567;
if ( a2->__begin_[567].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_modXVariance = v7;
v11 = 0.0;
v12 = 0.0;
if ( begin[568] )
{
v13 = a2->__begin_ + 568;
if ( a2->__begin_[568].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v12 = atof((const char *)v13);
}
a1->m_modY = v12;
if ( begin[569] )
{
v14 = a2->__begin_ + 569;
if ( a2->__begin_[569].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
v11 = atof((const char *)v14);
}
a1->m_modYVariance = v11;
v15 = begin[570];
if ( v15 )
{
v16 = a2->__begin_ + 570;
if ( a2->__begin_[570].m_data.m_short.shortStorage.__elems_[22] < 0 )
v16 = (std::__vector_base::pointer)v16->m_data.m_long.capacitym1;
LOBYTE(v15) = atoi((const char *)v16) != 0;
}
a1->m_redirectDirection = (char)v15;
v17 = begin[535];
if ( v17 )
{
v18 = a2->__begin_ + 535;
if ( a2->__begin_[535].m_data.m_short.shortStorage.__elems_[22] < 0 )
v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1;
LOBYTE(v17) = atoi((const char *)v18) != 0;
}
a1->m_targetControlID = (char)v17;
}