//
// AudioLineGuideGameObject::customObjectSetup from 0x74f178 to 0x74f278 (256 bytes)
//
// 2 xrefs:
// > ??> @ 0x39828
// > ??> @ 0x11733a8
//
// 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 AudioLineGuideGameObject::customObjectSetup(
AudioLineGuideGameObject *a1,
std::vector *a2,
std::vector *a3)
{
void **m_start; // x20
int v7; // w0
void *v8; // x1
int v9; // w0
void *v10; // x1
Speed v11; // w0
void *v12; // x1
bool v13; // w1
void *v14; // x0
float v15; // s0
void *v16; // x1
void *v17; // x1
EffectGameObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( m_start[498] )
{
v7 = atoi((const char *)a2->m_start[498].m_data.m_data);
v8 = m_start[501];
a1->m_beatsPerMinute = v7;
if ( v8 )
goto LABEL_3;
LABEL_12:
v17 = m_start[499];
a1->m_beatsPerBar = 0;
if ( v17 )
goto LABEL_4;
goto LABEL_13;
}
v16 = m_start[501];
a1->m_beatsPerMinute = 0;
if ( !v16 )
goto LABEL_12;
LABEL_3:
v9 = atoi((const char *)a2->m_start[501].m_data.m_data);
v10 = m_start[499];
a1->m_beatsPerBar = v9;
if ( v10 )
{
LABEL_4:
v11 = atoi((const char *)a2->m_start[499].m_data.m_data);
goto LABEL_5;
}
LABEL_13:
v11 = Normal;
LABEL_5:
v12 = m_start[500];
a1->m_speed = v11;
if ( v12 )
v13 = atoi((const char *)a2->m_start[500].m_data.m_data) != 0;
else
v13 = 0;
v14 = m_start[10];
a1->m_disabled = v13;
if ( v14 )
{
v15 = atof((const char *)a2->m_start[10].m_data.m_data);
a1->m_duration = v15;
}
else
{
a1->m_duration = 0.0;
}
}