//
// TransformTriggerGameObject::customObjectSetup from 0x1003914fc to 0x10039178c (656 bytes)
//
// 1 xrefs:
// > ??> @ 0x100803080
//
// 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 TransformTriggerGameObject::customObjectSetup(
TransformTriggerGameObject *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
float v12; // s0
std::__vector_base::pointer v13; // x0
EasingType v14; // w0
float v15; // s8
float v16; // s0
std::__vector_base::pointer v17; // x0
std::__vector_base::pointer v18; // x0
std::__vector_base::pointer v19; // x0
float v20; // s9
void *v21; // x8
std::__vector_base::pointer v22; // x0
void *v23; // x8
std::__vector_base::pointer v24; // x0
void *v25; // x8
std::__vector_base::pointer v26; // x0
void *v27; // x8
std::__vector_base::pointer v28; // x0
void *v29; // x8
std::__vector_base::pointer v30; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( a1->m_objectID == 2067 )
{
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[71] )
{
v9 = a2->__begin_ + 71;
if ( a2->__begin_[71].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_centerGroupID = v10;
if ( begin[10] )
{
v11 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1;
v12 = atof((const char *)v11);
}
else
{
v12 = 0.0;
}
a1->m_duration = v12;
if ( begin[30] )
{
v13 = a2->__begin_ + 30;
if ( a2->__begin_[30].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v14 = atoi((const char *)v13);
}
else
{
v14 = 0;
}
a1->m_easingType = v14;
v15 = 0.0;
v16 = 0.0;
if ( begin[85] )
{
v17 = a2->__begin_ + 85;
if ( a2->__begin_[85].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_easingRate = v16;
if ( begin[150] )
{
v18 = a2->__begin_ + 150;
if ( a2->__begin_[150].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_objectScaleX = v15;
if ( begin[151] )
{
v19 = a2->__begin_ + 151;
if ( a2->__begin_[151].m_data.m_short.shortStorage.__elems_[22] < 0 )
v19 = (std::__vector_base::pointer)v19->m_data.m_long.capacitym1;
v20 = atof((const char *)v19);
}
else
{
v20 = 0.0;
}
a1->m_objectScaleY = v20;
v21 = begin[133];
if ( v21 )
{
v22 = a2->__begin_ + 133;
if ( a2->__begin_[133].m_data.m_short.shortStorage.__elems_[22] < 0 )
v22 = (std::__vector_base::pointer)v22->m_data.m_long.capacitym1;
LOBYTE(v21) = atoi((const char *)v22) != 0;
}
a1->m_onlyMove = (char)v21;
v23 = begin[452];
if ( v23 )
{
v24 = a2->__begin_ + 452;
if ( a2->__begin_[452].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_relativeRotation = (char)v23;
v25 = begin[577];
if ( v25 )
{
v26 = a2->__begin_ + 577;
if ( a2->__begin_[577].m_data.m_short.shortStorage.__elems_[22] < 0 )
v26 = (std::__vector_base::pointer)v26->m_data.m_long.capacitym1;
LOBYTE(v25) = atoi((const char *)v26) != 0;
}
a1->m_relativeScale = (char)v25;
v27 = begin[153];
if ( v27 )
{
v28 = a2->__begin_ + 153;
if ( a2->__begin_[153].m_data.m_short.shortStorage.__elems_[22] < 0 )
v28 = (std::__vector_base::pointer)v28->m_data.m_long.capacitym1;
LOBYTE(v27) = atoi((const char *)v28) != 0;
}
a1->m_divideX = (char)v27;
v29 = begin[154];
if ( v29 )
{
v30 = a2->__begin_ + 154;
if ( a2->__begin_[154].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_divideY = (char)v29;
if ( v15 == 0.0 )
a1->m_objectScaleX = 1.0;
if ( v20 == 0.0 )
a1->m_objectScaleY = 1.0;
}
}