//
// ObjectControlGameObject::customObjectSetup from 0x1001eee90 to 0x1001eef05 (117 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d70a8
//
// 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 begin; // rax
int v6; // r15d
bool v7; // zf
int v8; // eax
std::__vector_base::pointer v9; // rdi
const char *longStorage; // rdi
int v11; // eax
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = 0;
v7 = begin[51] == nullptr;
v8 = 0;
if ( !v7 )
{
v9 = a2->__begin_;
if ( (a2->__begin_[51].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v9[51].m_data.m_long.longStorage;
else
longStorage = v9[51].m_data.m_short.shortStorage.__elems_;
v8 = atoi(longStorage);
}
if ( v8 > 0 )
v6 = v8;
v11 = 9999;
if ( v6 < 9999 )
v11 = v6;
a1->m_targetGroupID = v11;
}