// // PlayerObject::resetStateVariables from 0x347964 to 0x3479c0 (92 bytes) // // 1 xrefs: // > PlayerObject::resetObject @ 0x347b40 // // 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::resetStateVariables(PlayerObject *a1) { cocos2d::CCPoint *p_m_stateForceVector; // r0 a1->m_stateNoAutoJump = 0; p_m_stateForceVector = &a1->m_stateForceVector; p_m_stateForceVector[-3].y = 0.0; p_m_stateForceVector[-2].y = 0.0; p_m_stateForceVector[-2].x = 0.0; p_m_stateForceVector[-22].y = 0.0; p_m_stateForceVector[-21].y = 0.0; p_m_stateForceVector[-20].x = 0.0; p_m_stateForceVector[-20].y = 0.0; p_m_stateForceVector[-19].x = 0.0; p_m_stateForceVector[-1].y = 0.0; 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_parent = nullptr; a1->m_jumpPadRelated.m_header.m_left = &a1->m_jumpPadRelated.m_header; a1->m_jumpPadRelated.m_header.m_right = &a1->m_jumpPadRelated.m_header; a1->m_jumpPadRelated.m_nodecount = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source