//
// ObjectControlGameObject::customObjectSetup from 0x100397b80 to 0x100397bf0 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100808120
//
// 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 ObjectControlGameObject::customObjectSetup(
ObjectControlGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer capacitym1; // x0
int v7; // w0
int v8; // w8
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( *((_QWORD *)a3->__begin_ + 51) )
{
capacitym1 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
v7 = atoi((const char *)capacitym1);
}
else
{
v7 = 0;
}
v8 = v7 & ~(v7 >> 31);
if ( v8 >= 9999 )
v8 = 9999;
a1->m_targetGroupID = v8;
}