//
// KeyframeAnimTriggerObject::customObjectSetup from 0x1404b1a00 to 0x1404b1bbc (444 bytes)
//
// 2 xrefs:
// > ??> @ 0x14060f810
// > ??> @ 0x1406dc95c
//
// 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 KeyframeAnimTriggerObject::customObjectSetup(
KeyframeAnimTriggerObject *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
double v16; // xmm0_8
std::_Vector_val>::pointer v17; // rcx
float v18; // xmm0_4
double v19; // xmm0_8
std::_Vector_val>::pointer v20; // rcx
float v21; // xmm0_4
std::_Vector_val>::pointer v22; // rcx
float m_positionYMod; // xmm0_4
float v24; // xmm1_4
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = 0.0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 520) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 520;
if ( a2->_Mypair._Myval2._Myfirst[520].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_timeMod = v9;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 521) )
{
v11 = a2->_Mypair._Myval2._Myfirst + 521;
if ( a2->_Mypair._Myval2._Myfirst[521].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_positionXMod = v12;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 545) )
{
v14 = a2->_Mypair._Myval2._Myfirst + 545;
if ( a2->_Mypair._Myval2._Myfirst[545].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_positionYMod = v15;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 522) )
{
v17 = a2->_Mypair._Myval2._Myfirst + 522;
if ( a2->_Mypair._Myval2._Myfirst[522].m_data.m_capacity > 0xF )
v17 = (std::_Vector_val>::pointer)v17->m_data.m_bigStorage;
v16 = atof(v17->m_data.m_smallStorage._Elems);
}
else
{
v16 = 0.0;
}
v18 = v16;
a1->m_rotationMod = v18;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 523) )
{
v20 = a2->_Mypair._Myval2._Myfirst + 523;
if ( a2->_Mypair._Myval2._Myfirst[523].m_data.m_capacity > 0xF )
v20 = (std::_Vector_val>::pointer)v20->m_data.m_bigStorage;
v19 = atof(v20->m_data.m_smallStorage._Elems);
}
else
{
v19 = 0.0;
}
v21 = v19;
a1->m_scaleXMod = v21;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 546) )
{
v22 = a2->_Mypair._Myval2._Myfirst + 546;
if ( a2->_Mypair._Myval2._Myfirst[546].m_data.m_capacity > 0xF )
v22 = (std::_Vector_val>::pointer)v22->m_data.m_bigStorage;
v6 = atof(v22->m_data.m_smallStorage._Elems);
}
m_positionYMod = a1->m_positionYMod;
v24 = v6;
a1->m_scaleYMod = v24;
if ( m_positionYMod == 0.0 )
a1->m_positionYMod = a1->m_positionXMod;
if ( v24 == 0.0 )
a1->m_scaleYMod = a1->m_scaleXMod;
}