// // GJRequestCell::markAsRead from 0x1002579a0 to 0x100257a35 (149 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 __fastcall GJRequestCell::markAsRead(GJRequestCell *a1) { __int64 v1; // rax GameLevelManager *v2; // rbx GJAccountManager *v3; // rax GJUserScore *v4; // rax int m_friendReqCount; // edx if ( a1->m_score->m_newFriendRequest ) { v1 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->getChildByTag)(a1->m_mainLayer, 100); if ( v1 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v1 + 328LL))(v1, 0); a1->m_score->m_newFriendRequest = 0; v2 = GameLevelManager::sharedState(); v3 = GJAccountManager::sharedState(); v4 = GameLevelManager::userInfoForAccountID(v2, v3->m_accountID - v3->m_unkInt1); if ( v4 ) { m_friendReqCount = 1; if ( v4->m_friendReqCount >= 2 ) m_friendReqCount = v4->m_friendReqCount; v4->m_friendReqCount = m_friendReqCount - 1; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source