//
// GameOptionsTrigger::customObjectSetup from 0x14049f450 to 0x14049f748 (760 bytes)
//
// 2 xrefs:
// > ??> @ 0x140612b08
// > ??> @ 0x1406dc41c
//
// 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 GameOptionsTrigger::customObjectSetup(
GameOptionsTrigger *a1,
std::vector *a2,
std::vector *a3)
{
GameOptionsSetting v6; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
GameOptionsSetting v8; // eax
std::_Vector_val>::pointer v9; // rcx
GameOptionsSetting v10; // eax
std::_Vector_val>::pointer v11; // rcx
GameOptionsSetting v12; // eax
std::_Vector_val>::pointer v13; // rcx
GameOptionsSetting v14; // eax
std::_Vector_val>::pointer v15; // rcx
GameOptionsSetting v16; // eax
std::_Vector_val>::pointer v17; // rcx
GameOptionsSetting v18; // eax
std::_Vector_val>::pointer v19; // rcx
GameOptionsSetting v20; // eax
std::_Vector_val>::pointer v21; // rcx
GameOptionsSetting v22; // eax
std::_Vector_val>::pointer v23; // rcx
GameOptionsSetting v24; // eax
std::_Vector_val>::pointer v25; // rcx
double v26; // xmm0_8
std::_Vector_val>::pointer v27; // rcx
float v28; // xmm0_4
GameOptionsSetting v29; // eax
std::_Vector_val>::pointer v30; // rcx
GameOptionsSetting v31; // eax
std::_Vector_val>::pointer v32; // rcx
std::_Vector_val>::pointer v33; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 159) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 159;
if ( a2->_Mypair._Myval2._Myfirst[159].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v6 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v6 = Disabled;
}
a1->m_streakAdditive = v6;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 160) )
{
v9 = a2->_Mypair._Myval2._Myfirst + 160;
if ( a2->_Mypair._Myval2._Myfirst[160].m_data.m_capacity > 0xF )
v9 = (std::_Vector_val>::pointer)v9->m_data.m_bigStorage;
v8 = atoi(v9->m_data.m_smallStorage._Elems);
}
else
{
v8 = Disabled;
}
a1->m_unlinkDualGravity = v8;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 161) )
{
v11 = a2->_Mypair._Myval2._Myfirst + 161;
if ( a2->_Mypair._Myval2._Myfirst[161].m_data.m_capacity > 0xF )
v11 = (std::_Vector_val>::pointer)v11->m_data.m_bigStorage;
v10 = atoi(v11->m_data.m_smallStorage._Elems);
}
else
{
v10 = Disabled;
}
a1->m_hideGround = v10;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 162) )
{
v13 = a2->_Mypair._Myval2._Myfirst + 162;
if ( a2->_Mypair._Myval2._Myfirst[162].m_data.m_capacity > 0xF )
v13 = (std::_Vector_val>::pointer)v13->m_data.m_bigStorage;
v12 = atoi(v13->m_data.m_smallStorage._Elems);
}
else
{
v12 = Disabled;
}
a1->m_hideP1 = v12;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 163) )
{
v15 = a2->_Mypair._Myval2._Myfirst + 163;
if ( a2->_Mypair._Myval2._Myfirst[163].m_data.m_capacity > 0xF )
v15 = (std::_Vector_val>::pointer)v15->m_data.m_bigStorage;
v14 = atoi(v15->m_data.m_smallStorage._Elems);
}
else
{
v14 = Disabled;
}
a1->m_hideP2 = v14;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 165) )
{
v17 = a2->_Mypair._Myval2._Myfirst + 165;
if ( a2->_Mypair._Myval2._Myfirst[165].m_data.m_capacity > 0xF )
v17 = (std::_Vector_val>::pointer)v17->m_data.m_bigStorage;
v16 = atoi(v17->m_data.m_smallStorage._Elems);
}
else
{
v16 = Disabled;
}
a1->m_disableP1Controls = v16;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 199) )
{
v19 = a2->_Mypair._Myval2._Myfirst + 199;
if ( a2->_Mypair._Myval2._Myfirst[199].m_data.m_capacity > 0xF )
v19 = (std::_Vector_val>::pointer)v19->m_data.m_bigStorage;
v18 = atoi(v19->m_data.m_smallStorage._Elems);
}
else
{
v18 = Disabled;
}
a1->m_disableP2Controls = v18;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 195) )
{
v21 = a2->_Mypair._Myval2._Myfirst + 195;
if ( a2->_Mypair._Myval2._Myfirst[195].m_data.m_capacity > 0xF )
v21 = (std::_Vector_val>::pointer)v21->m_data.m_bigStorage;
v20 = atoi(v21->m_data.m_smallStorage._Elems);
}
else
{
v20 = Disabled;
}
a1->m_hideMG = v20;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 532) )
{
v23 = a2->_Mypair._Myval2._Myfirst + 532;
if ( a2->_Mypair._Myval2._Myfirst[532].m_data.m_capacity > 0xF )
v23 = (std::_Vector_val>::pointer)v23->m_data.m_bigStorage;
v22 = atoi(v23->m_data.m_smallStorage._Elems);
}
else
{
v22 = Disabled;
}
a1->m_hideAttempts = v22;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 573) )
{
v25 = a2->_Mypair._Myval2._Myfirst + 573;
if ( a2->_Mypair._Myval2._Myfirst[573].m_data.m_capacity > 0xF )
v25 = (std::_Vector_val>::pointer)v25->m_data.m_bigStorage;
v24 = atoi(v25->m_data.m_smallStorage._Elems);
}
else
{
v24 = Disabled;
}
a1->m_editRespawnTime = v24;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 574) )
{
v27 = a2->_Mypair._Myval2._Myfirst + 574;
if ( a2->_Mypair._Myval2._Myfirst[574].m_data.m_capacity > 0xF )
v27 = (std::_Vector_val>::pointer)v27->m_data.m_bigStorage;
v26 = atof(v27->m_data.m_smallStorage._Elems);
}
else
{
v26 = 0.0;
}
v28 = v26;
a1->m_respawnTime = v28;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 575) )
{
v30 = a2->_Mypair._Myval2._Myfirst + 575;
if ( a2->_Mypair._Myval2._Myfirst[575].m_data.m_capacity > 0xF )
v30 = (std::_Vector_val>::pointer)v30->m_data.m_bigStorage;
v29 = atoi(v30->m_data.m_smallStorage._Elems);
}
else
{
v29 = Disabled;
}
a1->m_audioOnDeath = v29;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 576) )
{
v32 = a2->_Mypair._Myval2._Myfirst + 576;
if ( a2->_Mypair._Myval2._Myfirst[576].m_data.m_capacity > 0xF )
v32 = (std::_Vector_val>::pointer)v32->m_data.m_bigStorage;
v31 = atoi(v32->m_data.m_smallStorage._Elems);
}
else
{
v31 = Disabled;
}
a1->m_noDeathSFX = v31;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 593) )
{
v33 = a2->_Mypair._Myval2._Myfirst + 593;
if ( a2->_Mypair._Myval2._Myfirst[593].m_data.m_capacity > 0xF )
v33 = (std::_Vector_val>::pointer)v33->m_data.m_bigStorage;
a1->m_boostSlide = atoi(v33->m_data.m_smallStorage._Elems);
}
else
{
a1->m_boostSlide = Disabled;
}
}