//
// MessageThreadsPage::onSelectionChanged from 0x10092a800 to 0x10092a889 (137 bytes)
//
// 1 xrefs:
// > MessageThreadsPage::init @ 0x10092969f
//
// 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:38:21 +0000
//
void __fastcall MessageThreadsPage::onSelectionChanged(__int64 a1)
{
__int64 v1; // rbx
__int64 v3; // rdi
int v4; // r15d
signed int v5; // r12d
v1 = *(_QWORD *)(a1 + 752);
if ( v1 )
{
v3 = *(_QWORD *)(a1 + 800);
v4 = 0;
if ( v3 && (int)sub_1007FEF90(v3) > 0 )
{
v5 = 0;
v4 = 0;
do
v4 += *(unsigned __int8 *)(sub_1007FEFE0(*(_QWORD *)(a1 + 800), v5++) + 304);
while ( v5 < (int)sub_1007FEF90(*(_QWORD *)(a1 + 800)) );
}
sub_10029CC00(v1, v4);
}
}