// // PlayerObject::updateCheckpointTest from 0x100402cc0 to 0x100402d8e (206 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x100152936 // // 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 __fastcall PlayerObject::updateCheckpointTest(PlayerObject *a1) { int m_onFlyCheckpointTries; // eax timeb v2; // [rsp+8h] [rbp-18h] BYREF if ( a1->m_canPlaceCheckpoint ) { PlayerObject::tryPlaceCheckpoint(a1); a1->m_canPlaceCheckpoint = 0; } if ( (a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing) && a1->m_uniqueID == 1 ) { m_onFlyCheckpointTries = a1->m_onFlyCheckpointTries; a1->m_onFlyCheckpointTries = m_onFlyCheckpointTries + 1; if ( m_onFlyCheckpointTries >= 19 ) { a1->m_onFlyCheckpointTries = 0; PlayerObject::tryPlaceCheckpoint(a1); } } if ( a1->m_checkpointTimeout ) { ftime(&v2); if ( (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0 - a1->m_lastCheckpointTime > 0.1000000014901161 ) a1->m_checkpointTimeout = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source