// // GJWorldNode::playStep3 from 0x1003c4e00 to 0x1003c4eab (171 bytes) // // 1 xrefs: // > GJWorldNode::playStep2 @ 0x1003c4dab // // 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 GJWorldNode::playStep3(GJWorldNode *a1) { std::string *p_m_levelString; // r14 LocalLevelManager *v2; // rax cocos2d::CCDirector *v3; // r14 cocos2d::CCScene *v4; // rax cocos2d::CCTransitionFade *v5; // rax std::string __str; // [rsp+0h] [rbp-30h] BYREF GameManager::sharedState()->m_sceneEnum = 9; p_m_levelString = (std::string *)&a1->m_level->m_levelString; v2 = LocalLevelManager::sharedState(); LocalLevelManager::getMainLevelString( &__str, v2, (unsigned int)(a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed)); std::string::operator=(p_m_levelString, &__str); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); v3 = cocos2d::CCDirector::sharedDirector(); v4 = PlayLayer::scene(a1->m_level, 0, 0); v5 = cocos2d::CCTransitionFade::create_1(0.5, v4); cocos2d::CCDirector::replaceScene(v3, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source