//
// RotateGameplayGameObject::customObjectSetup from 0x100399124 to 0x100399384 (608 bytes)
//
// 1 xrefs:
// > ??> @ 0x100809950
//
// 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 RotateGameplayGameObject::customObjectSetup(
RotateGameplayGameObject *a1,
std::vector *a2,
std::vector *a3)
{
std::__vector_base::pointer begin; // x21
void *v7; // x8
std::__vector_base::pointer capacitym1; // x0
void *v9; // x8
std::__vector_base::pointer v10; // x0
float v11; // s8
float v12; // s0
std::__vector_base::pointer v13; // x0
std::__vector_base::pointer v14; // x0
std::__vector_base::pointer v15; // x0
int v16; // w0
std::__vector_base::pointer v17; // x0
int v18; // w0
void *v19; // x8
std::__vector_base::pointer v20; // x0
void *v21; // x8
std::__vector_base::pointer v22; // x0
std::__vector_base::pointer v23; // x0
int v24; // w0
void *v25; // x8
std::__vector_base::pointer v26; // x0
void *v27; // x8
std::__vector_base::pointer v28; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v7 = begin[169];
if ( v7 )
{
capacitym1 = a2->__begin_ + 169;
if ( a2->__begin_[169].m_data.m_short.shortStorage.__elems_[22] < 0 )
capacitym1 = (std::__vector_base::pointer)capacitym1->m_data.m_long.capacitym1;
LOBYTE(v7) = atoi((const char *)capacitym1) != 0;
}
a1->m_editVelocity = (char)v7;
v9 = begin[584];
if ( v9 )
{
v10 = a2->__begin_ + 584;
if ( a2->__begin_[584].m_data.m_short.shortStorage.__elems_[22] < 0 )
v10 = (std::__vector_base::pointer)v10->m_data.m_long.capacitym1;
LOBYTE(v9) = atoi((const char *)v10) != 0;
}
a1->m_overrideVelocity = (char)v9;
v11 = 0.0;
v12 = 0.0;
if ( begin[582] )
{
v13 = a2->__begin_ + 582;
if ( a2->__begin_[582].m_data.m_short.shortStorage.__elems_[22] < 0 )
v13 = (std::__vector_base::pointer)v13->m_data.m_long.capacitym1;
v12 = atof((const char *)v13);
}
a1->m_velocityModX = v12;
if ( begin[583] )
{
v14 = a2->__begin_ + 583;
if ( a2->__begin_[583].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
v11 = atof((const char *)v14);
}
a1->m_velocityModY = v11;
if ( begin[166] )
{
v15 = a2->__begin_ + 166;
if ( a2->__begin_[166].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 = 0;
}
a1->m_moveDirection = v16;
if ( begin[167] )
{
v17 = a2->__begin_ + 167;
if ( a2->__begin_[167].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 = 0;
}
a1->m_groundDirection = v18;
v19 = begin[171];
if ( v19 )
{
v20 = a2->__begin_ + 171;
if ( a2->__begin_[171].m_data.m_short.shortStorage.__elems_[22] < 0 )
v20 = (std::__vector_base::pointer)v20->m_data.m_long.capacitym1;
LOBYTE(v19) = atoi((const char *)v20) != 0;
}
a1->m_changeChannel = (char)v19;
v21 = begin[172];
if ( v21 )
{
v22 = a2->__begin_ + 172;
if ( a2->__begin_[172].m_data.m_short.shortStorage.__elems_[22] < 0 )
v22 = (std::__vector_base::pointer)v22->m_data.m_long.capacitym1;
LOBYTE(v21) = atoi((const char *)v22) != 0;
}
a1->m_channelOnly = (char)v21;
if ( begin[173] )
{
v23 = a2->__begin_ + 173;
if ( a2->__begin_[173].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 = 0;
}
a1->m_targetChannelID = v24;
v25 = begin[368];
if ( v25 )
{
v26 = a2->__begin_ + 368;
if ( a2->__begin_[368].m_data.m_short.shortStorage.__elems_[22] < 0 )
v26 = (std::__vector_base::pointer)v26->m_data.m_long.capacitym1;
LOBYTE(v25) = atoi((const char *)v26) != 0;
}
a1->m_instantOffset = (char)v25;
v27 = begin[585];
if ( v27 )
{
v28 = a2->__begin_ + 585;
if ( a2->__begin_[585].m_data.m_short.shortStorage.__elems_[22] < 0 )
v28 = (std::__vector_base::pointer)v28->m_data.m_long.capacitym1;
LOBYTE(v27) = atoi((const char *)v28) != 0;
}
a1->m_dontSlide = (char)v27;
}