//
// SetupTriggerPopup::togglePageArrows from 0x5415a8 to 0x5415ec (68 bytes)
//
// 1 xrefs:
// > SetupRotateCommandPopup::valueDidChange @ 0x4e0c90
//
// 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 SetupTriggerPopup::togglePageArrows(SetupTriggerPopup *a1, bool a2)
{
CCMenuItemSpriteExtra *m_prevButton; // r0
_BOOL4 v4; // r5
m_prevButton = a1->m_prevButton;
v4 = a2;
if ( m_prevButton )
{
((void (__fastcall *)(CCMenuItemSpriteExtra *))m_prevButton->setVisible)(m_prevButton);
a1->m_prevButton->setEnabled(a1->m_prevButton, v4);
a1->m_nextButton->setVisible(a1->m_nextButton, v4);
a1->m_nextButton->setEnabled(a1->m_nextButton, v4);
}
}