//
// AdvancedFollowEditObject::customObjectSetup from 0x14049eb50 to 0x14049ecdf (399 bytes)
//
// 2 xrefs:
// > ??> @ 0x14061e570
// > ??> @ 0x1406dc404
//
// 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 AdvancedFollowEditObject::customObjectSetup(
AdvancedFollowEditObject *a1,
std::vector *a2,
std::vector *a3)
{
double v6; // xmm6_8
double v7; // xmm0_8
std::_Vector_val>::pointer m_bigStorage; // rcx
float v9; // xmm0_4
double v10; // xmm0_8
std::_Vector_val>::pointer v11; // rcx
float v12; // xmm0_4
double v13; // xmm0_8
std::_Vector_val>::pointer v14; // rcx
float v15; // xmm0_4
std::_Vector_val>::pointer v16; // rcx
int v17; // ebp
float v18; // xmm0_4
int v19; // eax
std::_Vector_val>::pointer v20; // rcx
std::_Vector_val>::pointer v21; // rcx
AdvancedFollowTriggerObject::customObjectSetup(a1, a2, a3);
v6 = 0.0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 566) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 566;
if ( a2->_Mypair._Myval2._Myfirst[566].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v7 = atof(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v7 = 0.0;
}
v9 = v7;
a1->m_modX = v9;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 567) )
{
v11 = a2->_Mypair._Myval2._Myfirst + 567;
if ( a2->_Mypair._Myval2._Myfirst[567].m_data.m_capacity > 0xF )
v11 = (std::_Vector_val>::pointer)v11->m_data.m_bigStorage;
v10 = atof(v11->m_data.m_smallStorage._Elems);
}
else
{
v10 = 0.0;
}
v12 = v10;
a1->m_modXVariance = v12;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 568) )
{
v14 = a2->_Mypair._Myval2._Myfirst + 568;
if ( a2->_Mypair._Myval2._Myfirst[568].m_data.m_capacity > 0xF )
v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage;
v13 = atof(v14->m_data.m_smallStorage._Elems);
}
else
{
v13 = 0.0;
}
v15 = v13;
a1->m_modY = v15;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 569) )
{
v16 = a2->_Mypair._Myval2._Myfirst + 569;
if ( a2->_Mypair._Myval2._Myfirst[569].m_data.m_capacity > 0xF )
v16 = (std::_Vector_val>::pointer)v16->m_data.m_bigStorage;
v6 = atof(v16->m_data.m_smallStorage._Elems);
}
v17 = 0;
v18 = v6;
a1->m_modYVariance = v18;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 570) )
{
v20 = a2->_Mypair._Myval2._Myfirst + 570;
if ( a2->_Mypair._Myval2._Myfirst[570].m_data.m_capacity > 0xF )
v20 = (std::_Vector_val>::pointer)v20->m_data.m_bigStorage;
v19 = atoi(v20->m_data.m_smallStorage._Elems);
}
else
{
v19 = 0;
}
a1->m_redirectDirection = v19 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 535) )
{
v21 = a2->_Mypair._Myval2._Myfirst + 535;
if ( a2->_Mypair._Myval2._Myfirst[535].m_data.m_capacity > 0xF )
v21 = (std::_Vector_val>::pointer)v21->m_data.m_bigStorage;
v17 = atoi(v21->m_data.m_smallStorage._Elems);
}
a1->m_targetControlID = v17 != 0;
}