//
// LabelGameObject::customObjectSetup from 0x1404b3ae0 to 0x1404b3c4b (363 bytes)
//
// 2 xrefs:
// > ??> @ 0x14061c428
// > ??> @ 0x1406dcb00
//
// 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 LabelGameObject::customObjectSetup(LabelGameObject *a1, std::vector *a2, std::vector *a3)
{
int v3; // ebx
int v7; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
int v9; // eax
std::_Vector_val>::pointer v10; // rcx
int v11; // eax
std::_Vector_val>::pointer v12; // rcx
int v13; // eax
std::_Vector_val>::pointer v14; // rcx
int v15; // eax
std::_Vector_val>::pointer v16; // rcx
std::_Vector_val>::pointer v17; // rcx
v3 = 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 80) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 80;
if ( a2->_Mypair._Myval2._Myfirst[80].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_itemID = v7;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 389) )
{
v10 = a2->_Mypair._Myval2._Myfirst + 389;
if ( a2->_Mypair._Myval2._Myfirst[389].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_showSecondsOnly = v9 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 390) )
{
v12 = a2->_Mypair._Myval2._Myfirst + 390;
if ( a2->_Mypair._Myval2._Myfirst[390].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 = 0;
}
a1->m_shownSpecial = v11;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 488) )
{
v14 = a2->_Mypair._Myval2._Myfirst + 488;
if ( a2->_Mypair._Myval2._Myfirst[488].m_data.m_capacity > 0xF )
v14 = (std::_Vector_val>::pointer)v14->m_data.m_bigStorage;
v13 = atoi(v14->m_data.m_smallStorage._Elems);
}
else
{
v13 = 0;
}
a1->updateTextKerning(a1, v13);
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 391) )
{
v16 = a2->_Mypair._Myval2._Myfirst + 391;
if ( a2->_Mypair._Myval2._Myfirst[391].m_data.m_capacity > 0xF )
v16 = (std::_Vector_val>::pointer)v16->m_data.m_bigStorage;
v15 = atoi(v16->m_data.m_smallStorage._Elems);
}
else
{
v15 = 0;
}
LabelGameObject::updateLabelAlign(a1, v15);
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 466) )
{
v17 = a2->_Mypair._Myval2._Myfirst + 466;
if ( a2->_Mypair._Myval2._Myfirst[466].m_data.m_capacity > 0xF )
v17 = (std::_Vector_val>::pointer)v17->m_data.m_bigStorage;
v3 = atoi(v17->m_data.m_smallStorage._Elems);
}
a1->m_isTimeCounter = v3 != 0;
}