// // LevelEditorLayer::onResumePlaytest from 0x1000f2c30 to 0x1000f2d5c (300 bytes) // // 1 xrefs: // > EditorUI::onPlaytest @ 0x10000c609 // // 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 LevelEditorLayer::onResumePlaytest(LevelEditorLayer *a1) { cocos2d::CCDirector *v1; // rax cocos2d::CCDirector *v2; // rax float v3; // xmm0_4 v1 = cocos2d::CCDirector::sharedDirector(); *(_BYTE *)(((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getKeyboardDispatcher)(v1) + 92) = 1; UILayer::editorPlaytest(a1->m_uiLayer, 1); if ( !a1->m_collisionBlocksAdded ) { a1->m_collisionBlocksAdded = 1; ((void (__fastcall *)(LevelEditorLayer *, GameObject *))a1->addToSection)(a1, a1->m_player1CollisionBlock); ((void (__fastcall *)(LevelEditorLayer *, GameObject *))a1->addToSection)(a1, a1->m_player2CollisionBlock); } if ( a1->m_playTestSmoothFix ) { v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::resetSmoothFixCounter(v2); cocos2d::CCDirector::sharedDirector()->m_bSmoothFixCheck = 1; } v3 = ((float (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->getScale)(a1->m_objectLayer); a1->m_playtestZoom = v3; ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_objectLayer->setScale)( a1->m_objectLayer, fminf(v3, 0.69999999)); ((void (__fastcall *)(LevelEditorLayer *, float))a1->updateTimeWarp)(a1, a1->m_playtestTimeWarp); a1->m_playbackMode = Playing; cocos2d::CCNode::resumeSchedulerAndActions(a1->m_player1); cocos2d::CCNode::pauseSchedulerAndActions(a1->m_player2); a1->m_gameState.m_cameraZoom = a1->m_playtestCameraZoom; LevelEditorLayer::recreateGroups(a1); GJBaseGameLayer::optimizeMoveGroups(a1); a1->m_spawnTriggersChanged = 1; *(_DWORD *)&a1->m_triggersChanged = 16843009; GJBaseGameLayer::resumeAudio(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source