//
// KeyframeAnimTriggerObject::customObjectSetup from 0x1001bc7c0 to 0x1001bc9a4 (484 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c9e48
//
// 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; // r15
float v6; // xmm0_4
std::__vector_base::pointer v7; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v9; // rdi
const char *elems; // rdi
float v11; // xmm0_4
float v12; // xmm0_4
float v13; // xmm1_4
std::__vector_base::pointer v14; // rdi
const char *v15; // rdi
std::__vector_base::pointer v16; // rdi
const char *v17; // rdi
float v18; // xmm3_4
float v19; // xmm2_4
std::__vector_base::pointer v20; // rdi
const char *v21; // rdi
std::__vector_base::pointer v22; // rdi
const char *v23; // rdi
float v24; // [rsp+10h] [rbp-20h]
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = 0.0;
v24 = 0.0;
if ( begin[520] )
{
v7 = a2->__begin_;
if ( (a2->__begin_[520].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v7[520].m_data.m_long.longStorage;
else
longStorage = v7[520].m_data.m_short.shortStorage.__elems_;
v6 = atof(longStorage);
}
a1->m_timeMod = v6;
if ( begin[521] )
{
v9 = a2->__begin_;
if ( (a2->__begin_[521].m_data.m_short.sizex2 & 1) != 0 )
elems = v9[521].m_data.m_long.longStorage;
else
elems = v9[521].m_data.m_short.shortStorage.__elems_;
v11 = atof(elems);
v24 = v11;
}
a1->m_positionXMod = v24;
v12 = 0.0;
v13 = 0.0;
if ( begin[545] )
{
v14 = a2->__begin_;
if ( (a2->__begin_[545].m_data.m_short.sizex2 & 1) != 0 )
v15 = v14[545].m_data.m_long.longStorage;
else
v15 = v14[545].m_data.m_short.shortStorage.__elems_;
v13 = atof(v15);
v12 = 0.0;
}
a1->m_positionYMod = v13;
if ( begin[522] )
{
v16 = a2->__begin_;
if ( (a2->__begin_[522].m_data.m_short.sizex2 & 1) != 0 )
v17 = v16[522].m_data.m_long.longStorage;
else
v17 = v16[522].m_data.m_short.shortStorage.__elems_;
v12 = atof(v17);
}
a1->m_rotationMod = v12;
v18 = 0.0;
v19 = 0.0;
if ( begin[523] )
{
v20 = a2->__begin_;
if ( (a2->__begin_[523].m_data.m_short.sizex2 & 1) != 0 )
v21 = v20[523].m_data.m_long.longStorage;
else
v21 = v20[523].m_data.m_short.shortStorage.__elems_;
v19 = atof(v21);
v18 = 0.0;
}
a1->m_scaleXMod = v19;
if ( begin[546] )
{
v22 = a2->__begin_;
if ( (a2->__begin_[546].m_data.m_short.sizex2 & 1) != 0 )
v23 = v22[546].m_data.m_long.longStorage;
else
v23 = v22[546].m_data.m_short.shortStorage.__elems_;
v18 = atof(v23);
}
a1->m_scaleYMod = v18;
if ( v13 == 0.0 )
a1->m_positionYMod = v24;
if ( v18 == 0.0 )
a1->m_scaleYMod = v19;
}