// // LevelEditorLayer::onPausePlaytest from 0x78d394 to 0x78d468 (212 bytes) // // 3 xrefs: // > EditorUI::onPlaytest @ 0x7ce858 // > EditorUI::handleAction @ 0xbd8bac // > @ 0x87388 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:53:27 +0000 // __int64 __fastcall LevelEditorLayer::onPausePlaytest(cocos2d::CCNode **this) { __int64 v2; // x0 int v3; // w2 cocos2d::CCNode *v4; // x1 __int64 result; // x0 cocos2d::CCDirector *v6; // x0 cocos2d::CCDirector *fixed; // x0 v2 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 132) = 0; UILayer::editorPlaytest(*(this + 1661), 0); LevelEditorLayer::quickUpdateAllPositions((LevelEditorLayer *)this); LevelEditorLayer::removePlayerCollisionBlock((__int64)this); if ( *((_BYTE *)this + 14017) ) { v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)*((unsigned __int8 *)this + 14017)); fixed = (cocos2d::CCDirector *)cocos2d::CCDirector::resetSmoothFixCounter(v6); *(_BYTE *)(cocos2d::CCDirector::sharedDirector(fixed) + 178) = 0; } LevelEditorLayer::updatePlayerState((__int64)this, 2); cocos2d::CCNode::pauseSchedulerAndActions(*(this + 407)); cocos2d::CCNode::pauseSchedulerAndActions(*(this + 408)); v3 = *((_DWORD *)this + 204); v4 = *this; *((_BYTE *)this + 1982) = 1; *((_DWORD *)this + 3556) = v3; (*((void (__fastcall **)(cocos2d::CCNode **, float))v4 + 183))(this, 1.0); *((_DWORD *)this + 3557) = *((_DWORD *)this + 106); GJBaseGameLayer::pauseAudio((GJBaseGameLayer *)this); result = *((unsigned __int8 *)this + 14011); if ( *((_BYTE *)this + 14011) ) return LevelEditorLayer::timeObjectChanged((LevelEditorLayer *)this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source