//
// AudioLineGuideGameObject::customObjectSetup from 0x1001eb880 to 0x1001eb9db (347 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d5068
//
// 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; // r12
int v6; // r15d
int v7; // eax
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // rdi
const char *elems; // rdi
std::__vector_base::pointer v12; // rdi
const char *v13; // rdi
float v14; // xmm0_4
std::__vector_base::pointer v15; // rdi
const char *v16; // rdi
std::__vector_base::pointer v17; // rdi
const char *v18; // rdi
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = 0;
v7 = 0;
if ( begin[498] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[498].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[498].m_data.m_long.longStorage;
else
longStorage = v8[498].m_data.m_short.shortStorage.__elems_;
v7 = atoi(longStorage);
}
a1->m_beatsPerMinute = v7;
if ( begin[501] )
{
v10 = a2->__begin_;
if ( (a2->__begin_[501].m_data.m_short.sizex2 & 1) != 0 )
elems = v10[501].m_data.m_long.longStorage;
else
elems = v10[501].m_data.m_short.shortStorage.__elems_;
v6 = atoi(elems);
}
a1->m_beatsPerBar = v6;
if ( begin[499] )
{
v12 = a2->__begin_;
if ( (a2->__begin_[499].m_data.m_short.sizex2 & 1) != 0 )
v13 = v12[499].m_data.m_long.longStorage;
else
v13 = v12[499].m_data.m_short.shortStorage.__elems_;
a1->m_speed = atoi(v13);
if ( begin[500] )
{
LABEL_19:
v15 = a2->__begin_;
if ( (a2->__begin_[500].m_data.m_short.sizex2 & 1) != 0 )
v16 = v15[500].m_data.m_long.longStorage;
else
v16 = v15[500].m_data.m_short.shortStorage.__elems_;
a1->m_disabled = atoi(v16) != 0;
if ( begin[10] )
goto LABEL_23;
LABEL_16:
v14 = 0.0;
goto LABEL_27;
}
}
else
{
a1->m_speed = Normal;
if ( begin[500] )
goto LABEL_19;
}
a1->m_disabled = 0;
if ( !begin[10] )
goto LABEL_16;
LABEL_23:
v17 = a2->__begin_;
if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 )
v18 = v17[10].m_data.m_long.longStorage;
else
v18 = v17[10].m_data.m_short.shortStorage.__elems_;
v14 = atof(v18);
LABEL_27:
a1->m_duration = v14;
}