//
// EnhancedTriggerObject::customObjectSetup from 0x1003874ac to 0x1003875b0 (260 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007fb6d0
//
// 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 EnhancedTriggerObject::customObjectSetup(
EnhancedTriggerObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer capacitym1; // x0
int v8; // w0
std::__vector_base::pointer v9; // x0
int v10; // w0
std::__vector_base::pointer v11; // x0
int v12; // w0
std::__vector_base::pointer v13; // x0
int v14; // w0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( begin[516] )
{
capacitym1 = a2->__begin_ + 516;
if ( a2->__begin_[516].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
v8 = atoi((const char *)capacitym1);
}
else
{
v8 = 0;
}
a1->m_minXID = v8;
if ( begin[517] )
{
v9 = a2->__begin_ + 517;
if ( a2->__begin_[517].m_data.m_short.shortStorage.__elems_[22] < 0 )
v9 = (std::__vector_base::pointer)v9->m_data.m_long.capacitym1;
v10 = atoi((const char *)v9);
}
else
{
v10 = 0;
}
a1->m_minYID = v10;
if ( begin[518] )
{
v11 = a2->__begin_ + 518;
if ( a2->__begin_[518].m_data.m_short.shortStorage.__elems_[22] < 0 )
v11 = (std::__vector_base::pointer)v11->m_data.m_long.capacitym1;
v12 = atoi((const char *)v11);
}
else
{
v12 = 0;
}
a1->m_maxXID = v12;
if ( begin[519] )
{
v13 = a2->__begin_ + 519;
if ( a2->__begin_[519].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v14 = atoi((const char *)v13);
}
else
{
v14 = 0;
}
a1->m_maxYID = v14;
}