//
// GJRequestCell::onViewFriendRequest from 0x339722 to 0x339764 (66 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 GJRequestCell::onViewFriendRequest(GJRequestCell *a1, cocos2d::CCObject *a2)
{
GJUserScore *m_score; // r3
GameLevelManager *v4; // r0
GJFriendRequest *v5; // r5
FriendRequestPopup *v6; // r0
m_score = a1->m_score;
if ( m_score && m_score->m_accountID > 0 )
{
v4 = GameLevelManager::sharedState();
v5 = GameLevelManager::friendRequestFromAccountID(v4, a1->m_score->m_accountID);
if ( v5 )
{
GJRequestCell::markAsRead(a1);
v6 = FriendRequestPopup::create(v5);
v6->show(v6);
}
}
}