//
// CheckpointGameObject::customObjectSetup from 0x75df04 to 0x75e010 (268 bytes)
//
// 2 xrefs:
// > ??> @ 0x94458
// > ??> @ 0x116f3a8
//
// 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 CheckpointGameObject::customObjectSetup(
CheckpointGameObject *a1,
std::vector *a2,
std::vector *a3)
{
int v6; // w0
int v7; // w0
void **m_start; // x21
int v9; // w0
void *v10; // x1
void *v11; // x1
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( *((_QWORD *)a3->m_start + 51) )
{
v6 = atoi((const char *)a2->m_start[51].m_data.m_data);
EffectGameObject::setTargetID(a1, v6);
if ( *((_QWORD *)a3->m_start + 71) )
goto LABEL_3;
}
else
{
EffectGameObject::setTargetID(a1, 0);
if ( *((_QWORD *)a3->m_start + 71) )
{
LABEL_3:
v7 = atoi((const char *)a2->m_start[71].m_data.m_data);
EffectGameObject::setTargetID2(a1, v7);
m_start = a3->m_start;
if ( m_start[448] )
goto LABEL_4;
LABEL_8:
v11 = m_start[138];
a1->m_respawnID = 0;
if ( v11 )
goto LABEL_5;
goto LABEL_9;
}
}
EffectGameObject::setTargetID2(a1, 0);
m_start = a3->m_start;
if ( !m_start[448] )
goto LABEL_8;
LABEL_4:
v9 = atoi((const char *)a2->m_start[448].m_data.m_data);
v10 = m_start[138];
a1->m_respawnID = v9;
if ( v10 )
{
LABEL_5:
a1->m_targetPlayer1 = atoi((const char *)a2->m_start[138].m_data.m_data) != 0;
return;
}
LABEL_9:
a1->m_targetPlayer1 = 0;
}