//
// KeyframeAnimTriggerObject::customObjectSetup from 0x100386fb4 to 0x100387148 (404 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007faec0
//
// 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 KeyframeAnimTriggerObject::customObjectSetup(
KeyframeAnimTriggerObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
float v7; // s8
float v8; // s0
std::__vector_base::pointer capacitym1; // x0
std::__vector_base::pointer v10; // x0
float v11; // s10
float v12; // s9
std::__vector_base::pointer v13; // x0
std::__vector_base::pointer v14; // x0
float v15; // s11
float v16; // s10
std::__vector_base::pointer v17; // x0
std::__vector_base::pointer v18; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v7 = 0.0;
v8 = 0.0;
if ( begin[520] )
{
capacitym1 = a2->__begin_ + 520;
if ( a2->__begin_[520].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
v8 = atof((const char *)capacitym1);
}
a1->m_timeMod = v8;
if ( begin[521] )
{
v10 = a2->__begin_ + 521;
if ( a2->__begin_[521].m_data.m_short.shortStorage.__elems_[22] < 0 )
v10 = (std::__vector_base::pointer)v10->m_data.m_long.capacitym1;
v7 = atof((const char *)v10);
}
a1->m_positionXMod = v7;
v11 = 0.0;
v12 = 0.0;
if ( begin[545] )
{
v13 = a2->__begin_ + 545;
if ( a2->__begin_[545].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v12 = atof((const char *)v13);
}
a1->m_positionYMod = v12;
if ( begin[522] )
{
v14 = a2->__begin_ + 522;
if ( a2->__begin_[522].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
v11 = atof((const char *)v14);
}
a1->m_rotationMod = v11;
v15 = 0.0;
v16 = 0.0;
if ( begin[523] )
{
v17 = a2->__begin_ + 523;
if ( a2->__begin_[523].m_data.m_short.shortStorage.__elems_[22] < 0 )
v17 = (std::__vector_base::pointer)v17->m_data.m_long.capacitym1;
v16 = atof((const char *)v17);
}
a1->m_scaleXMod = v16;
if ( begin[546] )
{
v18 = a2->__begin_ + 546;
if ( a2->__begin_[546].m_data.m_short.shortStorage.__elems_[22] < 0 )
v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1;
v15 = atof((const char *)v18);
}
a1->m_scaleYMod = v15;
if ( v12 == 0.0 )
a1->m_positionYMod = v7;
if ( v15 == 0.0 )
a1->m_scaleYMod = v16;
}