// // LevelEditorLayer::onPausePlaytest from 0x3689ca to 0x368a60 (150 bytes) // // 1 xrefs: // > EditorUI::onPlaytest @ 0x3a33ee // // 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; // r0 cocos2d::CCDirector *v3; // r0 PlayerObject *m_player1; // r0 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 ) { v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::resetSmoothFixCounter(v3); 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); a1->m_playtestTimeWarp = a1->m_gameState.m_timeWarp; ((void (__fastcall *)(LevelEditorLayer *, int))a1->updateTimeWarp)(a1, 1065353216); 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