//
// LevelPage::playStep3 from 0x100405a58 to 0x100405af0 (152 bytes)
//
// 1 xrefs:
// > LevelPage::playStep2 @ 0x100405a00
//
// 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 LevelPage::playStep3(LevelPage *a1)
{
GJGameLevel *m_level; // x20
LocalLevelManager *v3; // x0
cocos2d::CCDirector *v4; // x20
cocos2d::CCScene *v5; // x0
cocos2d::CCTransitionFade *v6; // x0
std::string __str; // [xsp+8h] [xbp-28h] BYREF
GameManager::sharedState()->m_sceneEnum = 9;
m_level = a1->m_level;
v3 = LocalLevelManager::sharedState();
LocalLevelManager::getMainLevelString(v3, a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed, &__str);
std::string::operator=((std::string *)&m_level->m_levelString, &__str);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
v4 = cocos2d::CCDirector::sharedDirector();
v5 = PlayLayer::scene(a1->m_level, 0, 0);
v6 = cocos2d::CCTransitionFade::create_1(0.5, v5);
cocos2d::CCDirector::replaceScene(v4, v6);
}