// // GJScoreCell::onViewProfile from 0x100111084 to 0x1001111a8 (292 bytes) // // 1 xrefs: // > GJScoreCell::loadFromScore @ 0x100107aa8 // // 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 GJScoreCell::onViewProfile(GJScoreCell *a1, cocos2d::CCObject *a2) { GJUserScore *m_score; // x8 int m_accountID; // w0 ProfilePage *v5; // x0 cocos2d::CCScene *m_pSceneReference; // x21 cocos2d::CCDirector *v7; // x20 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x20 cocos2d::CCString *v10; // x0 char *CString; // x0 char *v12; // x0 cocos2d::CCScene *v13; // x0 cocos2d::CCTransitionFade *v14; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v16; // [xsp+1Fh] [xbp-21h] m_score = a1->m_score; if ( m_score && (m_accountID = m_score->m_accountID, m_accountID >= 1) ) { v5 = ProfilePage::create(m_accountID, 0); ((void (__fastcall *)(ProfilePage *))v5->show)(v5); } else if ( m_score->m_scoreType == 1 && !cocos2d::CCDirector::sharedDirector()->m_bIsTransitioning ) { if ( cocos2d::CCDirector::sharedDirector()->m_pRunningScene->m_eObjType != MenuLayerObjectType ) { m_pSceneReference = cocos2d::CCDirector::sharedDirector()->m_pSceneReference; v7 = cocos2d::CCDirector::sharedDirector(); v8 = cocos2d::CCDirector::sharedDirector(); if ( m_pSceneReference ) cocos2d::CCDirector::popToSceneInStack(v7, v8->m_pSceneReference); else v7->m_pSceneReference = v8->m_pRunningScene; } v9 = cocos2d::CCDirector::sharedDirector(); v10 = (cocos2d::CCString *)sub_100268F4C("%i", a1->m_score->m_userID); CString = (char *)cocos2d::CCString::getCString(v10); sub_100009900(__p, CString); v12 = GJSearchObject::create_1(5, (__int128 *)__p); v13 = LevelBrowserLayer::scene((GJSearchObject *)v12); v14 = cocos2d::CCTransitionFade::create_1(0.5, v13); cocos2d::CCDirector::pushScene(v9, v14); if ( v16 < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source