//
// EnhancedTriggerObject::customObjectSetup from 0x74de50 to 0x74df2c (220 bytes)
//
// 2 xrefs:
// > ??> @ 0x47a60
// > ??> @ 0x1169b98
//
// 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 EnhancedTriggerObject::customObjectSetup(
EnhancedTriggerObject *a1,
std::vector *a2,
std::vector *a3)
{
void **m_start; // x20
int v7; // w0
void *v8; // x1
int v9; // w0
void *v10; // x1
int v11; // w0
void *v12; // x1
void *v13; // x1
void *v14; // x1
void *v15; // x1
EffectGameObject::customObjectSetup(a1, a2, a3);
m_start = a3->m_start;
if ( m_start[516] )
{
v7 = atoi((const char *)a2->m_start[516].m_data.m_data);
v8 = m_start[517];
a1->m_minXID = v7;
if ( v8 )
goto LABEL_3;
}
else
{
v13 = m_start[517];
a1->m_minXID = 0;
if ( v13 )
{
LABEL_3:
v9 = atoi((const char *)a2->m_start[517].m_data.m_data);
v10 = m_start[518];
a1->m_minYID = v9;
if ( v10 )
goto LABEL_4;
LABEL_8:
v15 = m_start[519];
a1->m_maxXID = 0;
if ( v15 )
goto LABEL_5;
goto LABEL_9;
}
}
v14 = m_start[518];
a1->m_minYID = 0;
if ( !v14 )
goto LABEL_8;
LABEL_4:
v11 = atoi((const char *)a2->m_start[518].m_data.m_data);
v12 = m_start[519];
a1->m_maxXID = v11;
if ( v12 )
{
LABEL_5:
a1->m_maxYID = atoi((const char *)a2->m_start[519].m_data.m_data);
return;
}
LABEL_9:
a1->m_maxYID = 0;
}