//
// TransformTriggerGameObject::customObjectSetup from 0x1001d9660 to 0x1001d9a40 (992 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d2008
//
// 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; // r12
int v6; // r15d
int v7; // eax
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // rdi
const char *elems; // rdi
std::__vector_base::pointer v12; // rdi
const char *v13; // rdi
EasingType v14; // eax
float v15; // xmm0_4
std::__vector_base::pointer v16; // rdi
const char *v17; // rdi
float v18; // xmm0_4
std::__vector_base::pointer v19; // rdi
const char *v20; // rdi
std::__vector_base::pointer v21; // rdi
const char *v22; // rdi
float v23; // xmm0_4
std::__vector_base::pointer v24; // rdi
const char *v25; // rdi
float v26; // xmm2_4
bool v27; // al
std::__vector_base::pointer v28; // rdi
const char *v29; // rdi
std::__vector_base::pointer v30; // rdi
const char *v31; // rdi
std::__vector_base::pointer v32; // rdi
const char *v33; // rdi
std::__vector_base::pointer v34; // rdi
const char *v35; // rdi
std::__vector_base::pointer v36; // rdi
const char *v37; // rdi
float v38; // [rsp+8h] [rbp-28h]
float v39; // [rsp+Ch] [rbp-24h]
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( a1->m_objectID != 2067 )
return;
begin = a3->__begin_;
v6 = 0;
v7 = 0;
if ( begin[51] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[51].m_data.m_long.longStorage;
else
longStorage = v8[51].m_data.m_short.shortStorage.__elems_;
v7 = atoi(longStorage);
}
a1->m_targetGroupID = v7;
if ( begin[71] )
{
v10 = a2->__begin_;
if ( (a2->__begin_[71].m_data.m_short.sizex2 & 1) != 0 )
elems = v10[71].m_data.m_long.longStorage;
else
elems = v10[71].m_data.m_short.shortStorage.__elems_;
v6 = atoi(elems);
}
a1->m_centerGroupID = v6;
if ( begin[10] )
{
v12 = a2->__begin_;
if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 )
v13 = v12[10].m_data.m_long.longStorage;
else
v13 = v12[10].m_data.m_short.shortStorage.__elems_;
v15 = atof(v13);
a1->m_duration = v15;
if ( begin[30] )
goto LABEL_19;
LABEL_16:
v14 = 0;
goto LABEL_23;
}
a1->m_duration = 0.0;
if ( !begin[30] )
goto LABEL_16;
LABEL_19:
v16 = a2->__begin_;
if ( (a2->__begin_[30].m_data.m_short.sizex2 & 1) != 0 )
v17 = v16[30].m_data.m_long.longStorage;
else
v17 = v16[30].m_data.m_short.shortStorage.__elems_;
v14 = atoi(v17);
LABEL_23:
a1->m_easingType = v14;
v18 = 0.0;
v38 = 0.0;
if ( begin[85] )
{
v19 = a2->__begin_;
if ( (a2->__begin_[85].m_data.m_short.sizex2 & 1) != 0 )
v20 = v19[85].m_data.m_long.longStorage;
else
v20 = v19[85].m_data.m_short.shortStorage.__elems_;
v18 = atof(v20);
}
a1->m_easingRate = v18;
if ( begin[150] )
{
v21 = a2->__begin_;
if ( (a2->__begin_[150].m_data.m_short.sizex2 & 1) != 0 )
v22 = v21[150].m_data.m_long.longStorage;
else
v22 = v21[150].m_data.m_short.shortStorage.__elems_;
v23 = atof(v22);
v38 = v23;
}
a1->m_objectScaleX = v38;
if ( !begin[151] )
{
v26 = 0.0;
a1->m_objectScaleY = 0.0;
v39 = 0.0;
if ( begin[133] )
goto LABEL_44;
LABEL_37:
a1->m_onlyMove = 0;
if ( begin[452] )
goto LABEL_48;
LABEL_38:
a1->m_relativeRotation = 0;
if ( begin[577] )
goto LABEL_52;
LABEL_39:
a1->m_relativeScale = 0;
if ( begin[153] )
goto LABEL_56;
goto LABEL_40;
}
v24 = a2->__begin_;
if ( (a2->__begin_[151].m_data.m_short.sizex2 & 1) != 0 )
v25 = v24[151].m_data.m_long.longStorage;
else
v25 = v24[151].m_data.m_short.shortStorage.__elems_;
v26 = atof(v25);
a1->m_objectScaleY = v26;
v39 = v26;
if ( !begin[133] )
goto LABEL_37;
LABEL_44:
v28 = a2->__begin_;
if ( (a2->__begin_[133].m_data.m_short.sizex2 & 1) != 0 )
v29 = v28[133].m_data.m_long.longStorage;
else
v29 = v28[133].m_data.m_short.shortStorage.__elems_;
v26 = v39;
a1->m_onlyMove = atoi(v29) != 0;
if ( !begin[452] )
goto LABEL_38;
LABEL_48:
v30 = a2->__begin_;
if ( (a2->__begin_[452].m_data.m_short.sizex2 & 1) != 0 )
v31 = v30[452].m_data.m_long.longStorage;
else
v31 = v30[452].m_data.m_short.shortStorage.__elems_;
v26 = v39;
a1->m_relativeRotation = atoi(v31) != 0;
if ( !begin[577] )
goto LABEL_39;
LABEL_52:
v32 = a2->__begin_;
if ( (a2->__begin_[577].m_data.m_short.sizex2 & 1) != 0 )
v33 = v32[577].m_data.m_long.longStorage;
else
v33 = v32[577].m_data.m_short.shortStorage.__elems_;
v26 = v39;
a1->m_relativeScale = atoi(v33) != 0;
if ( begin[153] )
{
LABEL_56:
v34 = a2->__begin_;
if ( (a2->__begin_[153].m_data.m_short.sizex2 & 1) != 0 )
v35 = v34[153].m_data.m_long.longStorage;
else
v35 = v34[153].m_data.m_short.shortStorage.__elems_;
v26 = v39;
a1->m_divideX = atoi(v35) != 0;
if ( begin[154] )
goto LABEL_60;
LABEL_41:
v27 = 0;
goto LABEL_64;
}
LABEL_40:
a1->m_divideX = 0;
if ( !begin[154] )
goto LABEL_41;
LABEL_60:
v36 = a2->__begin_;
if ( (a2->__begin_[154].m_data.m_short.sizex2 & 1) != 0 )
v37 = v36[154].m_data.m_long.longStorage;
else
v37 = v36[154].m_data.m_short.shortStorage.__elems_;
v27 = atoi(v37) != 0;
v26 = v39;
LABEL_64:
a1->m_divideY = v27;
if ( v38 == 0.0 )
a1->m_objectScaleX = 1.0;
if ( v26 == 0.0 )
a1->m_objectScaleY = 1.0;
}