//
// KeyframeGameObject::customObjectSetup from 0x1404b57b0 to 0x1404b5be5 (1077 bytes)
//
// 2 xrefs:
// > ??> @ 0x14060f168
// > ??> @ 0x1406dcbfc
//
// 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 KeyframeGameObject::customObjectSetup(
KeyframeGameObject *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
int v11; // eax
std::_Vector_val>::pointer v12; // rcx
int v13; // eax
std::_Vector_val>::pointer v14; // rcx
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
int v23; // eax
std::_Vector_val>::pointer v24; // rcx
int v25; // eax
std::_Vector_val>::pointer v26; // rcx
double v27; // xmm0_8
std::_Vector_val>::pointer v28; // rcx
float v29; // xmm0_4
double v30; // xmm0_8
std::_Vector_val>::pointer v31; // rcx
float v32; // xmm0_4
int v33; // eax
std::_Vector_val>::pointer v34; // rcx
int v35; // eax
std::_Vector_val>::pointer v36; // rcx
int v37; // eax
std::_Vector_val>::pointer v38; // rcx
int v39; // eax
std::_Vector_val>::pointer v40; // rcx
int v41; // eax
std::_Vector_val>::pointer v42; // rcx
int v43; // eax
std::_Vector_val>::pointer v44; // rcx
std::_Vector_val>::pointer v45; // rcx
float v46; // xmm0_4
std::_Vector_val>::pointer v47; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
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 + 373) )
{
v10 = a2->_Mypair._Myval2._Myfirst + 373;
if ( a2->_Mypair._Myval2._Myfirst[373].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_keyframeGroup = v9;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 374) )
{
v12 = a2->_Mypair._Myval2._Myfirst + 374;
if ( a2->_Mypair._Myval2._Myfirst[374].m_data.m_capacity > 0xF )
v12 = (std::_Vector_val>::pointer)v12->m_data.m_bigStorage;
v11 = atoi(v12->m_data.m_smallStorage._Elems);
}
else
{
v11 = 0;
}
a1->m_keyframeIndex = v11;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 375) )
{
v14 = a2->_Mypair._Myval2._Myfirst + 375;
if ( a2->_Mypair._Myval2._Myfirst[375].m_data.m_capacity > 0xF )
v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage;
v13 = atoi(v14->m_data.m_smallStorage._Elems);
}
else
{
v13 = 0;
}
a1->m_referenceOnly = v13 != 0;
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;
if ( v19 <= 0.0 )
v19 = 2.0;
a1->m_easingRate = v19;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 10) )
{
v21 = a2->_Mypair._Myval2._Myfirst + 10;
if ( a2->_Mypair._Myval2._Myfirst[10].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_duration = v22;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 71) )
{
v24 = a2->_Mypair._Myval2._Myfirst + 71;
if ( a2->_Mypair._Myval2._Myfirst[71].m_data.m_capacity > 0xF )
v24 = (std::_Vector_val>::pointer)v24->m_data.m_bigStorage;
v23 = atoi(v24->m_data.m_smallStorage._Elems);
}
else
{
v23 = 0;
}
a1->m_centerGroupID = v23;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 377) )
{
v26 = a2->_Mypair._Myval2._Myfirst + 377;
if ( a2->_Mypair._Myval2._Myfirst[377].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_proximity = v25 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 557) )
{
v28 = a2->_Mypair._Myval2._Myfirst + 557;
if ( a2->_Mypair._Myval2._Myfirst[557].m_data.m_capacity > 0xF )
v28 = (std::_Vector_val>::pointer)v28->m_data.m_bigStorage;
v27 = atof(v28->m_data.m_smallStorage._Elems);
}
else
{
v27 = 0.0;
}
v29 = v27;
a1->m_spawnDelay = v29;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 63) )
{
v31 = a2->_Mypair._Myval2._Myfirst + 63;
if ( a2->_Mypair._Myval2._Myfirst[63].m_data.m_capacity > 0xF )
v31 = (std::_Vector_val>::pointer)v31->m_data.m_bigStorage;
v30 = atof(v31->m_data.m_smallStorage._Elems);
}
else
{
v30 = 0.0;
}
v32 = v30;
if ( v32 != 0.0 )
a1->m_spawnDelay = v32;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 378) )
{
v34 = a2->_Mypair._Myval2._Myfirst + 378;
if ( a2->_Mypair._Myval2._Myfirst[378].m_data.m_capacity > 0xF )
v34 = (std::_Vector_val>::pointer)v34->m_data.m_bigStorage;
v33 = atoi(v34->m_data.m_smallStorage._Elems);
}
else
{
v33 = 0;
}
a1->m_curve = v33 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 379) )
{
v36 = a2->_Mypair._Myval2._Myfirst + 379;
if ( a2->_Mypair._Myval2._Myfirst[379].m_data.m_capacity > 0xF )
v36 = (std::_Vector_val>::pointer)v36->m_data.m_bigStorage;
v35 = atoi(v36->m_data.m_smallStorage._Elems);
}
else
{
v35 = 0;
}
a1->m_timeMode = v35;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 376) )
{
v38 = a2->_Mypair._Myval2._Myfirst + 376;
if ( a2->_Mypair._Myval2._Myfirst[376].m_data.m_capacity > 0xF )
v38 = (std::_Vector_val>::pointer)v38->m_data.m_bigStorage;
v37 = atoi(v38->m_data.m_smallStorage._Elems);
}
else
{
v37 = 0;
}
a1->m_closeLoop = v37 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 380) )
{
v40 = a2->_Mypair._Myval2._Myfirst + 380;
if ( a2->_Mypair._Myval2._Myfirst[380].m_data.m_capacity > 0xF )
v40 = (std::_Vector_val>::pointer)v40->m_data.m_bigStorage;
v39 = atoi(v40->m_data.m_smallStorage._Elems);
}
else
{
v39 = 0;
}
a1->m_previewArt = v39 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 459) )
{
v42 = a2->_Mypair._Myval2._Myfirst + 459;
if ( a2->_Mypair._Myval2._Myfirst[459].m_data.m_capacity > 0xF )
v42 = (std::_Vector_val>::pointer)v42->m_data.m_bigStorage;
v41 = atoi(v42->m_data.m_smallStorage._Elems);
}
else
{
v41 = 0;
}
a1->m_autoLayer = v41 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 536) )
{
v44 = a2->_Mypair._Myval2._Myfirst + 536;
if ( a2->_Mypair._Myval2._Myfirst[536].m_data.m_capacity > 0xF )
v44 = (std::_Vector_val>::pointer)v44->m_data.m_bigStorage;
v43 = atoi(v44->m_data.m_smallStorage._Elems);
}
else
{
v43 = 0;
}
a1->m_direction = v43;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 537) )
{
v45 = a2->_Mypair._Myval2._Myfirst + 537;
if ( a2->_Mypair._Myval2._Myfirst[537].m_data.m_capacity > 0xF )
v45 = (std::_Vector_val>::pointer)v45->m_data.m_bigStorage;
v6 = atoi(v45->m_data.m_smallStorage._Elems);
}
a1->m_revolutions = v6;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 524) )
{
v47 = a2->_Mypair._Myval2._Myfirst + 524;
if ( a2->_Mypair._Myval2._Myfirst[524].m_data.m_capacity > 0xF )
v47 = (std::_Vector_val>::pointer)v47->m_data.m_bigStorage;
v46 = atof(v47->m_data.m_smallStorage._Elems);
}
else
{
v46 = 0.0;
}
a1->m_lineOpacity = v46;
}