//
// PlayerCheckpoint::PlayerCheckpoint from 0x1000c9aa0 to 0x1000c9c00 (352 bytes)
//
// 3 xrefs:
// > PlayLayer::createCheckpoint @ 0x1000bb1af
// > PlayLayer::createCheckpoint @ 0x1000bb241
// > PlayerCheckpoint::create @ 0x1000bb877
//
// 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
//
PlayerCheckpoint *__fastcall PlayerCheckpoint::PlayerCheckpoint(PlayerCheckpoint *a1)
{
cocos2d::CCNode::CCNode(a1);
a1->__vftable = (PlayerCheckpoint_vtbl *)off_1008B75F0;
sub_10028CC30(&a1->m_position);
sub_10028CC30(&a1->m_lastPosition);
a1->m_ghostType = 0;
a1->m_isMini = 0;
a1->m_playerSpeed = 0.0;
*(_WORD *)&a1->m_isHidden = 0;
a1->m_maybeReverseSpeed = 0.0;
*(_WORD *)&a1->m_jumpBuffered = 0;
a1->m_lastFlipTime = 0.0;
*(_OWORD *)&a1->m_yVelocityUnrounded = 0;
*(_WORD *)&a1->m_isSpider = 0;
*(_OWORD *)&a1->m_dashX = 0;
*(_OWORD *)&a1->m_dashAngle = 0;
*(_OWORD *)((char *)&a1->m_dashStartTime + 1) = 0;
a1->m_gravityMod = 1.0;
a1->m_slopeVelocity = 0.0;
a1->m_ringRelatedSet.__table_.__bucket_list_ = 0;
*(_OWORD *)&a1->m_ringRelatedSet.__table_.__p1_.__value_.__next_ = 0;
*(_OWORD *)&a1->m_objectSnappedTo = 0;
*(_OWORD *)((char *)&a1->m_snapDistance + 1) = 0;
*(_OWORD *)((char *)&a1->m_playerFollowFloats.__end_ + 4) = 0;
*(_OWORD *)&a1->m_followRelated = 0;
*(_WORD *)&a1->m_isOnSlope = 0;
a1->m_ringRelatedSet.__table_.__p3_.__value_ = 1.0;
sub_10028CC30(&a1->m_shipRotation);
sub_10028CC30(&a1->m_lastPortalPos);
sub_10028CC30(&a1->m_lastGroundedPos);
*(_OWORD *)&a1->m_touchedRings.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_ = 0;
*(_OWORD *)&a1->m_touchingRings = 0;
a1->m_touchedRings.__table_.__p2_.__value_ = 0;
a1->m_touchedRings.__table_.__p3_.__value_ = 1.0;
sub_10028CC30(&a1->m_stateForceVector);
*(_OWORD *)&a1->m_jumpPadRelated.__tree_.__pair1_.__value_.__left_ = 0;
a1->m_jumpPadRelated.__tree_.__begin_node_ = &a1->m_jumpPadRelated.__tree_.__pair1_.__value_;
return (PlayerCheckpoint *)&a1->m_jumpPadRelated.__tree_.__pair1_;
}