// // GJRequestCell::markAsRead from 0x1400bcc70 to 0x1400bcd42 (210 bytes) // // 3 xrefs: // > GJRequestCell::onViewFriendRequest @ 0x1400bcc47 // > GJRequestCell::FLAlert_Clicked @ 0x1400bcfb4 // > @ 0x1406c7dd0 // // 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 // // Hidden C++ exception states: #wind=1 void GJRequestCell::markAsRead(GJRequestCell *a1) { cocos2d::CCNode *v2; // rax GJAccountManager *v3; // rax int v4; // ebx __int64 v5; // rcx struct cocos2d::CCObject *v6; // rax int v7; // ecx void *v8; // [rsp+30h] [rbp+8h] if ( a1->m_score->m_newFriendRequest ) { v2 = a1->m_mainLayer->getChildByTag(a1->m_mainLayer, 100); if ( v2 ) v2->setVisible(v2, 0); a1->m_score->m_newFriendRequest = 0; v3 = GJAccountManager::sharedState(); v4 = v3->m_accountID - v3->m_unkInt1; v5 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v8 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v5 = qword_1406C2EC0; } v6 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v5 + 600), v4); if ( v6 ) { v7 = v6[13].m_uAutoReleaseCount - 1; if ( v7 < 0 ) v7 = 0; v6[13].m_uAutoReleaseCount = v7; } } }