//
// sub_1004F5594 from 0x1004f5594 to 0x1004f5648 (180 bytes)
//
// 1 xrefs:
// > MessageThreadsPage::init @ 0x1004f4c5c
//
// 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 11:06:47 +0000
//
void __fastcall sub_1004F5594(__int64 a1)
{
__int64 v2; // x0
int v3; // w21
int v4; // w22
signed int v5; // w20
bool v6; // w21
__int64 v7; // x8
__int64 v8; // x0
v2 = *(_QWORD *)(a1 + 800);
if ( v2 && (unsigned int)sub_1002E757C(v2) )
{
v3 = sub_1004F5EB4(a1);
v4 = sub_1002E757C(*(_QWORD *)(a1 + 800));
if ( (int)sub_1002E757C(*(_QWORD *)(a1 + 800)) >= 1 )
{
v5 = 0;
v6 = v3 != v4;
do
*(_BYTE *)(sub_1002E75A0(*(_QWORD *)(a1 + 800), v5++) + 304) = v6;
while ( v5 < (int)sub_1002E757C(*(_QWORD *)(a1 + 800)) );
}
sub_1004F5B2C(a1);
v7 = *(_QWORD *)(a1 + 688);
if ( v7 )
{
v8 = *(_QWORD *)(v7 + 544);
if ( v8 )
CustomListView::reloadAll(v8);
}
}
}