//
// PlayerControlGameObject::customObjectSetup from 0x100397788 to 0x1003978ec (356 bytes)
//
// 1 xrefs:
// > ??> @ 0x100807910
//
// 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 PlayerControlGameObject::customObjectSetup(
PlayerControlGameObject *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
void *v11; // x8
std::__vector_base::pointer v12; // x0
void *v13; // x8
std::__vector_base::pointer v14; // x0
void *v15; // x8
std::__vector_base::pointer v16; // x0
void *v17; // x8
std::__vector_base::pointer v18; // x0
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
v7 = begin[138];
if ( v7 )
{
capacitym1 = a2->__begin_ + 138;
if ( a2->__begin_[138].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_targetPlayer1 = (char)v7;
v9 = begin[200];
if ( v9 )
{
v10 = a2->__begin_ + 200;
if ( a2->__begin_[200].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_targetPlayer2 = (char)v9;
v11 = begin[540];
if ( v11 )
{
v12 = a2->__begin_ + 540;
if ( a2->__begin_[540].m_data.m_short.shortStorage.__elems_[22] < 0 )
v12 = (std::__vector_base::pointer)v12->m_data.m_long.capacitym1;
LOBYTE(v11) = atoi((const char *)v12) != 0;
}
a1->m_stopJump = (char)v11;
v13 = begin[541];
if ( v13 )
{
v14 = a2->__begin_ + 541;
if ( a2->__begin_[541].m_data.m_short.shortStorage.__elems_[22] < 0 )
v14 = (std::__vector_base::pointer)v14->m_data.m_long.capacitym1;
LOBYTE(v13) = atoi((const char *)v14) != 0;
}
a1->m_stopMove = (char)v13;
v15 = begin[542];
if ( v15 )
{
v16 = a2->__begin_ + 542;
if ( a2->__begin_[542].m_data.m_short.shortStorage.__elems_[22] < 0 )
v16 = (std::__vector_base::pointer)v16->m_data.m_long.capacitym1;
LOBYTE(v15) = atoi((const char *)v16) != 0;
}
a1->m_stopRotation = (char)v15;
v17 = begin[543];
if ( v17 )
{
v18 = a2->__begin_ + 543;
if ( a2->__begin_[543].m_data.m_short.shortStorage.__elems_[22] < 0 )
v18 = (std::__vector_base::pointer)v18->m_data.m_long.capacitym1;
LOBYTE(v17) = atoi((const char *)v18) != 0;
}
a1->m_stopSlide = (char)v17;
}