//
// ObjectControlGameObject::customObjectSetup from 0x1404c2f40 to 0x1404c2fc6 (134 bytes)
//
// 2 xrefs:
// > ??> @ 0x14061d820
// > ??> @ 0x1406dcfb0
//
// 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 ObjectControlGameObject::customObjectSetup(
ObjectControlGameObject *a1,
std::vector *a2,
std::vector *a3)
{
int v6; // edx
std::_Vector_val>::pointer m_bigStorage; // rcx
int v8; // eax
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( !*((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) )
{
v6 = 0;
LABEL_3:
a1->m_targetGroupID = v6;
return;
}
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 51;
if ( a2->_Mypair._Myval2._Myfirst[51].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v8 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
if ( v8 < 0 )
v8 = 0;
v6 = v8;
if ( v8 <= 9999 )
goto LABEL_3;
a1->m_targetGroupID = 9999;
}