// // FriendsProfilePage::getUserListFinished from 0x4c3e5a to 0x4c3f0c (178 bytes) // // 1 xrefs: // > `non-virtual thunk to'FriendsProfilePage::getUserListFinished @ 0x4c3f10 // // 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 FriendsProfilePage::getUserListFinished(FriendsProfilePage *a1, cocos2d::CCArray *a2, UserListType a3) { UserListType m_type; // r5 cocos2d::CCArray *m_users; // r0 cocos2d::CCArray *v7; // r3 GameLevelManager *v8; // r4 GJAccountManager *v9; // r0 GJUserScore *v10; // r0 cocos2d::ccArray *data; // r3 int v12; // r4 cocos2d::CCObject **arr; // r3 cocos2d::CCObject **v14; // r4 int v15; // r1 int v16; // t1 m_type = a1->m_type; if ( m_type == a3 ) { m_users = a1->m_users; if ( m_users ) cocos2d::CCObject::release(m_users); a1->m_users = a2; cocos2d::CCObject::retain(a2); FriendsProfilePage::setupUsersBrowser(a1, a1->m_users, m_type); a1->m_circle->setVisible(a1->m_circle, 0); a1->m_refreshBtn->setVisible(a1->m_refreshBtn, 1); a1->m_noInternet->setVisible(a1->m_noInternet, 0); if ( !a1->m_type ) { v7 = a1->m_users; if ( v7 ) { data = v7->data; if ( data->num ) { v12 = data->num + 0x40000000; arr = data->arr; v14 = &arr[v12 - 1]; while ( arr <= v14 ) { v16 = (int)*arr++; v15 = v16; if ( !v16 ) break; *(_BYTE *)(v15 + 452) = 0; } } } v8 = GameLevelManager::sharedState(); v9 = GJAccountManager::sharedState(); v10 = GameLevelManager::userInfoForAccountID(v8, v9->m_accountID - v9->m_unkInt1); if ( v10 ) v10->m_newFriendCount = 0; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source