//
// UISettingsGameObject::customObjectSetup from 0x75e154 to 0x75e2b8 (356 bytes)
//
// 2 xrefs:
// > ??> @ 0x5e6e0
// > ??> @ 0x11713a8
//
// 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 UISettingsGameObject::customObjectSetup(
UISettingsGameObject *a1,
std::vector *a2,
std::vector *a3)
{
int v6; // w0
int v7; // w0
void **m_start; // x21
int v9; // w0
void *v10; // x1
int v11; // w0
void *v12; // x1
bool v13; // zf
void *v14; // x0
bool v15; // w1
void *v16; // x1
void *v17; // x1
void *v18; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( *((_QWORD *)a3->m_start + 51) )
{
v6 = atoi((const char *)a2->m_start[51].m_data.m_data);
EffectGameObject::setTargetID(a1, v6);
if ( *((_QWORD *)a3->m_start + 71) )
goto LABEL_3;
}
else
{
EffectGameObject::setTargetID(a1, 0);
if ( *((_QWORD *)a3->m_start + 71) )
{
LABEL_3:
v7 = atoi((const char *)a2->m_start[71].m_data.m_data);
EffectGameObject::setTargetID2(a1, v7);
m_start = a3->m_start;
if ( m_start[385] )
goto LABEL_4;
goto LABEL_13;
}
}
EffectGameObject::setTargetID2(a1, 0);
m_start = a3->m_start;
if ( m_start[385] )
{
LABEL_4:
v9 = atoi((const char *)a2->m_start[385].m_data.m_data);
v10 = m_start[386];
a1->m_xRef = v9;
if ( v10 )
goto LABEL_5;
goto LABEL_14;
}
LABEL_13:
v16 = m_start[386];
a1->m_xRef = 0;
if ( v16 )
{
LABEL_5:
v11 = atoi((const char *)a2->m_start[386].m_data.m_data);
v12 = m_start[387];
a1->m_yRef = v11;
if ( v12 )
goto LABEL_6;
goto LABEL_15;
}
LABEL_14:
v17 = m_start[387];
a1->m_yRef = 0;
if ( v17 )
{
LABEL_6:
v13 = atoi((const char *)a2->m_start[387].m_data.m_data) == 0;
v14 = m_start[388];
v15 = !v13;
a1->m_xRelative = v15;
if ( v14 )
goto LABEL_10;
goto LABEL_16;
}
LABEL_15:
v18 = m_start[388];
a1->m_xRelative = 0;
if ( v18 )
{
LABEL_10:
a1->m_yRelative = atoi((const char *)a2->m_start[388].m_data.m_data) != 0;
return;
}
LABEL_16:
a1->m_yRelative = 0;
}