//
// GameOptionsTrigger::customObjectSetup from 0x1001b08b0 to 0x1001b0be8 (824 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008cff98
//
// 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; // r12
GameOptionsSetting v6; // r15d
GameOptionsSetting v7; // eax
std::__vector_base::pointer v8; // rdi
const char *longStorage; // rdi
std::__vector_base::pointer v10; // rdi
const char *elems; // rdi
GameOptionsSetting v12; // r15d
GameOptionsSetting v13; // eax
std::__vector_base::pointer v14; // rdi
const char *v15; // rdi
std::__vector_base::pointer v16; // rdi
const char *v17; // rdi
GameOptionsSetting v18; // r15d
GameOptionsSetting v19; // eax
std::__vector_base::pointer v20; // rdi
const char *v21; // rdi
std::__vector_base::pointer v22; // rdi
const char *v23; // rdi
GameOptionsSetting v24; // r15d
GameOptionsSetting v25; // eax
std::__vector_base::pointer v26; // rdi
const char *v27; // rdi
std::__vector_base::pointer v28; // rdi
const char *v29; // rdi
GameOptionsSetting v30; // r15d
GameOptionsSetting v31; // eax
std::__vector_base::pointer v32; // rdi
const char *v33; // rdi
std::__vector_base::pointer v34; // rdi
const char *v35; // rdi
std::__vector_base::pointer v36; // rdi
const char *v37; // rdi
float v38; // xmm0_4
GameOptionsSetting v39; // r15d
GameOptionsSetting v40; // eax
std::__vector_base::pointer v41; // rdi
const char *v42; // rdi
std::__vector_base::pointer v43; // rdi
const char *v44; // rdi
std::__vector_base::pointer v45; // rdi
const char *v46; // rdi
GameOptionsSetting v47; // eax
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v6 = Disabled;
v7 = Disabled;
if ( begin[159] )
{
v8 = a2->__begin_;
if ( (a2->__begin_[159].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v8[159].m_data.m_long.longStorage;
else
longStorage = v8[159].m_data.m_short.shortStorage.__elems_;
v7 = atoi(longStorage);
}
a1->m_streakAdditive = v7;
if ( begin[160] )
{
v10 = a2->__begin_;
if ( (a2->__begin_[160].m_data.m_short.sizex2 & 1) != 0 )
elems = v10[160].m_data.m_long.longStorage;
else
elems = v10[160].m_data.m_short.shortStorage.__elems_;
v6 = atoi(elems);
}
a1->m_unlinkDualGravity = v6;
v12 = Disabled;
v13 = Disabled;
if ( begin[161] )
{
v14 = a2->__begin_;
if ( (a2->__begin_[161].m_data.m_short.sizex2 & 1) != 0 )
v15 = v14[161].m_data.m_long.longStorage;
else
v15 = v14[161].m_data.m_short.shortStorage.__elems_;
v13 = atoi(v15);
}
a1->m_hideGround = v13;
if ( begin[162] )
{
v16 = a2->__begin_;
if ( (a2->__begin_[162].m_data.m_short.sizex2 & 1) != 0 )
v17 = v16[162].m_data.m_long.longStorage;
else
v17 = v16[162].m_data.m_short.shortStorage.__elems_;
v12 = atoi(v17);
}
a1->m_hideP1 = v12;
v18 = Disabled;
v19 = Disabled;
if ( begin[163] )
{
v20 = a2->__begin_;
if ( (a2->__begin_[163].m_data.m_short.sizex2 & 1) != 0 )
v21 = v20[163].m_data.m_long.longStorage;
else
v21 = v20[163].m_data.m_short.shortStorage.__elems_;
v19 = atoi(v21);
}
a1->m_hideP2 = v19;
if ( begin[165] )
{
v22 = a2->__begin_;
if ( (a2->__begin_[165].m_data.m_short.sizex2 & 1) != 0 )
v23 = v22[165].m_data.m_long.longStorage;
else
v23 = v22[165].m_data.m_short.shortStorage.__elems_;
v18 = atoi(v23);
}
a1->m_disableP1Controls = v18;
v24 = Disabled;
v25 = Disabled;
if ( begin[199] )
{
v26 = a2->__begin_;
if ( (a2->__begin_[199].m_data.m_short.sizex2 & 1) != 0 )
v27 = v26[199].m_data.m_long.longStorage;
else
v27 = v26[199].m_data.m_short.shortStorage.__elems_;
v25 = atoi(v27);
}
a1->m_disableP2Controls = v25;
if ( begin[195] )
{
v28 = a2->__begin_;
if ( (a2->__begin_[195].m_data.m_short.sizex2 & 1) != 0 )
v29 = v28[195].m_data.m_long.longStorage;
else
v29 = v28[195].m_data.m_short.shortStorage.__elems_;
v24 = atoi(v29);
}
a1->m_hideMG = v24;
v30 = Disabled;
v31 = Disabled;
if ( begin[532] )
{
v32 = a2->__begin_;
if ( (a2->__begin_[532].m_data.m_short.sizex2 & 1) != 0 )
v33 = v32[532].m_data.m_long.longStorage;
else
v33 = v32[532].m_data.m_short.shortStorage.__elems_;
v31 = atoi(v33);
}
a1->m_hideAttempts = v31;
if ( begin[573] )
{
v34 = a2->__begin_;
if ( (a2->__begin_[573].m_data.m_short.sizex2 & 1) != 0 )
v35 = v34[573].m_data.m_long.longStorage;
else
v35 = v34[573].m_data.m_short.shortStorage.__elems_;
v30 = atoi(v35);
}
a1->m_editRespawnTime = v30;
if ( begin[574] )
{
v36 = a2->__begin_;
if ( (a2->__begin_[574].m_data.m_short.sizex2 & 1) != 0 )
v37 = v36[574].m_data.m_long.longStorage;
else
v37 = v36[574].m_data.m_short.shortStorage.__elems_;
v38 = atof(v37);
}
else
{
v38 = 0.0;
}
a1->m_respawnTime = v38;
v39 = Disabled;
v40 = Disabled;
if ( begin[575] )
{
v41 = a2->__begin_;
if ( (a2->__begin_[575].m_data.m_short.sizex2 & 1) != 0 )
v42 = v41[575].m_data.m_long.longStorage;
else
v42 = v41[575].m_data.m_short.shortStorage.__elems_;
v40 = atoi(v42);
}
a1->m_audioOnDeath = v40;
if ( begin[576] )
{
v43 = a2->__begin_;
if ( (a2->__begin_[576].m_data.m_short.sizex2 & 1) != 0 )
v44 = v43[576].m_data.m_long.longStorage;
else
v44 = v43[576].m_data.m_short.shortStorage.__elems_;
v39 = atoi(v44);
}
a1->m_noDeathSFX = v39;
if ( begin[593] )
{
v45 = a2->__begin_;
if ( (a2->__begin_[593].m_data.m_short.sizex2 & 1) != 0 )
v46 = v45[593].m_data.m_long.longStorage;
else
v46 = v45[593].m_data.m_short.shortStorage.__elems_;
v47 = atoi(v46);
}
else
{
v47 = Disabled;
}
a1->m_boostSlide = v47;
}