//
// PlayerControlGameObject::customObjectSetup from 0x1001ee670 to 0x1001ee85f (495 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d6898
//
// 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; // r15
std::__vector_base::pointer v6; // rdi
const char *longStorage; // rdi
bool v8; // al
std::__vector_base::pointer v9; // rdi
const char *elems; // rdi
std::__vector_base::pointer v11; // rdi
const char *v12; // rdi
std::__vector_base::pointer v13; // rdi
const char *v14; // rdi
std::__vector_base::pointer v15; // rdi
const char *v16; // rdi
std::__vector_base::pointer v17; // rdi
const char *v18; // rdi
EffectGameObject::customObjectSetup(a1, a2, a3);
begin = a3->__begin_;
if ( !begin[138] )
{
a1->m_targetPlayer1 = 0;
if ( begin[200] )
goto LABEL_12;
LABEL_5:
a1->m_targetPlayer2 = 0;
if ( begin[540] )
goto LABEL_16;
LABEL_6:
a1->m_stopJump = 0;
if ( begin[541] )
goto LABEL_20;
LABEL_7:
a1->m_stopMove = 0;
if ( begin[542] )
goto LABEL_24;
goto LABEL_8;
}
v6 = a2->__begin_;
if ( (a2->__begin_[138].m_data.m_short.sizex2 & 1) != 0 )
longStorage = v6[138].m_data.m_long.longStorage;
else
longStorage = v6[138].m_data.m_short.shortStorage.__elems_;
a1->m_targetPlayer1 = atoi(longStorage) != 0;
if ( !begin[200] )
goto LABEL_5;
LABEL_12:
v9 = a2->__begin_;
if ( (a2->__begin_[200].m_data.m_short.sizex2 & 1) != 0 )
elems = v9[200].m_data.m_long.longStorage;
else
elems = v9[200].m_data.m_short.shortStorage.__elems_;
a1->m_targetPlayer2 = atoi(elems) != 0;
if ( !begin[540] )
goto LABEL_6;
LABEL_16:
v11 = a2->__begin_;
if ( (a2->__begin_[540].m_data.m_short.sizex2 & 1) != 0 )
v12 = v11[540].m_data.m_long.longStorage;
else
v12 = v11[540].m_data.m_short.shortStorage.__elems_;
a1->m_stopJump = atoi(v12) != 0;
if ( !begin[541] )
goto LABEL_7;
LABEL_20:
v13 = a2->__begin_;
if ( (a2->__begin_[541].m_data.m_short.sizex2 & 1) != 0 )
v14 = v13[541].m_data.m_long.longStorage;
else
v14 = v13[541].m_data.m_short.shortStorage.__elems_;
a1->m_stopMove = atoi(v14) != 0;
if ( begin[542] )
{
LABEL_24:
v15 = a2->__begin_;
if ( (a2->__begin_[542].m_data.m_short.sizex2 & 1) != 0 )
v16 = v15[542].m_data.m_long.longStorage;
else
v16 = v15[542].m_data.m_short.shortStorage.__elems_;
a1->m_stopRotation = atoi(v16) != 0;
if ( begin[543] )
goto LABEL_28;
LABEL_9:
v8 = 0;
goto LABEL_32;
}
LABEL_8:
a1->m_stopRotation = 0;
if ( !begin[543] )
goto LABEL_9;
LABEL_28:
v17 = a2->__begin_;
if ( (a2->__begin_[543].m_data.m_short.sizex2 & 1) != 0 )
v18 = v17[543].m_data.m_long.longStorage;
else
v18 = v17[543].m_data.m_short.shortStorage.__elems_;
v8 = atoi(v18) != 0;
LABEL_32:
a1->m_stopSlide = v8;
}