//
// SmartGameObject::customObjectSetup from 0x14049fab0 to 0x14049fafc (76 bytes)
//
// 2 xrefs:
// > ??> @ 0x14060e210
// > ??> @ 0x1406dc470
//
// 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 SmartGameObject::customObjectSetup(SmartGameObject *a1, std::vector *a2, std::vector *a3)
{
int v4; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 157) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 157;
if ( a2->_Mypair._Myval2._Myfirst[157].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v4 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v4 = 0;
}
a1->m_referenceOnly = v4 != 0;
SmartGameObject::updateSmartFrame(a1);
}