//
// FRequestProfilePage::updateSelectUI from 0x1402103a0 to 0x14021045b (187 bytes)
//
// 13 xrefs:
// > FRequestProfilePage::init @ 0x14020fdc9
// > FRequestProfilePage::onToggleAllObjects @ 0x1402102c0
// > FRequestProfilePage::onSelectionChanged @ 0x140210460
// > FRequestProfilePage::getUserListFinished @ 0x140210d77
// > FRequestProfilePage::getUserListFailed @ 0x140210e4c
// > FRequestProfilePage::onMarkRead @ 0x140211999
// > FRequestProfilePage::loadPage @ 0x140212461
// > FRequestProfilePage::loadFRequestsFinished @ 0x140212c47
// > FRequestProfilePage::loadFRequestsFailed @ 0x140212d03
// > FRequestProfilePage::setupPageInfo @ 0x140212ef0
// > ??> @ 0x1408a4d70
// > ??> @ 0x1408a4d80
// > ??> @ 0x14091b464
//
// 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:28:19 +0000
//
void __fastcall FRequestProfilePage::updateSelectUI(__int64 a1, __int64 a2)
{
int v3; // esi
__int64 v4; // rbp
char v5; // bl
__int64 v6; // rcx
__int64 v7; // r8
__int64 v8; // r9
__int64 v9; // rcx
if ( *(_BYTE *)(a1 + 896) || *(_BYTE *)(a1 + 705) )
v3 = 0;
else
v3 = FRequestProfilePage::selectedCount(a1);
v4 = *(_QWORD *)(a1 + 904);
if ( v4 )
{
v5 = *(_BYTE *)(a1 + 705);
v6 = *(_QWORD *)(v4 + 368);
*(_BYTE *)(v4 + 376) = v5 == 0;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 336LL))(v6);
if ( v5 )
GJSelectionStrip::setCount(v4, 0, v7, v8);
GJSelectionStrip::setCount(*(_QWORD *)(a1 + 904), (unsigned int)v3, v7, v8);
}
v9 = *(_QWORD *)(a1 + 912);
if ( v9 )
{
if ( v3 <= 0 || *(_BYTE *)(a1 + 704) )
a2 = 0;
else
LOBYTE(a2) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 336LL))(v9, a2);
}
}