//
// LabelGameObject::customObjectSetup from 0x10038918c to 0x10038930c (384 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f6678
//
// 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 LabelGameObject::customObjectSetup(
LabelGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x22
std::__vector_base::pointer capacitym1; // x0
int v8; // w0
void *v9; // x8
std::__vector_base::pointer v10; // x0
std::__vector_base::pointer v11; // x0
int v12; // w0
std::__vector_base::pointer v13; // x0
__int64 v14; // x1
std::__vector_base::pointer v15; // x0
int v16; // w1
__int64 v17; // x8
std::__vector_base::pointer v18; // x0
begin = a3->__begin_;
if ( *((_QWORD *)a3->__begin_ + 80) )
{
capacitym1 = a2->__begin_ + 80;
if ( a2->__begin_[80].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_itemID = v8;
v9 = begin[389];
if ( v9 )
{
v10 = a2->__begin_ + 389;
if ( a2->__begin_[389].m_data.m_short.shortStorage.__elems_[22] < 0 )
v10 = (std::__vector_base::pointer)v10->m_data.m_long.capacitym1;
LOBYTE(v9) = atoi((const char *)v10) != 0;
}
a1->m_showSecondsOnly = (char)v9;
if ( begin[390] )
{
v11 = a2->__begin_ + 390;
if ( a2->__begin_[390].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 = 0;
}
a1->m_shownSpecial = v12;
if ( begin[488] )
{
v13 = a2->__begin_ + 488;
if ( a2->__begin_[488].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v14 = atoi((const char *)v13);
}
else
{
v14 = 0;
}
((void (__fastcall *)(LabelGameObject *, __int64))a1->updateTextKerning)(a1, v14);
if ( *((_QWORD *)a3->__begin_ + 391) )
{
v15 = a2->__begin_ + 391;
if ( a2->__begin_[391].m_data.m_short.shortStorage.__elems_[22] < 0 )
v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1;
v16 = atoi((const char *)v15);
}
else
{
v16 = 0;
}
LabelGameObject::updateLabelAlign(a1, v16);
v17 = *((_QWORD *)a3->__begin_ + 466);
if ( v17 )
{
v18 = a2->__begin_ + 466;
if ( a2->__begin_[466].m_data.m_short.shortStorage.__elems_[22] < 0 )
v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1;
LOBYTE(v17) = atoi((const char *)v18) != 0;
}
a1->m_isTimeCounter = v17;
}