//
// RotateGameplayGameObject::customObjectSetup from 0x1001f3610 to 0x1001f3925 (789 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d88d8
//
// 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 RotateGameplayGameObject::customObjectSetup(
RotateGameplayGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // r12
std::__vector_base::pointer v6; // rdi
const char *longStorage; // rdi
bool v8; // al
std::__vector_base::pointer v9; // rdi
const char *elems; // rdi
float v11; // xmm1_4
float v12; // xmm0_4
std::__vector_base::pointer v13; // rdi
const char *v14; // rdi
std::__vector_base::pointer v15; // rdi
const char *v16; // rdi
int v17; // r15d
int v18; // eax
std::__vector_base::pointer v19; // rdi
const char *v20; // rdi
std::__vector_base::pointer v21; // rdi
const char *v22; // rdi
std::__vector_base::pointer v23; // rdi
const char *v24; // rdi
std::__vector_base::pointer v25; // rdi
const char *v26; // rdi
std::__vector_base::pointer v27; // rdi
const char *v28; // rdi
std::__vector_base::pointer v29; // rdi
const char *v30; // rdi
std::__vector_base::pointer v31; // rdi
const char *v32; // rdi
bool v33; // al
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( *((_QWORD *)a3->__begin_ + 169) )
{
v6 = a2->__begin_;
if ( (a2->__begin_[169].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v6[169].m_data.m_long.longStorage;
else
longStorage = v6[169].m_data.m_short.shortStorage.__elems_;
a1->m_editVelocity = atoi(longStorage) != 0;
if ( begin[584] )
goto LABEL_8;
LABEL_5:
v8 = 0;
goto LABEL_12;
}
a1->m_editVelocity = 0;
if ( !begin[584] )
goto LABEL_5;
LABEL_8:
v9 = a2->__begin_;
if ( (a2->__begin_[584].m_data.m_short.sizex2 & 1) != 0 )
elems = v9[584].m_data.m_long.longStorage;
else
elems = v9[584].m_data.m_short.shortStorage.__elems_;
v8 = atoi(elems) != 0;
LABEL_12:
a1->m_overrideVelocity = v8;
v11 = 0.0;
v12 = 0.0;
if ( begin[582] )
{
v13 = a2->__begin_;
if ( (a2->__begin_[582].m_data.m_short.sizex2 & 1) != 0 )
v14 = v13[582].m_data.m_long.longStorage;
else
v14 = v13[582].m_data.m_short.shortStorage.__elems_;
v12 = atof(v14);
v11 = 0.0;
}
a1->m_velocityModX = v12;
if ( begin[583] )
{
v15 = a2->__begin_;
if ( (a2->__begin_[583].m_data.m_short.sizex2 & 1) != 0 )
v16 = v15[583].m_data.m_long.longStorage;
else
v16 = v15[583].m_data.m_short.shortStorage.__elems_;
v11 = atof(v16);
}
a1->m_velocityModY = v11;
v17 = 0;
v18 = 0;
if ( begin[166] )
{
v19 = a2->__begin_;
if ( (a2->__begin_[166].m_data.m_short.sizex2 & 1) != 0 )
v20 = v19[166].m_data.m_long.longStorage;
else
v20 = v19[166].m_data.m_short.shortStorage.__elems_;
v18 = atoi(v20);
}
a1->m_moveDirection = v18;
if ( begin[167] )
{
v21 = a2->__begin_;
if ( (a2->__begin_[167].m_data.m_short.sizex2 & 1) != 0 )
v22 = v21[167].m_data.m_long.longStorage;
else
v22 = v21[167].m_data.m_short.shortStorage.__elems_;
v17 = atoi(v22);
}
a1->m_groundDirection = v17;
if ( !begin[171] )
{
a1->m_changeChannel = 0;
if ( begin[172] )
goto LABEL_42;
LABEL_36:
a1->m_channelOnly = 0;
if ( begin[173] )
goto LABEL_50;
LABEL_37:
a1->m_targetChannelID = 0;
if ( !begin[368] )
goto LABEL_56;
LABEL_38:
v25 = a2->__begin_;
if ( (a2->__begin_[368].m_data.m_short.sizex2 & 1) != 0 )
v26 = v25[368].m_data.m_long.longStorage;
else
v26 = v25[368].m_data.m_short.shortStorage.__elems_;
a1->m_instantOffset = atoi(v26) != 0;
if ( !begin[585] )
goto LABEL_57;
goto LABEL_46;
}
v23 = a2->__begin_;
if ( (a2->__begin_[171].m_data.m_short.sizex2 & 1) != 0 )
v24 = v23[171].m_data.m_long.longStorage;
else
v24 = v23[171].m_data.m_short.shortStorage.__elems_;
a1->m_changeChannel = atoi(v24) != 0;
if ( !begin[172] )
goto LABEL_36;
LABEL_42:
v27 = a2->__begin_;
if ( (a2->__begin_[172].m_data.m_short.sizex2 & 1) != 0 )
v28 = v27[172].m_data.m_long.longStorage;
else
v28 = v27[172].m_data.m_short.shortStorage.__elems_;
a1->m_channelOnly = atoi(v28) != 0;
if ( !begin[173] )
goto LABEL_37;
LABEL_50:
v31 = a2->__begin_;
if ( (a2->__begin_[173].m_data.m_short.sizex2 & 1) != 0 )
v32 = v31[173].m_data.m_long.longStorage;
else
v32 = v31[173].m_data.m_short.shortStorage.__elems_;
a1->m_targetChannelID = atoi(v32);
if ( begin[368] )
goto LABEL_38;
LABEL_56:
a1->m_instantOffset = 0;
if ( !begin[585] )
{
LABEL_57:
v33 = 0;
goto LABEL_58;
}
LABEL_46:
v29 = a2->__begin_;
if ( (a2->__begin_[585].m_data.m_short.sizex2 & 1) != 0 )
v30 = v29[585].m_data.m_long.longStorage;
else
v30 = v29[585].m_data.m_short.shortStorage.__elems_;
v33 = atoi(v30) != 0;
LABEL_58:
a1->m_dontSlide = v33;
}