//
// ProfilePage::updatePageArrows from 0x14055a660 to 0x14055a6c2 (98 bytes)
//
// 2 xrefs:
// > ProfilePage::setupPageInfo @ 0x14055a626
// > ??> @ 0x14092c09c
//
// 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:34:12 +0000
//
__int64 __fastcall ProfilePage::updatePageArrows(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
__int64 v4; // rdx
__int64 *v5; // rcx
__int64 v6; // r8
v3 = *(_QWORD *)(a1 + 808);
if ( *(_DWORD *)(a1 + 860) )
LOBYTE(a2) = 1;
else
a2 = 0;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 336LL))(v3, a2);
v5 = *(__int64 **)(a1 + 800);
v6 = *v5;
if ( *(_DWORD *)(a1 + 860) + *(_DWORD *)(a1 + 864) >= *(_DWORD *)(a1 + 856) )
return (*(__int64 (__fastcall **)(__int64 *, _QWORD))(v6 + 336))(v5, 0);
LOBYTE(v4) = 1;
return (*(__int64 (__fastcall **)(__int64 *, __int64))(v6 + 336))(v5, v4);
}