// // PlayLayer::markCheckpoint from 0x1000bae00 to 0x1000baea4 (164 bytes) // // 4 xrefs: // > PlayLayer::processCheckpoints @ 0x1000bac17 // > PlayLayer::processCheckpoints @ 0x1000bac51 // > PlayerObject::tryPlaceCheckpoint @ 0x100402e89 // > PlayerObject::tryPlaceCheckpoint @ 0x100403027 // // 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 // CheckpointObject *__fastcall PlayLayer::markCheckpoint(PlayLayer *a1) { CheckpointObject *Checkpoint; // rsi cocos2d::CCArray *m_checkpointArray; // r14 int v4; // eax __int64 v5; // rax if ( a1->m_player1->m_isDead ) return nullptr; Checkpoint = PlayLayer::createCheckpoint(a1); PlayLayer::storeCheckpoint(a1, Checkpoint); ((void (__fastcall *)(GameObject *))Checkpoint->m_physicalCheckpointObject->activateObject)(Checkpoint->m_physicalCheckpointObject); if ( a1->m_isPlatformer && a1->m_isPracticeMode && (unsigned int)sub_100720070(a1->m_checkpointArray) >= 2 ) { m_checkpointArray = a1->m_checkpointArray; v4 = sub_100720070(m_checkpointArray); v5 = sub_1007200C0(m_checkpointArray, (unsigned int)(v4 - 2)); GameObject::makeInvisible(*(GameObject **)(v5 + 3104)); } a1->m_tryPlaceCheckpoint = 0; return Checkpoint; }
GD Web Decomp Icon

GD Web Decomp

Raw Source