//
// AdvancedFollowEditObject::customObjectSetup from 0x1001ae690 to 0x1001ae82c (412 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ccea8
//
// 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; // r15
float v6; // xmm1_4
float v7; // xmm0_4
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // rdi
const char *elems; // rdi
float v12; // xmm1_4
float v13; // xmm0_4
std::__vector_base::pointer v14; // rdi
const char *v15; // rdi
std::__vector_base::pointer v16; // rdi
const char *v17; // rdi
std::__vector_base::pointer v18; // rdi
const char *v19; // rdi
bool v20; // al
std::__vector_base::pointer v21; // rdi
const char *v22; // rdi
AdvancedFollowTriggerObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = 0.0;
v7 = 0.0;
if ( begin[566] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[566].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[566].m_data.m_long.longStorage;
else
longStorage = v8[566].m_data.m_short.shortStorage.__elems_;
v7 = atof(longStorage);
v6 = 0.0;
}
a1->m_modX = v7;
if ( begin[567] )
{
v10 = a2->__begin_;
if ( (a2->__begin_[567].m_data.m_short.sizex2 & 1) != 0 )
elems = v10[567].m_data.m_long.longStorage;
else
elems = v10[567].m_data.m_short.shortStorage.__elems_;
v6 = atof(elems);
}
a1->m_modXVariance = v6;
v12 = 0.0;
v13 = 0.0;
if ( begin[568] )
{
v14 = a2->__begin_;
if ( (a2->__begin_[568].m_data.m_short.sizex2 & 1) != 0 )
v15 = v14[568].m_data.m_long.longStorage;
else
v15 = v14[568].m_data.m_short.shortStorage.__elems_;
v13 = atof(v15);
v12 = 0.0;
}
a1->m_modY = v13;
if ( begin[569] )
{
v16 = a2->__begin_;
if ( (a2->__begin_[569].m_data.m_short.sizex2 & 1) != 0 )
v17 = v16[569].m_data.m_long.longStorage;
else
v17 = v16[569].m_data.m_short.shortStorage.__elems_;
v12 = atof(v17);
}
a1->m_modYVariance = v12;
if ( begin[570] )
{
v18 = a2->__begin_;
if ( (a2->__begin_[570].m_data.m_short.sizex2 & 1) != 0 )
v19 = v18[570].m_data.m_long.longStorage;
else
v19 = v18[570].m_data.m_short.shortStorage.__elems_;
a1->m_redirectDirection = atoi(v19) != 0;
if ( begin[535] )
goto LABEL_28;
LABEL_25:
v20 = 0;
goto LABEL_32;
}
a1->m_redirectDirection = 0;
if ( !begin[535] )
goto LABEL_25;
LABEL_28:
v21 = a2->__begin_;
if ( (a2->__begin_[535].m_data.m_short.sizex2 & 1) != 0 )
v22 = v21[535].m_data.m_long.longStorage;
else
v22 = v21[535].m_data.m_short.shortStorage.__elems_;
v20 = atoi(v22) != 0;
LABEL_32:
a1->m_targetControlID = v20;
}