// // GJMessageCell::markAsRead from 0x1002424b0 to 0x10024253b (139 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:27:18 +0000 // __int64 __fastcall GJMessageCell::markAsRead(__int64 a1, double a2) { __int64 result; // rax __int64 v3; // rdi __int64 v4; // rsi __int64 v5; // rax __int64 v6; // rbx __int64 v7; // rax int v8; // edx result = *(_QWORD *)(a1 + 576); if ( !*(_BYTE *)(result + 424) ) { *(_BYTE *)(result + 424) = 1; v3 = *(_QWORD *)(a1 + 536); v4 = 100; v5 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 480LL))(v3, 100); if ( v5 ) { v3 = v5; v4 = 0; a2 = (*(double (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, 0); } v6 = GameLevelManager::sharedState(a2); v7 = GJAccountManager::sharedState(v3, v4); result = GameLevelManager::userInfoForAccountID(v6, (unsigned int)(*(_DWORD *)(v7 + 352) - *(_DWORD *)(v7 + 356))); if ( result ) { v8 = 1; if ( *(int *)(result + 692) >= 2 ) v8 = *(_DWORD *)(result + 692); *(_DWORD *)(result + 692) = v8 - 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source