//
// PlayerControlGameObject::customObjectSetup from 0x74f430 to 0x74f58c (348 bytes)
//
// 2 xrefs:
// > ??> @ 0xa0308
// > ??> @ 0x1174ba8
//
// 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 PlayerControlGameObject::customObjectSetup(
PlayerControlGameObject *a1,
std::vector *a2,
std::vector *a3)
{
void **m_start; // x20
bool v7; // zf
void *v8; // x0
bool v9; // w1
void *v10; // x0
bool v11; // w1
void *v12; // x0
bool v13; // w1
void *v14; // x0
bool v15; // w1
void *v16; // x0
bool v17; // w1
void *v18; // x0
void *v19; // x0
void *v20; // x0
void *v21; // x0
void *v22; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( !m_start[138] )
{
v18 = m_start[200];
a1->m_targetPlayer1 = 0;
if ( v18 )
goto LABEL_6;
LABEL_24:
v19 = m_start[540];
a1->m_targetPlayer2 = 0;
if ( v19 )
goto LABEL_10;
LABEL_25:
v20 = m_start[541];
a1->m_stopJump = 0;
if ( v20 )
goto LABEL_14;
LABEL_26:
v21 = m_start[542];
a1->m_stopMove = 0;
if ( v21 )
goto LABEL_18;
goto LABEL_27;
}
v7 = atoi((const char *)a2->m_start[138].m_data.m_data) == 0;
v8 = m_start[200];
v9 = !v7;
a1->m_targetPlayer1 = v9;
if ( !v8 )
goto LABEL_24;
LABEL_6:
v7 = atoi((const char *)a2->m_start[200].m_data.m_data) == 0;
v10 = m_start[540];
v11 = !v7;
a1->m_targetPlayer2 = v11;
if ( !v10 )
goto LABEL_25;
LABEL_10:
v7 = atoi((const char *)a2->m_start[540].m_data.m_data) == 0;
v12 = m_start[541];
v13 = !v7;
a1->m_stopJump = v13;
if ( !v12 )
goto LABEL_26;
LABEL_14:
v7 = atoi((const char *)a2->m_start[541].m_data.m_data) == 0;
v14 = m_start[542];
v15 = !v7;
a1->m_stopMove = v15;
if ( v14 )
{
LABEL_18:
v7 = atoi((const char *)a2->m_start[542].m_data.m_data) == 0;
v16 = m_start[543];
v17 = !v7;
a1->m_stopRotation = v17;
if ( v16 )
goto LABEL_22;
goto LABEL_28;
}
LABEL_27:
v22 = m_start[543];
a1->m_stopRotation = 0;
if ( v22 )
{
LABEL_22:
a1->m_stopSlide = atoi((const char *)a2->m_start[543].m_data.m_data) != 0;
return;
}
LABEL_28:
a1->m_stopSlide = 0;
}