//
// ForceBlockGameObject::customObjectSetup from 0x1404c1d30 to 0x1404c1eb8 (392 bytes)
//
// 2 xrefs:
// > ??> @ 0x140613920
// > ??> @ 0x1406dcf38
//
// 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 ForceBlockGameObject::customObjectSetup(
ForceBlockGameObject *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
std::_Vector_val>::pointer v13; // rcx
float v14; // xmm0_4
int v15; // eax
std::_Vector_val>::pointer v16; // rcx
int v17; // eax
std::_Vector_val>::pointer v18; // rcx
std::_Vector_val>::pointer v19; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = 0.0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 149) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 149;
if ( a2->_Mypair._Myval2._Myfirst[149].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_force = v9;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 526) )
{
v11 = a2->_Mypair._Myval2._Myfirst + 526;
if ( a2->_Mypair._Myval2._Myfirst[526].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_minForce = v12;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 527) )
{
v13 = a2->_Mypair._Myval2._Myfirst + 527;
if ( a2->_Mypair._Myval2._Myfirst[527].m_data.m_capacity > 0xF )
v13 = (std::_Vector_val>::pointer)v13->m_data.m_bigStorage;
v6 = atof(v13->m_data.m_smallStorage._Elems);
}
v14 = v6;
a1->m_maxForce = v14;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 528) )
{
v16 = a2->_Mypair._Myval2._Myfirst + 528;
if ( a2->_Mypair._Myval2._Myfirst[528].m_data.m_capacity > 0xF )
v16 = (std::_Vector_val>::pointer)v16->m_data.m_bigStorage;
v15 = atoi(v16->m_data.m_smallStorage._Elems);
}
else
{
v15 = 0;
}
a1->m_relativeForce = v15 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 529) )
{
v18 = a2->_Mypair._Myval2._Myfirst + 529;
if ( a2->_Mypair._Myval2._Myfirst[529].m_data.m_capacity > 0xF )
v18 = (std::_Vector_val>::pointer)v18->m_data.m_bigStorage;
v17 = atoi(v18->m_data.m_smallStorage._Elems);
}
else
{
v17 = 0;
}
a1->m_forceRange = v17 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 530) )
{
v19 = a2->_Mypair._Myval2._Myfirst + 530;
if ( a2->_Mypair._Myval2._Myfirst[530].m_data.m_capacity > 0xF )
v19 = (std::_Vector_val>::pointer)v19->m_data.m_bigStorage;
a1->m_forceID = atoi(v19->m_data.m_smallStorage._Elems);
}
else
{
a1->m_forceID = 0;
}
}