// // PlayLayer::storeCheckpoint from 0x1403b74a0 to 0x1403b756a (202 bytes) // // 3 xrefs: // > PlayerObject::tryPlaceCheckpoint @ 0x1403a37fd // > PlayLayer::markCheckpoint @ 0x1403b75a4 // > @ 0x1406d6fc8 // // 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 PlayLayer::storeCheckpoint(PlayLayer *a1, CheckpointObject *a2) { GameObject *v4; // rbx cocos2d::CCObject *m_glowSprite; // rcx cocos2d::CCArray::addObject(a1->m_checkpointArray, a2); a1->addToSection(a1, a2->m_physicalCheckpointObject); if ( cocos2d::CCArray::count(a1->m_checkpointArray) > 0x32 && cocos2d::CCArray::count(a1->m_checkpointArray) ) { v4 = *(GameObject **)&cocos2d::CCArray::objectAtIndex(a1->m_checkpointArray, 0)[65].m_uIndexInArray; GJBaseGameLayer::removeObjectFromSection(a1, v4); m_glowSprite = v4->m_glowSprite; if ( m_glowSprite ) { cocos2d::CCObject::release(m_glowSprite); v4->m_glowSprite->removeMeAndCleanup(v4->m_glowSprite); v4->m_glowSprite = nullptr; } v4->removeMeAndCleanup(v4); cocos2d::CCArray::removeObjectAtIndex(a1->m_checkpointArray, 0, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source