//
// TransformTriggerGameObject::customObjectSetup from 0x1404bc1a0 to 0x1404bc49c (764 bytes)
//
// 4 xrefs:
// > ??> @ 0x140614fe8
// > ??> @ 0x1406a8cd4
// > ??> @ 0x1406a8d08
// > ??> @ 0x1406dcdac
//
// 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 TransformTriggerGameObject::customObjectSetup(
TransformTriggerGameObject *a1,
std::vector *a2,
std::vector *a3)
{
int v6; // ebp
int v7; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
int v9; // eax
std::_Vector_val>::pointer v10; // rcx
double v11; // xmm6_8
double v12; // xmm0_8
std::_Vector_val>::pointer v13; // rcx
float v14; // xmm0_4
EasingType v15; // eax
std::_Vector_val>::pointer v16; // rcx
double v17; // xmm0_8
std::_Vector_val>::pointer v18; // rcx
float v19; // xmm0_4
double v20; // xmm0_8
std::_Vector_val>::pointer v21; // rcx
float v22; // xmm0_4
std::_Vector_val>::pointer v23; // rcx
float v24; // xmm0_4
int v25; // eax
std::_Vector_val>::pointer v26; // rcx
int v27; // eax
std::_Vector_val>::pointer v28; // rcx
int v29; // eax
std::_Vector_val>::pointer v30; // rcx
int v31; // eax
std::_Vector_val>::pointer v32; // rcx
std::_Vector_val>::pointer v33; // rcx
float m_objectScaleX; // xmm0_4
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( a1->m_objectID == 2067 )
{
v6 = 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 51;
if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v7 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v7 = 0;
}
a1->m_targetGroupID = v7;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 71) )
{
v10 = a2->_Mypair._Myval2._Myfirst + 71;
if ( a2->_Mypair._Myval2._Myfirst[71].m_data.m_capacity > 0xF )
v10 = (std::_Vector_val>::pointer)v10->m_data.m_bigStorage;
v9 = atoi(v10->m_data.m_smallStorage._Elems);
}
else
{
v9 = 0;
}
a1->m_centerGroupID = v9;
v11 = 0.0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 10) )
{
v13 = a2->_Mypair._Myval2._Myfirst + 10;
if ( a2->_Mypair._Myval2._Myfirst[10].m_data.m_capacity > 0xF )
v13 = (std::_Vector_val>::pointer)v13->m_data.m_bigStorage;
v12 = atof(v13->m_data.m_smallStorage._Elems);
}
else
{
v12 = 0.0;
}
v14 = v12;
a1->m_duration = v14;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 30) )
{
v16 = a2->_Mypair._Myval2._Myfirst + 30;
if ( a2->_Mypair._Myval2._Myfirst[30].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_easingType = v15;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 85) )
{
v18 = a2->_Mypair._Myval2._Myfirst + 85;
if ( a2->_Mypair._Myval2._Myfirst[85].m_data.m_capacity > 0xF )
v18 = (std::_Vector_val>::pointer)v18->m_data.m_bigStorage;
v17 = atof(v18->m_data.m_smallStorage._Elems);
}
else
{
v17 = 0.0;
}
v19 = v17;
a1->m_easingRate = v19;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 150) )
{
v21 = a2->_Mypair._Myval2._Myfirst + 150;
if ( a2->_Mypair._Myval2._Myfirst[150].m_data.m_capacity > 0xF )
v21 = (std::_Vector_val>::pointer)v21->m_data.m_bigStorage;
v20 = atof(v21->m_data.m_smallStorage._Elems);
}
else
{
v20 = 0.0;
}
v22 = v20;
a1->m_objectScaleX = v22;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 151) )
{
v23 = a2->_Mypair._Myval2._Myfirst + 151;
if ( a2->_Mypair._Myval2._Myfirst[151].m_data.m_capacity > 0xF )
v23 = (std::_Vector_val>::pointer)v23->m_data.m_bigStorage;
v11 = atof(v23->m_data.m_smallStorage._Elems);
}
v24 = v11;
a1->m_objectScaleY = v24;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 133) )
{
v26 = a2->_Mypair._Myval2._Myfirst + 133;
if ( a2->_Mypair._Myval2._Myfirst[133].m_data.m_capacity > 0xF )
v26 = (std::_Vector_val>::pointer)v26->m_data.m_bigStorage;
v25 = atoi(v26->m_data.m_smallStorage._Elems);
}
else
{
v25 = 0;
}
a1->m_onlyMove = v25 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 452) )
{
v28 = a2->_Mypair._Myval2._Myfirst + 452;
if ( a2->_Mypair._Myval2._Myfirst[452].m_data.m_capacity > 0xF )
v28 = (std::_Vector_val>::pointer)v28->m_data.m_bigStorage;
v27 = atoi(v28->m_data.m_smallStorage._Elems);
}
else
{
v27 = 0;
}
a1->m_relativeRotation = v27 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 577) )
{
v30 = a2->_Mypair._Myval2._Myfirst + 577;
if ( a2->_Mypair._Myval2._Myfirst[577].m_data.m_capacity > 0xF )
v30 = (std::_Vector_val>::pointer)v30->m_data.m_bigStorage;
v29 = atoi(v30->m_data.m_smallStorage._Elems);
}
else
{
v29 = 0;
}
a1->m_relativeScale = v29 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 153) )
{
v32 = a2->_Mypair._Myval2._Myfirst + 153;
if ( a2->_Mypair._Myval2._Myfirst[153].m_data.m_capacity > 0xF )
v32 = (std::_Vector_val>::pointer)v32->m_data.m_bigStorage;
v31 = atoi(v32->m_data.m_smallStorage._Elems);
}
else
{
v31 = 0;
}
a1->m_divideX = v31 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 154) )
{
v33 = a2->_Mypair._Myval2._Myfirst + 154;
if ( a2->_Mypair._Myval2._Myfirst[154].m_data.m_capacity > 0xF )
v33 = (std::_Vector_val>::pointer)v33->m_data.m_bigStorage;
v6 = atoi(v33->m_data.m_smallStorage._Elems);
}
m_objectScaleX = a1->m_objectScaleX;
a1->m_divideY = v6 != 0;
if ( m_objectScaleX == 0.0 )
a1->m_objectScaleX = 1.0;
if ( a1->m_objectScaleY == 0.0 )
a1->m_objectScaleY = 1.0;
}
}