//
// PlayerCheckpoint::PlayerCheckpoint from 0x1001273c4 to 0x1001274b0 (236 bytes)
//
// 1 xrefs:
// > PlayerCheckpoint::create @ 0x10011fd20
//
// 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)
{
_QWORD *v2; // x0
v2 = (_QWORD *)cocos2d::CCNode::CCNode(a1);
*v2 = off_100790038;
sub_1000229B0((_QWORD *)((char *)v2 + 316));
sub_1000229B0(&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;
a1->m_yVelocityUnrounded = 0.0;
*(_QWORD *)&a1->m_isUpsideDown = 0;
*(_WORD *)&a1->m_isSpider = 0;
*(_OWORD *)&a1->m_dashX = 0u;
*(_OWORD *)&a1->m_dashAngle = 0u;
*(_OWORD *)((char *)&a1->m_dashStartTime + 1) = 0u;
a1->m_gravityMod = 1.0;
a1->m_slopeVelocity = 0.0;
a1->m_collidingBetweenSteps = 0;
a1->m_ringRelatedSet.__table_.__bucket_list_ = 0u;
*(_OWORD *)&a1->m_ringRelatedSet.__table_.__p1_.__value_.__next_ = 0u;
a1->m_objectSnappedTo = nullptr;
a1->m_snapDistance = 0.0;
a1->m_decreaseBoostSlide = 0;
a1->m_accelerationOrSpeed = 0.0;
*(_OWORD *)&a1->m_followRelated = 0u;
*(_OWORD *)((char *)&a1->m_playerFollowFloats.__end_ + 4) = 0u;
*(_WORD *)&a1->m_isOnSlope = 0;
a1->m_ringRelatedSet.__table_.__p3_.__value_ = 1.0;
sub_1000229B0(&a1->m_shipRotation);
sub_1000229B0(&a1->m_lastPortalPos);
sub_1000229B0(&a1->m_lastGroundedPos);
a1->m_touchedRings.__table_.__p2_.__value_ = 0;
*(_OWORD *)&a1->m_touchingRings = 0u;
*(_OWORD *)&a1->m_touchedRings.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_ = 0u;
a1->m_touchedRings.__table_.__p3_.__value_ = 1.0;
sub_1000229B0(&a1->m_stateForceVector);
*(_OWORD *)&a1->m_jumpPadRelated.__tree_.__pair1_.__value_.__left_ = 0u;
a1->m_jumpPadRelated.__tree_.__begin_node_ = &a1->m_jumpPadRelated.__tree_.__pair1_.__value_;
return a1;
}