//
// TimerTriggerGameObject::customObjectSetup from 0x1003948a0 to 0x100394b60 (704 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008050c0
//
// 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 TimerTriggerGameObject::customObjectSetup(
TimerTriggerGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
std::__vector_base::pointer capacitym1; // x0
int v8; // w0
int m_objectID; // w8
double v10; // d8
double v11; // d0
std::__vector_base::pointer v12; // x0
std::__vector_base::pointer v13; // x0
void *v14; // x8
std::__vector_base::pointer v15; // x0
void *v16; // x8
std::__vector_base::pointer v17; // x0
void *v18; // x8
std::__vector_base::pointer v19; // x0
std::__vector_base::pointer v20; // x0
float v21; // s0
std::__vector_base::pointer v22; // x0
double v23; // d0
std::__vector_base::pointer v24; // x0
int v25; // w0
void *v26; // x8
std::__vector_base::pointer v27; // x0
void *v28; // x8
std::__vector_base::pointer v29; // x0
std::__vector_base::pointer v30; // x0
int v31; // w0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( begin[80] )
{
capacitym1 = a2->__begin_ + 80;
if ( a2->__begin_[80].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 = 0;
}
a1->m_itemID = v8;
m_objectID = a1->m_objectID;
if ( m_objectID == 3617 )
{
if ( begin[472] )
{
v24 = a2->__begin_ + 472;
if ( a2->__begin_[472].m_data.m_short.shortStorage.__elems_[22] < 0 )
v24 = (std::__vector_base::pointer)v24->m_data.m_long.capacitym1;
v25 = atoi((const char *)v24);
}
else
{
v25 = 0;
}
a1->m_controlType = v25;
}
else
{
if ( m_objectID == 3615 )
{
if ( begin[473] )
{
v22 = a2->__begin_ + 473;
if ( a2->__begin_[473].m_data.m_short.shortStorage.__elems_[22] < 0 )
v22 = (std::__vector_base::pointer)v22->m_data.m_long.capacitym1;
v23 = atof((const char *)v22);
}
else
{
v23 = 0.0;
}
a1->m_targetTime = v23;
v26 = begin[475];
if ( v26 )
{
v27 = a2->__begin_ + 475;
if ( a2->__begin_[475].m_data.m_short.shortStorage.__elems_[22] < 0 )
v27 = (std::__vector_base::pointer)v27->m_data.m_long.capacitym1;
LOBYTE(v26) = atoi((const char *)v27) != 0;
}
a1->m_multiActivate = (char)v26;
}
else
{
if ( m_objectID != 3614 )
return;
v10 = 0.0;
v11 = 0.0;
if ( begin[467] )
{
v12 = a2->__begin_ + 467;
if ( a2->__begin_[467].m_data.m_short.shortStorage.__elems_[22] < 0 )
v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1;
v11 = atof((const char *)v12);
}
a1->m_startTime = v11;
if ( begin[473] )
{
v13 = a2->__begin_ + 473;
if ( a2->__begin_[473].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v10 = atof((const char *)v13);
}
a1->m_targetTime = v10;
v14 = begin[474];
if ( v14 )
{
v15 = a2->__begin_ + 474;
if ( a2->__begin_[474].m_data.m_short.shortStorage.__elems_[22] < 0 )
v15 = (std::__vector_base::pointer)v15->m_data.m_long.capacitym1;
LOBYTE(v14) = atoi((const char *)v15) != 0;
}
a1->m_stopTimeEnabled = (char)v14;
v16 = begin[468];
if ( v16 )
{
v17 = a2->__begin_ + 468;
if ( a2->__begin_[468].m_data.m_short.shortStorage.__elems_[22] < 0 )
v17 = (std::__vector_base::pointer)v17->m_data.m_long.capacitym1;
LOBYTE(v16) = atoi((const char *)v17) != 0;
}
a1->m_dontOverride = (char)v16;
v18 = begin[469];
if ( v18 )
{
v19 = a2->__begin_ + 469;
if ( a2->__begin_[469].m_data.m_short.shortStorage.__elems_[22] < 0 )
v19 = (std::__vector_base::pointer)v19->m_data.m_long.capacitym1;
LOBYTE(v18) = atoi((const char *)v19) != 0;
}
a1->m_ignoreTimeWarp = (char)v18;
if ( begin[470] )
{
v20 = a2->__begin_ + 470;
if ( a2->__begin_[470].m_data.m_short.shortStorage.__elems_[22] < 0 )
v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1;
v21 = atof((const char *)v20);
}
else
{
v21 = 0.0;
}
a1->m_timeMod = v21;
v28 = begin[471];
if ( v28 )
{
v29 = a2->__begin_ + 471;
if ( a2->__begin_[471].m_data.m_short.shortStorage.__elems_[22] < 0 )
v29 = (std::__vector_base::pointer)v29->m_data.m_long.capacitym1;
LOBYTE(v28) = atoi((const char *)v29) != 0;
}
a1->m_startPaused = (char)v28;
}
if ( begin[51] )
{
v30 = a2->__begin_ + 51;
if ( a2->__begin_[51].m_data.m_short.shortStorage.__elems_[22] < 0 )
v30 = (std::__vector_base::pointer)v30->m_data.m_long.capacitym1;
v31 = atoi((const char *)v30);
}
else
{
v31 = 0;
}
a1->m_targetGroupID = v31;
}
}