//
// RotateGameplayGameObject::customObjectSetup from 0x74f58c to 0x74f7b8 (556 bytes)
//
// 2 xrefs:
// > ??> @ 0x46f08
// > ??> @ 0x1176ba8
//
// 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 RotateGameplayGameObject::customObjectSetup(
RotateGameplayGameObject *a1,
std::vector *a2,
std::vector *a3)
{
void **m_start; // x19
bool v7; // zf
void *v8; // x0
bool v9; // w1
bool v10; // w1
void *v11; // x0
double v12; // d0
__int64 v13; // x0
double v14; // d0
__int64 v15; // x0
int v16; // w0
void *v17; // x1
int v18; // w0
void *v19; // x1
void *v20; // x0
bool v21; // w1
void *v22; // x0
bool v23; // w1
int v24; // w0
void *v25; // x1
void *v26; // x0
bool v27; // w1
void *v28; // x0
void *v29; // x0
void *v30; // x1
void *v31; // x1
void *v32; // x0
void *v33; // x0
void *v34; // x1
void *v35; // x0
void *v36; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( *((_QWORD *)a3->m_start + 169) )
{
v7 = atoi((const char *)a2->m_start[169].m_data.m_data) == 0;
v8 = m_start[584];
v9 = !v7;
a1->m_editVelocity = v9;
if ( v8 )
goto LABEL_6;
}
else
{
v36 = m_start[584];
a1->m_editVelocity = 0;
if ( v36 )
{
LABEL_6:
v10 = atoi((const char *)a2->m_start[584].m_data.m_data) != 0;
goto LABEL_7;
}
}
v10 = 0;
LABEL_7:
v11 = m_start[582];
a1->m_overrideVelocity = v10;
if ( v11 )
{
v12 = atof((const char *)a2->m_start[582].m_data.m_data);
m_start = a3->m_start;
*(float *)&v12 = v12;
v13 = *((_QWORD *)a3->m_start + 583);
a1->m_velocityModX = *(float *)&v12;
if ( v13 )
goto LABEL_9;
}
else
{
v28 = m_start[583];
a1->m_velocityModX = 0.0;
if ( v28 )
{
LABEL_9:
v14 = atof((const char *)a2->m_start[583].m_data.m_data);
m_start = a3->m_start;
*(float *)&v14 = v14;
v15 = *((_QWORD *)a3->m_start + 166);
a1->m_velocityModY = *(float *)&v14;
if ( v15 )
goto LABEL_10;
goto LABEL_28;
}
}
v29 = m_start[166];
a1->m_velocityModY = 0.0;
if ( v29 )
{
LABEL_10:
v16 = atoi((const char *)a2->m_start[166].m_data.m_data);
v17 = m_start[167];
a1->m_moveDirection = v16;
if ( v17 )
goto LABEL_11;
goto LABEL_29;
}
LABEL_28:
v30 = m_start[167];
a1->m_moveDirection = 0;
if ( v30 )
{
LABEL_11:
v18 = atoi((const char *)a2->m_start[167].m_data.m_data);
v19 = m_start[171];
a1->m_groundDirection = v18;
if ( v19 )
goto LABEL_12;
LABEL_30:
v32 = m_start[172];
a1->m_changeChannel = 0;
if ( v32 )
goto LABEL_16;
LABEL_31:
v33 = m_start[173];
a1->m_channelOnly = 0;
if ( v33 )
goto LABEL_20;
goto LABEL_32;
}
LABEL_29:
v31 = m_start[171];
a1->m_groundDirection = 0;
if ( !v31 )
goto LABEL_30;
LABEL_12:
v7 = atoi((const char *)a2->m_start[171].m_data.m_data) == 0;
v20 = m_start[172];
v21 = !v7;
a1->m_changeChannel = v21;
if ( !v20 )
goto LABEL_31;
LABEL_16:
v7 = atoi((const char *)a2->m_start[172].m_data.m_data) == 0;
v22 = m_start[173];
v23 = !v7;
a1->m_channelOnly = v23;
if ( v22 )
{
LABEL_20:
v24 = atoi((const char *)a2->m_start[173].m_data.m_data);
v25 = m_start[368];
a1->m_targetChannelID = v24;
if ( v25 )
goto LABEL_21;
goto LABEL_33;
}
LABEL_32:
v34 = m_start[368];
a1->m_targetChannelID = 0;
if ( v34 )
{
LABEL_21:
v7 = atoi((const char *)a2->m_start[368].m_data.m_data) == 0;
v26 = m_start[585];
v27 = !v7;
a1->m_instantOffset = v27;
if ( v26 )
goto LABEL_25;
goto LABEL_34;
}
LABEL_33:
v35 = m_start[585];
a1->m_instantOffset = 0;
if ( v35 )
{
LABEL_25:
a1->m_dontSlide = atoi((const char *)a2->m_start[585].m_data.m_data) != 0;
return;
}
LABEL_34:
a1->m_dontSlide = 0;
}