// // InfoLayer::onOriginal from 0x1402bd530 to 0x1402bd5ee (190 bytes) // // 2 xrefs: // > InfoLayer::init @ 0x1402bb9bc // > @ 0x1406d2834 // // 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 InfoLayer::onOriginal(InfoLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCString *v3; // rax const char *CString; // rax size_t v5; // r8 GJSearchObject *v6; // rax struct cocos2d::CCScene *v7; // rax struct cocos2d::CCTransitionFade *v8; // rbx __int64 v9; // rcx cocos2d::CCDirector *v10; // rax __int128 v11; // [rsp+20h] [rbp-28h] BYREF __int64 v12; // [rsp+30h] [rbp-18h] __int64 v13; // [rsp+38h] [rbp-10h] v3 = cocos2d::CCString::createWithFormat( "%i", a1->m_level->m_originalLevel.random - a1->m_level->m_originalLevel.seed); CString = cocos2d::CCString::getCString(v3); v11 = 0; v12 = 0; v5 = -1; v13 = 0; do ++v5; while ( CString[v5] ); sub_14003A930(&v11, CString, v5); v6 = (GJSearchObject *)GJSearchObject::create_1(0, (__int64)&v11); v7 = LevelBrowserLayer::scene(v6); v8 = cocos2d::CCTransitionFade::create(0.5, v7); v10 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v9); cocos2d::CCDirector::replaceScene(v10, v8); a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source