//
// PlayerObject::updateStateVariables from 0x347cc8 to 0x347d60 (152 bytes)
//
// 1 xrefs:
// > PlayerObject::update @ 0x34f8ba
//
// 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 PlayerObject::updateStateVariables(PlayerObject *a1)
{
int m_stateDartSlide; // r3
cocos2d::CCPoint *p_m_stateForceVector; // r0
--a1->m_stateNoAutoJump;
m_stateDartSlide = a1->m_stateDartSlide;
p_m_stateForceVector = &a1->m_stateForceVector;
LODWORD(p_m_stateForceVector[-3].y) = m_stateDartSlide - 1;
--LODWORD(p_m_stateForceVector[-2].y);
--LODWORD(p_m_stateForceVector[-2].x);
--LODWORD(p_m_stateForceVector[-22].y);
--LODWORD(p_m_stateForceVector[-21].y);
--LODWORD(p_m_stateForceVector[-20].x);
--LODWORD(p_m_stateForceVector[-20].y);
--LODWORD(p_m_stateForceVector[-19].x);
--LODWORD(p_m_stateForceVector[-1].y);
cocos2d::CCPoint::operator=(p_m_stateForceVector, &stru_AC5C68);
std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_erase(
(int)&a1->m_jumpPadRelated,
&a1->m_jumpPadRelated.m_header.m_parent->m_isblack);
a1->m_jumpPadRelated.m_header.m_left = &a1->m_jumpPadRelated.m_header;
a1->m_jumpPadRelated.m_header.m_parent = nullptr;
a1->m_jumpPadRelated.m_header.m_right = &a1->m_jumpPadRelated.m_header;
a1->m_jumpPadRelated.m_nodecount = 0;
}