//
// AudioLineGuideGameObject::customObjectSetup from 0x1404c1810 to 0x1404c194a (314 bytes)
//
// 2 xrefs:
// > ??> @ 0x140615dd8
// > ??> @ 0x1406dcf20
//
// 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)
{
int v6; // edi
int v7; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
int v9; // eax
std::_Vector_val>::pointer v10; // rcx
Speed v11; // eax
std::_Vector_val>::pointer v12; // rcx
std::_Vector_val>::pointer v13; // rcx
float v14; // xmm1_4
std::_Vector_val>::pointer v15; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 498) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 498;
if ( a2->_Mypair._Myval2._Myfirst[498].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v7 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v7 = 0;
}
a1->m_beatsPerMinute = v7;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 501) )
{
v10 = a2->_Mypair._Myval2._Myfirst + 501;
if ( a2->_Mypair._Myval2._Myfirst[501].m_data.m_capacity > 0xF )
v10 = (std::_Vector_val>::pointer)v10->m_data.m_bigStorage;
v9 = atoi(v10->m_data.m_smallStorage._Elems);
}
else
{
v9 = 0;
}
a1->m_beatsPerBar = v9;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 499) )
{
v12 = a2->_Mypair._Myval2._Myfirst + 499;
if ( a2->_Mypair._Myval2._Myfirst[499].m_data.m_capacity > 0xF )
v12 = (std::_Vector_val>::pointer)v12->m_data.m_bigStorage;
v11 = atoi(v12->m_data.m_smallStorage._Elems);
}
else
{
v11 = Normal;
}
a1->m_speed = v11;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 500) )
{
v13 = a2->_Mypair._Myval2._Myfirst + 500;
if ( a2->_Mypair._Myval2._Myfirst[500].m_data.m_capacity > 0xF )
v13 = (std::_Vector_val>::pointer)v13->m_data.m_bigStorage;
v6 = atoi(v13->m_data.m_smallStorage._Elems);
}
a1->m_disabled = v6 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 10) )
{
v15 = a2->_Mypair._Myval2._Myfirst + 10;
if ( a2->_Mypair._Myval2._Myfirst[10].m_data.m_capacity > 0xF )
v15 = (std::_Vector_val>::pointer)v15->m_data.m_bigStorage;
v14 = atof(v15->m_data.m_smallStorage._Elems);
}
else
{
v14 = 0.0;
}
a1->m_duration = v14;
}