// // GJMessageCell::markAsRead from 0x10013b058 to 0x10013b0e4 (140 bytes) // // 2 xrefs: // > GJMessageCell::onViewMessage @ 0x10013aed4 // > GJMessageCell::FLAlert_Clicked @ 0x10013b1cc // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:59:29 +0000 // __int64 __fastcall GJMessageCell::markAsRead(__int64 result) { __int64 v1; // x8 __int64 v2; // x0 __int64 v3; // x19 __int64 v4; // x0 int v5; // w8 v1 = *(_QWORD *)(result + 576); if ( (*(_BYTE *)(v1 + 424) & 1) == 0 ) { *(_BYTE *)(v1 + 424) = 1; v2 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(result + 536) + 480LL))( *(_QWORD *)(result + 536), 100); if ( v2 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0); v3 = GameLevelManager::sharedState(); v4 = GJAccountManager::sharedState(v3); result = GameLevelManager::userInfoForAccountID(v3, *(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356)); if ( result ) { v5 = *(_DWORD *)(result + 692); if ( v5 <= 1 ) v5 = 1; *(_DWORD *)(result + 692) = v5 - 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source