// // LevelEditorLayer::onResumePlaytest from 0x796170 to 0x796268 (248 bytes) // // 3 xrefs: // > EditorUI::onPlaytest @ 0x7ce868 // > EditorUI::handleAction @ 0xbd8a54 // > @ 0x4d320 // // 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:34 +0000 // __int64 __fastcall LevelEditorLayer::onResumePlaytest(cocos2d::CCNode **this) { __int64 v2; // x0 long double v3; // q0 __int64 v4; // 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) = 1; UILayer::editorPlaytest(*(this + 1661), 1u); LevelEditorLayer::addPlayerCollisionBlock((__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) = 1; } *(float *)&v3 = (*(float (__fastcall **)(_QWORD))(*(_QWORD *)*(this + 490) + 168LL))(*(this + 490)); v4 = (__int64)*(this + 490); *((_DWORD *)this + 3553) = LODWORD(v3); if ( *(float *)&v3 >= 0.7 ) LODWORD(v3) = 1060320051; (*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v4 + 160LL))(v4, v3); *((_BYTE *)this + 1982) = 0; (*((void (__fastcall **)(cocos2d::CCNode **, float))*this + 183))(this, *((float *)this + 3556)); LevelEditorLayer::updatePlayerState((__int64)this, 1); cocos2d::CCNode::resumeSchedulerAndActions(*(this + 407)); cocos2d::CCNode::pauseSchedulerAndActions(*(this + 408)); *((_DWORD *)this + 106) = *((_DWORD *)this + 3557); LevelEditorLayer::recreateGroups(this); GJBaseGameLayer::optimizeMoveGroups((GJBaseGameLayer *)this); LevelEditorLayer::dirtifyTriggers((LevelEditorLayer *)this); return GJBaseGameLayer::resumeAudio((GJBaseGameLayer *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source