// // GJMessageCell::markAsRead from 0x1400bde90 to 0x1400bdf58 (200 bytes) // // 3 xrefs: // > GJMessageCell::onViewMessage @ 0x1400bde07 // > GJMessageCell::FLAlert_Clicked @ 0x1400be1a7 // > @ 0x1406c7e30 // // 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 GJMessageCell::markAsRead(GJMessageCell *a1) { GJUserMessage *m_message; // rax 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] m_message = a1->m_message; if ( !m_message->m_read ) { m_message->m_read = 1; v2 = a1->m_mainLayer->getChildByTag(a1->m_mainLayer, 100); if ( v2 ) v2->setVisible(v2, 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_uReference - 1; if ( v7 < 0 ) v7 = 0; v6[13].m_uReference = v7; } } }