//
// KeyframeGameObject::customObjectSetup from 0x10038b340 to 0x10038b740 (1024 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f6e70
//
// 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 KeyframeGameObject::customObjectSetup(
KeyframeGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer capacitym1; // x0
int v8; // w0
std::__vector_base::pointer v9; // x0
int v10; // w0
std::__vector_base::pointer v11; // x0
int v12; // w0
void *v13; // x8
std::__vector_base::pointer v14; // x0
std::__vector_base::pointer v15; // x0
EasingType v16; // w0
float v17; // s8
float v18; // s0
std::__vector_base::pointer v19; // x0
std::__vector_base::pointer v20; // x0
std::__vector_base::pointer v21; // x0
int v22; // w0
void *v23; // x8
std::__vector_base::pointer v24; // x0
std::__vector_base::pointer v25; // x0
float v26; // s0
std::__vector_base::pointer v27; // x0
float v28; // s0
void *v29; // x8
std::__vector_base::pointer v30; // x0
std::__vector_base::pointer v31; // x0
int v32; // w0
void *v33; // x8
std::__vector_base::pointer v34; // x0
void *v35; // x8
std::__vector_base::pointer v36; // x0
void *v37; // x8
std::__vector_base::pointer v38; // x0
std::__vector_base::pointer v39; // x0
int v40; // w0
std::__vector_base::pointer v41; // x0
int v42; // w0
std::__vector_base::pointer v43; // x0
float v44; // s0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( begin[51] )
{
capacitym1 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
v8 = atoi((const char *)capacitym1);
}
else
{
v8 = 0;
}
a1->m_targetGroupID = v8;
if ( begin[373] )
{
v9 = a2->__begin_ + 373;
if ( a2->__begin_[373].m_data.m_short.shortStorage.__elems_[22] < 0 )
v9 = (std::__vector_base::pointer)v9->m_data.m_long.capacitym1;
v10 = atoi((const char *)v9);
}
else
{
v10 = 0;
}
a1->m_keyframeGroup = v10;
if ( begin[374] )
{
v11 = a2->__begin_ + 374;
if ( a2->__begin_[374].m_data.m_short.shortStorage.__elems_[22] < 0 )
v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1;
v12 = atoi((const char *)v11);
}
else
{
v12 = 0;
}
a1->m_keyframeIndex = v12;
v13 = begin[375];
if ( v13 )
{
v14 = a2->__begin_ + 375;
if ( a2->__begin_[375].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
LOBYTE(v13) = atoi((const char *)v14) != 0;
}
a1->m_referenceOnly = (char)v13;
if ( begin[30] )
{
v15 = a2->__begin_ + 30;
if ( a2->__begin_[30].m_data.m_short.shortStorage.__elems_[22] < 0 )
v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1;
v16 = atoi((const char *)v15);
}
else
{
v16 = 0;
}
a1->m_easingType = v16;
v17 = 0.0;
v18 = 0.0;
if ( begin[85] )
{
v19 = a2->__begin_ + 85;
if ( a2->__begin_[85].m_data.m_short.shortStorage.__elems_[22] < 0 )
v19 = (std::__vector_base::pointer)v19->m_data.m_long.capacitym1;
v18 = atof((const char *)v19);
}
if ( v18 <= 0.0 )
v18 = 2.0;
a1->m_easingRate = v18;
if ( begin[10] )
{
v20 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1;
v17 = atof((const char *)v20);
}
a1->m_duration = v17;
if ( begin[71] )
{
v21 = a2->__begin_ + 71;
if ( a2->__begin_[71].m_data.m_short.shortStorage.__elems_[22] < 0 )
v21 = (std::__vector_base::pointer)v21->m_data.m_long.capacitym1;
v22 = atoi((const char *)v21);
}
else
{
v22 = 0;
}
a1->m_centerGroupID = v22;
v23 = begin[377];
if ( v23 )
{
v24 = a2->__begin_ + 377;
if ( a2->__begin_[377].m_data.m_short.shortStorage.__elems_[22] < 0 )
v24 = (std::__vector_base::pointer)v24->m_data.m_long.capacitym1;
LOBYTE(v23) = atoi((const char *)v24) != 0;
}
a1->m_proximity = (char)v23;
if ( begin[557] )
{
v25 = a2->__begin_ + 557;
if ( a2->__begin_[557].m_data.m_short.shortStorage.__elems_[22] < 0 )
v25 = (std::__vector_base::pointer)v25->m_data.m_long.capacitym1;
v26 = atof((const char *)v25);
}
else
{
v26 = 0.0;
}
a1->m_spawnDelay = v26;
if ( begin[63] )
{
v27 = a2->__begin_ + 63;
if ( a2->__begin_[63].m_data.m_short.shortStorage.__elems_[22] < 0 )
v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1;
v28 = atof((const char *)v27);
if ( v28 != 0.0 )
a1->m_spawnDelay = v28;
}
v29 = begin[378];
if ( v29 )
{
v30 = a2->__begin_ + 378;
if ( a2->__begin_[378].m_data.m_short.shortStorage.__elems_[22] < 0 )
v30 = (std::__vector_base::pointer)v30->m_data.m_long.capacitym1;
LOBYTE(v29) = atoi((const char *)v30) != 0;
}
a1->m_curve = (char)v29;
if ( begin[379] )
{
v31 = a2->__begin_ + 379;
if ( a2->__begin_[379].m_data.m_short.shortStorage.__elems_[22] < 0 )
v31 = (std::__vector_base::pointer)v31->m_data.m_long.capacitym1;
v32 = atoi((const char *)v31);
}
else
{
v32 = 0;
}
a1->m_timeMode = v32;
v33 = begin[376];
if ( v33 )
{
v34 = a2->__begin_ + 376;
if ( a2->__begin_[376].m_data.m_short.shortStorage.__elems_[22] < 0 )
v34 = (std::__vector_base::pointer)v34->m_data.m_long.capacitym1;
LOBYTE(v33) = atoi((const char *)v34) != 0;
}
a1->m_closeLoop = (char)v33;
v35 = begin[380];
if ( v35 )
{
v36 = a2->__begin_ + 380;
if ( a2->__begin_[380].m_data.m_short.shortStorage.__elems_[22] < 0 )
v36 = (std::__vector_base::pointer)v36->m_data.m_long.capacitym1;
LOBYTE(v35) = atoi((const char *)v36) != 0;
}
a1->m_previewArt = (char)v35;
v37 = begin[459];
if ( v37 )
{
v38 = a2->__begin_ + 459;
if ( a2->__begin_[459].m_data.m_short.shortStorage.__elems_[22] < 0 )
v38 = (std::__vector_base::pointer)v38->m_data.m_long.capacitym1;
LOBYTE(v37) = atoi((const char *)v38) != 0;
}
a1->m_autoLayer = (char)v37;
if ( begin[536] )
{
v39 = a2->__begin_ + 536;
if ( a2->__begin_[536].m_data.m_short.shortStorage.__elems_[22] < 0 )
v39 = (std::__vector_base::pointer)v39->m_data.m_long.capacitym1;
v40 = atoi((const char *)v39);
}
else
{
v40 = 0;
}
a1->m_direction = v40;
if ( begin[537] )
{
v41 = a2->__begin_ + 537;
if ( a2->__begin_[537].m_data.m_short.shortStorage.__elems_[22] < 0 )
v41 = (std::__vector_base::pointer)v41->m_data.m_long.capacitym1;
v42 = atoi((const char *)v41);
}
else
{
v42 = 0;
}
a1->m_revolutions = v42;
if ( begin[524] )
{
v43 = a2->__begin_ + 524;
if ( a2->__begin_[524].m_data.m_short.shortStorage.__elems_[22] < 0 )
v43 = (std::__vector_base::pointer)v43->m_data.m_long.capacitym1;
v44 = atof((const char *)v43);
}
else
{
v44 = 0.0;
}
a1->m_lineOpacity = v44;
}