// // LevelEditorLayer::onPausePlaytest from 0x6615e4 to 0x6616ac (200 bytes) // // 2 xrefs: // > EditorUI::onPlaytest @ 0x6befc4 // > @ 0x63468 // // 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 LevelEditorLayer::onPausePlaytest(LevelEditorLayer *a1) { cocos2d::CCDirector *v2; // x0 PlayerObject *m_player1; // x0 void (__fastcall *updateTimeWarp)(GJBaseGameLayer *__hidden, float); // x1 cocos2d::CCDirector *v5; // x0 v2 = cocos2d::CCDirector::sharedDirector(); v2->getKeyboardDispatcher(v2)->m_bBlockRepeat = 0; UILayer::editorPlaytest(a1->m_uiLayer, 0); LevelEditorLayer::quickUpdateAllPositions(a1); LevelEditorLayer::removePlayerCollisionBlock(a1); if ( a1->m_playTestSmoothFix ) { v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::resetSmoothFixCounter(v5); cocos2d::CCDirector::sharedDirector()->m_bSmoothFixCheck = 0; } m_player1 = a1->m_player1; a1->m_playbackMode = Paused; cocos2d::CCNode::pauseSchedulerAndActions(m_player1); cocos2d::CCNode::pauseSchedulerAndActions(a1->m_player2); updateTimeWarp = a1->updateTimeWarp; a1->m_playtestTimeWarp = a1->m_gameState.m_timeWarp; updateTimeWarp(a1, 1.0); a1->m_playtestCameraZoom = a1->m_gameState.m_cameraZoom; GJBaseGameLayer::pauseAudio(a1); if ( a1->m_playtestOrderChanged ) LevelEditorLayer::timeObjectChanged(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source