//
// KeyframeAnimTriggerObject::customObjectSetup from 0x74dcd4 to 0x74de50 (380 bytes)
//
// 2 xrefs:
// > ??> @ 0x42408
// > ??> @ 0x1169398
//
// 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)
{
void **m_start; // x0
double v7; // d0
__int64 v8; // x1
double v9; // d0
__int64 v10; // x1
double v11; // d0
__int64 v12; // x1
double v13; // d0
__int64 v14; // x1
float m_scaleXMod; // s1
__int64 v16; // x0
double v17; // d0
float v18; // s1
float v19; // s0
void *v20; // x1
void *v21; // x1
void *v22; // x1
void *v23; // x1
void *v24; // x0
float m_positionYMod; // s2
EffectGameObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( *((_QWORD *)a3->m_start + 520) )
{
v7 = atof((const char *)a2->m_start[520].m_data.m_data);
m_start = a3->m_start;
*(float *)&v7 = v7;
v8 = *((_QWORD *)a3->m_start + 521);
a1->m_timeMod = *(float *)&v7;
if ( v8 )
goto LABEL_3;
}
else
{
v20 = m_start[521];
a1->m_timeMod = 0.0;
if ( v20 )
{
LABEL_3:
v9 = atof((const char *)a2->m_start[521].m_data.m_data);
m_start = a3->m_start;
*(float *)&v9 = v9;
v10 = *((_QWORD *)a3->m_start + 545);
a1->m_positionXMod = *(float *)&v9;
if ( v10 )
goto LABEL_4;
goto LABEL_15;
}
}
v21 = m_start[545];
a1->m_positionXMod = 0.0;
if ( v21 )
{
LABEL_4:
v11 = atof((const char *)a2->m_start[545].m_data.m_data);
m_start = a3->m_start;
*(float *)&v11 = v11;
v12 = *((_QWORD *)a3->m_start + 522);
a1->m_positionYMod = *(float *)&v11;
if ( v12 )
goto LABEL_5;
goto LABEL_16;
}
LABEL_15:
v22 = m_start[522];
a1->m_positionYMod = 0.0;
if ( v22 )
{
LABEL_5:
v13 = atof((const char *)a2->m_start[522].m_data.m_data);
m_start = a3->m_start;
*(float *)&v13 = v13;
v14 = *((_QWORD *)a3->m_start + 523);
a1->m_rotationMod = *(float *)&v13;
if ( v14 )
goto LABEL_6;
goto LABEL_17;
}
LABEL_16:
v23 = m_start[523];
a1->m_rotationMod = 0.0;
if ( v23 )
{
LABEL_6:
m_scaleXMod = atof((const char *)a2->m_start[523].m_data.m_data);
v16 = *((_QWORD *)a3->m_start + 546);
a1->m_scaleXMod = m_scaleXMod;
if ( v16 )
goto LABEL_7;
LABEL_18:
v19 = 0.0;
m_positionYMod = a1->m_positionYMod;
a1->m_scaleYMod = 0.0;
if ( m_positionYMod != 0.0 )
goto LABEL_11;
goto LABEL_8;
}
LABEL_17:
m_scaleXMod = 0.0;
v24 = m_start[546];
a1->m_scaleXMod = 0.0;
if ( !v24 )
goto LABEL_18;
LABEL_7:
v17 = atof((const char *)a2->m_start[546].m_data.m_data);
v18 = a1->m_positionYMod;
v19 = v17;
a1->m_scaleYMod = v19;
if ( v18 == 0.0 )
LABEL_8:
a1->m_positionYMod = a1->m_positionXMod;
if ( v19 != 0.0 )
return;
m_scaleXMod = a1->m_scaleXMod;
LABEL_11:
a1->m_scaleYMod = m_scaleXMod;
}