//
// AudioLineGuideGameObject::customObjectSetup from 0x100396680 to 0x1003967b4 (308 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008060e0
//
// 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 __fastcall AudioLineGuideGameObject::customObjectSetup(
AudioLineGuideGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer capacitym1; // x0
int v8; // w0
std::__vector_base::pointer v9; // x0
int v10; // w0
std::__vector_base::pointer v11; // x0
Speed v12; // w0
void *v13; // x8
std::__vector_base::pointer v14; // x0
std::__vector_base::pointer v15; // x0
float v16; // s0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( begin[498] )
{
capacitym1 = a2->__begin_ + 498;
if ( a2->__begin_[498].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
v8 = atoi((const char *)capacitym1);
}
else
{
v8 = 0;
}
a1->m_beatsPerMinute = v8;
if ( begin[501] )
{
v9 = a2->__begin_ + 501;
if ( a2->__begin_[501].m_data.m_short.shortStorage.__elems_[22] < 0 )
v9 = (std::__vector_base::pointer)v9->m_data.m_long.capacitym1;
v10 = atoi((const char *)v9);
}
else
{
v10 = 0;
}
a1->m_beatsPerBar = v10;
if ( begin[499] )
{
v11 = a2->__begin_ + 499;
if ( a2->__begin_[499].m_data.m_short.shortStorage.__elems_[22] < 0 )
v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1;
v12 = atoi((const char *)v11);
}
else
{
v12 = Normal;
}
a1->m_speed = v12;
v13 = begin[500];
if ( v13 )
{
v14 = a2->__begin_ + 500;
if ( a2->__begin_[500].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
LOBYTE(v13) = atoi((const char *)v14) != 0;
}
a1->m_disabled = (char)v13;
if ( begin[10] )
{
v15 = a2->__begin_ + 10;
if ( a2->__begin_[10].m_data.m_short.shortStorage.__elems_[22] < 0 )
v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1;
v16 = atof((const char *)v15);
}
else
{
v16 = 0.0;
}
a1->m_duration = v16;
}