//
// EnhancedTriggerObject::customObjectSetup from 0x1001bd5e0 to 0x1001bd6e5 (261 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ca658
//
// 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; // r12
int v6; // r15d
int v7; // eax
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // rdi
const char *elems; // rdi
int v12; // r15d
int v13; // eax
std::__vector_base::pointer v14; // rdi
const char *v15; // rdi
std::__vector_base::pointer v16; // rdi
const char *v17; // rdi
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = 0;
v7 = 0;
if ( begin[516] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[516].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[516].m_data.m_long.longStorage;
else
longStorage = v8[516].m_data.m_short.shortStorage.__elems_;
v7 = atoi(longStorage);
}
a1->m_minXID = v7;
if ( begin[517] )
{
v10 = a2->__begin_;
if ( (a2->__begin_[517].m_data.m_short.sizex2 & 1) != 0 )
elems = v10[517].m_data.m_long.longStorage;
else
elems = v10[517].m_data.m_short.shortStorage.__elems_;
v6 = atoi(elems);
}
a1->m_minYID = v6;
v12 = 0;
v13 = 0;
if ( begin[518] )
{
v14 = a2->__begin_;
if ( (a2->__begin_[518].m_data.m_short.sizex2 & 1) != 0 )
v15 = v14[518].m_data.m_long.longStorage;
else
v15 = v14[518].m_data.m_short.shortStorage.__elems_;
v13 = atoi(v15);
}
a1->m_maxXID = v13;
if ( begin[519] )
{
v16 = a2->__begin_;
if ( (a2->__begin_[519].m_data.m_short.sizex2 & 1) != 0 )
v17 = v16[519].m_data.m_long.longStorage;
else
v17 = v16[519].m_data.m_short.shortStorage.__elems_;
v12 = atoi(v17);
}
a1->m_maxYID = v12;
}