// // LevelEditorLayer::onPausePlaytest from 0x462392 to 0x462430 (158 bytes) // // 2 xrefs: // > EditorUI::onPlaytest @ 0x489e90 // > EditorUI::handleAction @ 0x6f2886 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:53 +0000 // int __fastcall LevelEditorLayer::onPausePlaytest(cocos2d::CCNode **this) { int v2; // r0 int v3; // r1 cocos2d::CCDirector *v4; // r0 cocos2d::CCDirector *v5; // r0 cocos2d::CCDirector *fixed; // r0 int result; // r0 v2 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); *(_BYTE *)((*(int (__fastcall **)(int))(*(_DWORD *)v2 + 96))(v2) + 92) = 0; UILayer::editorPlaytest(*(this + 2810), 0); LevelEditorLayer::quickUpdateAllPositions((int)this, v3); v4 = (cocos2d::CCDirector *)LevelEditorLayer::removePlayerCollisionBlock((int)this); if ( *((_BYTE *)this + 11709) ) { v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); fixed = (cocos2d::CCDirector *)cocos2d::CCDirector::resetSmoothFixCounter(v5); *(_BYTE *)(cocos2d::CCDirector::sharedDirector(fixed) + 142) = 0; } LevelEditorLayer::updatePlayerState((int)this, 2); cocos2d::CCNode::pauseSchedulerAndActions(*(this + 519)); cocos2d::CCNode::pauseSchedulerAndActions(*(this + 520)); *(this + 2959) = *(this + 180); *((_BYTE *)this + 1438) = 1; (*((void (__fastcall **)(cocos2d::CCNode **, int))*this + 183))(this, 1065353216); *(this + 2960) = *(this + 82); result = GJBaseGameLayer::pauseAudio((GJBaseGameLayer *)this); if ( *((_BYTE *)this + 11703) ) return LevelEditorLayer::timeObjectChanged((int)this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source