// // InfoLayer::onSimilar from 0x42fa38 to 0x42fac0 (136 bytes) // // 0 xrefs: // // 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::onSimilar(InfoLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // r7 cocos2d::CCString *v4; // r0 char *CString; // r0 GJSearchObject *v6; // r0 cocos2d::CCScene *v7; // r0 cocos2d::CCTransitionFade *v8; // r0 _BYTE v9[4]; // [sp+8h] [bp-Ch] BYREF v3 = cocos2d::CCDirector::sharedDirector(); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed)); CString = (char *)cocos2d::CCString::getCString(v4); sub_776584((int)v9, CString); v6 = GJSearchObject::create(Similar); v7 = LevelBrowserLayer::scene(v6); v8 = cocos2d::CCTransitionFade::create(0.5, v7); cocos2d::CCDirector::replaceScene(v3, v8); sub_774008(v9); a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source