//
// MessageThreadsPage::checkActivityAbove from 0x1400d9030 to 0x1400d90d9 (169 bytes)
//
// 9 xrefs:
// > MessageThreadsPage::applyThreadList @ 0x1400d8a87
// > MessageThreadsPage::applyThreadList @ 0x1400d8a9f
// > MessageThreadsPage::applyThreadList @ 0x1400d8ad5
// > MessageThreadsPage::setActivityAbove @ 0x1400d8ff5
// > MessageThreadsPage::setActivityAbove @ 0x1400d9012
// > MessageThreadsPage::onScrollToTop @ 0x1400d9118
// > ??> @ 0x1408923dc
// > ??> @ 0x1408923ec
// > ??> @ 0x1409147ec
//
// 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 11:26:27 +0000
//
void __fastcall MessageThreadsPage::checkActivityAbove(__int64 a1)
{
__int64 v1; // rdi
__int64 v3; // rdi
__int64 v4; // rsi
__int64 v5; // rbx
float v6; // xmm6_4
v1 = *(_QWORD *)(a1 + 952);
if ( !v1
|| (v3 = *(_QWORD *)(v1 + 424),
v4 = *(_QWORD *)(v3 + 480),
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3),
v6 = (float)(*(float *)(v5 + 4)
- *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 320LL))(v4) + 4))
- *(float *)(v3 + 496),
(float)(*(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 200LL))(v4) + 4) - v6) < 24.0) )
{
MessageThreadsPage::setActivityAbove(a1, 0);
}
}