//
// RotateGameplayGameObject::customObjectSetup from 0x1404c4580 to 0x1404c4803 (643 bytes)
//
// 2 xrefs:
// > ??> @ 0x14061bc90
// > ??> @ 0x1406dd01c
//
// 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 RotateGameplayGameObject::customObjectSetup(
RotateGameplayGameObject *a1,
std::vector *a2,
std::vector *a3)
{
int v6; // ebx
int v7; // eax
std::_Vector_val>::pointer m_bigStorage; // rcx
int v9; // eax
std::_Vector_val>::pointer v10; // rcx
double v11; // xmm6_8
double v12; // xmm0_8
std::_Vector_val>::pointer v13; // rcx
float v14; // xmm0_4
std::_Vector_val>::pointer v15; // rcx
float v16; // xmm0_4
int v17; // eax
std::_Vector_val>::pointer v18; // rcx
int v19; // eax
std::_Vector_val>::pointer v20; // rcx
int v21; // eax
std::_Vector_val>::pointer v22; // rcx
int v23; // eax
std::_Vector_val>::pointer v24; // rcx
int v25; // eax
std::_Vector_val>::pointer v26; // rcx
int v27; // eax
std::_Vector_val>::pointer v28; // rcx
std::_Vector_val>::pointer v29; // rcx
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 169) )
{
m_bigStorage = a2->_Mypair._Myval2._Myfirst + 169;
if ( a2->_Mypair._Myval2._Myfirst[169].m_data.m_capacity > 0xF )
m_bigStorage = (std::_Vector_val>::pointer)m_bigStorage->m_data.m_bigStorage;
v7 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);
}
else
{
v7 = 0;
}
a1->m_editVelocity = v7 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 584) )
{
v10 = a2->_Mypair._Myval2._Myfirst + 584;
if ( a2->_Mypair._Myval2._Myfirst[584].m_data.m_capacity > 0xF )
v10 = (std::_Vector_val>::pointer)v10->m_data.m_bigStorage;
v9 = atoi(v10->m_data.m_smallStorage._Elems);
}
else
{
v9 = 0;
}
v11 = 0.0;
a1->m_overrideVelocity = v9 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 582) )
{
v13 = a2->_Mypair._Myval2._Myfirst + 582;
if ( a2->_Mypair._Myval2._Myfirst[582].m_data.m_capacity > 0xF )
v13 = (std::_Vector_val>::pointer)v13->m_data.m_bigStorage;
v12 = atof(v13->m_data.m_smallStorage._Elems);
}
else
{
v12 = 0.0;
}
v14 = v12;
a1->m_velocityModX = v14;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 583) )
{
v15 = a2->_Mypair._Myval2._Myfirst + 583;
if ( a2->_Mypair._Myval2._Myfirst[583].m_data.m_capacity > 0xF )
v15 = (std::_Vector_val>::pointer)v15->m_data.m_bigStorage;
v11 = atof(v15->m_data.m_smallStorage._Elems);
}
v16 = v11;
a1->m_velocityModY = v16;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 166) )
{
v18 = a2->_Mypair._Myval2._Myfirst + 166;
if ( a2->_Mypair._Myval2._Myfirst[166].m_data.m_capacity > 0xF )
v18 = (std::_Vector_val>::pointer)v18->m_data.m_bigStorage;
v17 = atoi(v18->m_data.m_smallStorage._Elems);
}
else
{
v17 = 0;
}
a1->m_moveDirection = v17;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 167) )
{
v20 = a2->_Mypair._Myval2._Myfirst + 167;
if ( a2->_Mypair._Myval2._Myfirst[167].m_data.m_capacity > 0xF )
v20 = (std::_Vector_val>::pointer)v20->m_data.m_bigStorage;
v19 = atoi(v20->m_data.m_smallStorage._Elems);
}
else
{
v19 = 0;
}
a1->m_groundDirection = v19;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 171) )
{
v22 = a2->_Mypair._Myval2._Myfirst + 171;
if ( a2->_Mypair._Myval2._Myfirst[171].m_data.m_capacity > 0xF )
v22 = (std::_Vector_val>::pointer)v22->m_data.m_bigStorage;
v21 = atoi(v22->m_data.m_smallStorage._Elems);
}
else
{
v21 = 0;
}
a1->m_changeChannel = v21 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 172) )
{
v24 = a2->_Mypair._Myval2._Myfirst + 172;
if ( a2->_Mypair._Myval2._Myfirst[172].m_data.m_capacity > 0xF )
v24 = (std::_Vector_val>::pointer)v24->m_data.m_bigStorage;
v23 = atoi(v24->m_data.m_smallStorage._Elems);
}
else
{
v23 = 0;
}
a1->m_channelOnly = v23 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 173) )
{
v26 = a2->_Mypair._Myval2._Myfirst + 173;
if ( a2->_Mypair._Myval2._Myfirst[173].m_data.m_capacity > 0xF )
v26 = (std::_Vector_val>::pointer)v26->m_data.m_bigStorage;
v25 = atoi(v26->m_data.m_smallStorage._Elems);
}
else
{
v25 = 0;
}
a1->m_targetChannelID = v25;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 368) )
{
v28 = a2->_Mypair._Myval2._Myfirst + 368;
if ( a2->_Mypair._Myval2._Myfirst[368].m_data.m_capacity > 0xF )
v28 = (std::_Vector_val>::pointer)v28->m_data.m_bigStorage;
v27 = atoi(v28->m_data.m_smallStorage._Elems);
}
else
{
v27 = 0;
}
a1->m_instantOffset = v27 != 0;
if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 585) )
{
v29 = a2->_Mypair._Myval2._Myfirst + 585;
if ( a2->_Mypair._Myval2._Myfirst[585].m_data.m_capacity > 0xF )
v29 = (std::_Vector_val>::pointer)v29->m_data.m_bigStorage;
v6 = atoi(v29->m_data.m_smallStorage._Elems);
}
a1->m_dontSlide = v6 != 0;
}