// // PlayerCheckpoint::create from 0x1403bb010 to 0x1403bb221 (529 bytes) // // 3 xrefs: // > PlayLayer::createCheckpoint @ 0x1403b5025 // > PlayLayer::createCheckpoint @ 0x1403b5075 // > @ 0x1406d7184 // // 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 // // Hidden C++ exception states: #wind=5 PlayerCheckpoint *PlayerCheckpoint::create() { PlayerCheckpoint *v0; // rdi __int64 v1; // r8 __int64 v2; // r8 _QWORD *v3; // rax bool (*init)(PlayerCheckpoint *); // rdx bool v5; // al std::map *p_m_jumpPadRelated; // [rsp+30h] [rbp+8h] BYREF PlayerCheckpoint *v8; // [rsp+38h] [rbp+10h] v0 = (PlayerCheckpoint *)operator new(0x560u); v8 = v0; cocos2d::CCNode::CCNode(v0); v0->__vftable = (PlayerCheckpoint_vtbl *)&PlayerCheckpoint::`vftable'; cocos2d::CCPoint::CCPoint(&v0->m_position); cocos2d::CCPoint::CCPoint(&v0->m_lastPosition); v0->m_yVelocityUnrounded = 0.0; *(_QWORD *)&v0->m_isUpsideDown = 0; *(_WORD *)&v0->m_isSpider = 0; v0->m_ghostType = 0; v0->m_isMini = 0; v0->m_playerSpeed = 0.0; *(_WORD *)&v0->m_isHidden = 0; v0->m_maybeReverseSpeed = 0.0; *(_WORD *)&v0->m_jumpBuffered = 0; v0->m_dashX = 0.0; v0->m_dashY = 0.0; v0->m_dashAngle = 0.0; v0->m_dashStartTime = 0.0; v0->m_dashRing = nullptr; v0->m_platformerCheckpoint = 0; v0->m_lastFlipTime = 0.0; v0->m_gravityMod = 1.0; v0->m_objectSnappedTo = nullptr; v0->m_snapDistance = 0.0; v0->m_accelerationOrSpeed = 0.0; v0->m_decreaseBoostSlide = 0; v0->m_followRelated = 0; v0->m_playerFollowFloats._Mypair._Myval2._Myfirst = nullptr; v0->m_playerFollowFloats._Mypair._Myval2._Mylast = nullptr; v0->m_playerFollowFloats._Mypair._Myval2._Myend = nullptr; v0->m_unk838 = 0.0; *(_WORD *)&v0->m_isOnSlope = 0; v0->m_slopeVelocity = 0.0; HIDWORD(p_m_jumpPadRelated) = (unsigned __int64)&v0->m_ringRelatedSet >> 32; LODWORD(p_m_jumpPadRelated) = 0; sub_14005E660((__int64)&v0->m_ringRelatedSet, &p_m_jumpPadRelated, v1); cocos2d::CCPoint::CCPoint(&v0->m_shipRotation); cocos2d::CCPoint::CCPoint(&v0->m_lastPortalPos); cocos2d::CCPoint::CCPoint(&v0->m_lastGroundedPos); v0->m_touchingRings = nullptr; HIDWORD(p_m_jumpPadRelated) = (unsigned __int64)&v0->m_touchedRings >> 32; LODWORD(p_m_jumpPadRelated) = 0; sub_14005E660((__int64)&v0->m_touchedRings, &p_m_jumpPadRelated, v2); cocos2d::CCPoint::CCPoint(&v0->m_stateForceVector); p_m_jumpPadRelated = &v0->m_jumpPadRelated; v0->m_jumpPadRelated._Mypair._Myval2._Myval2._Myhead = nullptr; v0->m_jumpPadRelated._Mypair._Myval2._Myval2._Mysize = 0; v3 = operator new(0x28u); *v3 = v3; v3[1] = v3; v3[2] = v3; *((_WORD *)v3 + 12) = 257; v0->m_jumpPadRelated._Mypair._Myval2._Myval2._Myhead = (std::_Tree_val>>::_Nodeptr)v3; init = (bool (*)(PlayerCheckpoint *))v0->init; if ( init == PlayerCheckpoint::init ) v5 = PlayerCheckpoint::init(v0); else v5 = init(v0); if ( v5 ) { cocos2d::CCObject::autorelease(v0); return v0; } else { ((void (__fastcall *)(PlayerCheckpoint *, __int64))v0->~PlayerCheckpoint)(v0, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source