//
// SongTriggerGameObject::customObjectSetup from 0x75de40 to 0x75df04 (196 bytes)
//
// 2 xrefs:
// > ??> @ 0xc6210
// > ??> @ 0x116dba8
//
// 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 SongTriggerGameObject::customObjectSetup(
SongTriggerGameObject *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
void *v13; // x0
SFXTriggerGameObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( m_start[399] )
{
v7 = atoi((const char *)a2->m_start[399].m_data.m_data) == 0;
v8 = m_start[400];
v9 = !v7;
a1->m_prep = v9;
if ( v8 )
{
LABEL_6:
v7 = atoi((const char *)a2->m_start[400].m_data.m_data) == 0;
v10 = m_start[432];
v11 = !v7;
a1->m_loadPrep = v11;
if ( v10 )
goto LABEL_10;
goto LABEL_13;
}
}
else
{
v12 = m_start[400];
a1->m_prep = 0;
if ( v12 )
goto LABEL_6;
}
v13 = m_start[432];
a1->m_loadPrep = 0;
if ( v13 )
{
LABEL_10:
a1->m_songChannel = atoi((const char *)a2->m_start[432].m_data.m_data);
return;
}
LABEL_13:
a1->m_songChannel = 0;
}