//
// FRequestProfilePage::updateSelectUI from 0x5f0f88 to 0x5f0fe2 (90 bytes)
//
// 10 xrefs:
// > FRequestProfilePage::onToggleAllObjects @ 0x5f1036
// > FRequestProfilePage::onSelectionChanged @ 0x5f1060
// > FRequestProfilePage::getUserListFinished @ 0x5f1530
// > FRequestProfilePage::getUserListFailed @ 0x5f15ba
// > FRequestProfilePage::updateLevelsLabel @ 0x5f1684
// > FRequestProfilePage::loadFRequestsFinished @ 0x5f1c50
// > FRequestProfilePage::loadFRequestsFailed @ 0x5f1cd6
// > FRequestProfilePage::loadPage @ 0x5f21d8
// > FRequestProfilePage::init @ 0x5f28c4
// > FRequestProfilePage::onMarkRead @ 0x5f315a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:27 +0000
//
int __fastcall FRequestProfilePage::updateSelectUI(GJSelectionStrip **this)
{
int v2; // r5
GJSelectionStrip *v3; // r0
int result; // r0
int v5; // r1
v2 = *((unsigned __int8 *)this + 628);
if ( *((_BYTE *)this + 628) )
{
v2 = 0;
}
else if ( !*((_BYTE *)this + 541) )
{
v2 = FRequestProfilePage::selectedCount((FRequestProfilePage *)this);
}
v3 = *(this + 158);
if ( v3 )
{
GJSelectionStrip::setStripVisible(v3, *((unsigned __int8 *)this + 541) ^ 1);
GJSelectionStrip::setCount(*(this + 158), (const char *)v2);
}
result = (int)*(this + 159);
if ( result )
{
if ( v2 <= 0 )
v5 = 0;
else
v5 = *((unsigned __int8 *)this + 540);
if ( v2 > 0 )
v5 ^= 1u;
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 172))(result, v5);
}
return result;
}