// // LevelEditorLayer::onResumePlaytest from 0x6616ac to 0x66179c (240 bytes) // // 2 xrefs: // > EditorUI::onPlaytest @ 0x6befd4 // > @ 0x34638 // // 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::onResumePlaytest(LevelEditorLayer *a1) { cocos2d::CCDirector *v2; // x0 long double v3; // q0 cocos2d::CCLayer *m_objectLayer; // x0 PlayerObject *m_player1; // x0 cocos2d::CCDirector *v6; // x0 v2 = cocos2d::CCDirector::sharedDirector(); v2->getKeyboardDispatcher(v2)->m_bBlockRepeat = 1; UILayer::editorPlaytest(a1->m_uiLayer, 1); LevelEditorLayer::addPlayerCollisionBlock(a1); if ( a1->m_playTestSmoothFix ) { v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::resetSmoothFixCounter(v6); cocos2d::CCDirector::sharedDirector()->m_bSmoothFixCheck = 1; } *(float *)&v3 = a1->m_objectLayer->getScale(a1->m_objectLayer); m_objectLayer = a1->m_objectLayer; a1->m_playtestZoom = *(float *)&v3; if ( *(float *)&v3 >= 0.7 ) LODWORD(v3) = 1060320051; m_objectLayer->setScale(m_objectLayer, v3); a1->updateTimeWarp(a1, a1->m_playtestTimeWarp); m_player1 = a1->m_player1; a1->m_playbackMode = Playing; cocos2d::CCNode::resumeSchedulerAndActions(m_player1); cocos2d::CCNode::pauseSchedulerAndActions(a1->m_player2); a1->m_gameState.m_cameraZoom = a1->m_playtestCameraZoom; LevelEditorLayer::recreateGroups(a1); GJBaseGameLayer::optimizeMoveGroups(a1); LevelEditorLayer::dirtifyTriggers(a1); GJBaseGameLayer::resumeAudio(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source