//
// GameOptionsTrigger::customObjectSetup from 0x100380448 to 0x100380728 (736 bytes)
//
// 1 xrefs:
// > ??> @ 0x100801010
//
// 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 GameOptionsTrigger::customObjectSetup(
GameOptionsTrigger *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer capacitym1; // x0
GameOptionsSetting v8; // w0
std::__vector_base::pointer v9; // x0
GameOptionsSetting v10; // w0
std::__vector_base::pointer v11; // x0
GameOptionsSetting v12; // w0
std::__vector_base::pointer v13; // x0
GameOptionsSetting v14; // w0
std::__vector_base::pointer v15; // x0
GameOptionsSetting v16; // w0
std::__vector_base::pointer v17; // x0
GameOptionsSetting v18; // w0
std::__vector_base::pointer v19; // x0
GameOptionsSetting v20; // w0
std::__vector_base::pointer v21; // x0
GameOptionsSetting v22; // w0
std::__vector_base::pointer v23; // x0
GameOptionsSetting v24; // w0
std::__vector_base::pointer v25; // x0
GameOptionsSetting v26; // w0
std::__vector_base::pointer v27; // x0
float v28; // s0
std::__vector_base::pointer v29; // x0
GameOptionsSetting v30; // w0
std::__vector_base::pointer v31; // x0
GameOptionsSetting v32; // w0
std::__vector_base::pointer v33; // x0
GameOptionsSetting v34; // w0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( begin[159] )
{
capacitym1 = a2->__begin_ + 159;
if ( a2->__begin_[159].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 = Disabled;
}
a1->m_streakAdditive = v8;
if ( begin[160] )
{
v9 = a2->__begin_ + 160;
if ( a2->__begin_[160].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 = Disabled;
}
a1->m_unlinkDualGravity = v10;
if ( begin[161] )
{
v11 = a2->__begin_ + 161;
if ( a2->__begin_[161].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 = Disabled;
}
a1->m_hideGround = v12;
if ( begin[162] )
{
v13 = a2->__begin_ + 162;
if ( a2->__begin_[162].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 = Disabled;
}
a1->m_hideP1 = v14;
if ( begin[163] )
{
v15 = a2->__begin_ + 163;
if ( a2->__begin_[163].m_data.m_short.shortStorage.__elems_[22] < 0 )
v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1;
v16 = atoi((const char *)v15);
}
else
{
v16 = Disabled;
}
a1->m_hideP2 = v16;
if ( begin[165] )
{
v17 = a2->__begin_ + 165;
if ( a2->__begin_[165].m_data.m_short.shortStorage.__elems_[22] < 0 )
v17 = (std::__vector_base::pointer)v17->m_data.m_long.capacitym1;
v18 = atoi((const char *)v17);
}
else
{
v18 = Disabled;
}
a1->m_disableP1Controls = v18;
if ( begin[199] )
{
v19 = a2->__begin_ + 199;
if ( a2->__begin_[199].m_data.m_short.shortStorage.__elems_[22] < 0 )
v19 = (std::__vector_base::pointer)v19->m_data.m_long.capacitym1;
v20 = atoi((const char *)v19);
}
else
{
v20 = Disabled;
}
a1->m_disableP2Controls = v20;
if ( begin[195] )
{
v21 = a2->__begin_ + 195;
if ( a2->__begin_[195].m_data.m_short.shortStorage.__elems_[22] < 0 )
v21 = (std::__vector_base::pointer)v21->m_data.m_long.capacitym1;
v22 = atoi((const char *)v21);
}
else
{
v22 = Disabled;
}
a1->m_hideMG = v22;
if ( begin[532] )
{
v23 = a2->__begin_ + 532;
if ( a2->__begin_[532].m_data.m_short.shortStorage.__elems_[22] < 0 )
v23 = (std::__vector_base::pointer)v23->m_data.m_long.capacitym1;
v24 = atoi((const char *)v23);
}
else
{
v24 = Disabled;
}
a1->m_hideAttempts = v24;
if ( begin[573] )
{
v25 = a2->__begin_ + 573;
if ( a2->__begin_[573].m_data.m_short.shortStorage.__elems_[22] < 0 )
v25 = (std::__vector_base::pointer)v25->m_data.m_long.capacitym1;
v26 = atoi((const char *)v25);
}
else
{
v26 = Disabled;
}
a1->m_editRespawnTime = v26;
if ( begin[574] )
{
v27 = a2->__begin_ + 574;
if ( a2->__begin_[574].m_data.m_short.shortStorage.__elems_[22] < 0 )
v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1;
v28 = atof((const char *)v27);
}
else
{
v28 = 0.0;
}
a1->m_respawnTime = v28;
if ( begin[575] )
{
v29 = a2->__begin_ + 575;
if ( a2->__begin_[575].m_data.m_short.shortStorage.__elems_[22] < 0 )
v29 = (std::__vector_base::pointer)v29->m_data.m_long.capacitym1;
v30 = atoi((const char *)v29);
}
else
{
v30 = Disabled;
}
a1->m_audioOnDeath = v30;
if ( begin[576] )
{
v31 = a2->__begin_ + 576;
if ( a2->__begin_[576].m_data.m_short.shortStorage.__elems_[22] < 0 )
v31 = (std::__vector_base::pointer)v31->m_data.m_long.capacitym1;
v32 = atoi((const char *)v31);
}
else
{
v32 = Disabled;
}
a1->m_noDeathSFX = v32;
if ( begin[593] )
{
v33 = a2->__begin_ + 593;
if ( a2->__begin_[593].m_data.m_short.shortStorage.__elems_[22] < 0 )
v33 = (std::__vector_base::pointer)v33->m_data.m_long.capacitym1;
v34 = atoi((const char *)v33);
}
else
{
v34 = Disabled;
}
a1->m_boostSlide = v34;
}