//
// ProfilePage::updatePageArrows from 0x8ff1fc to 0x8ff2b8 (188 bytes)
//
// 3 xrefs:
// > ProfilePage::toggleMainPageVisibility @ 0x8ff3dc
// > ProfilePage::setupPageInfo @ 0x8ff65c
// > ??> @ 0x45f78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void ProfilePage::updatePageArrows(ProfilePage *a1)
{
CCMenuItemSpriteExtra *m_leftArrow; // x2
CCMenuItemSpriteExtra *m_rightArrow; // x2
m_leftArrow = a1->m_leftArrow;
if ( a1->m_pageStartIdx )
{
m_leftArrow->setVisible(a1->m_leftArrow, 1);
m_rightArrow = a1->m_rightArrow;
if ( a1->m_pageStartIdx + a1->m_pageEndIdx < a1->m_itemCount )
goto LABEL_3;
}
else
{
m_leftArrow->setVisible(a1->m_leftArrow, 0);
m_rightArrow = a1->m_rightArrow;
if ( a1->m_pageStartIdx + a1->m_pageEndIdx < a1->m_itemCount )
{
LABEL_3:
m_rightArrow->setVisible(m_rightArrow, 1);
return;
}
}
m_rightArrow->setVisible(m_rightArrow, 0);
}