//
// SetupTriggerPopup::togglePageArrows from 0xb1afd8 to 0xb1b058 (128 bytes)
//
// 2 xrefs:
// > SetupRotateCommandPopup::valueDidChange @ 0xa7b3ac
// > ??> @ 0xd7cb0
//
// This function is hookable on this platform (idp: arm, 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 13:01:34 +0000
//
__int64 __fastcall SetupTriggerPopup::togglePageArrows(SetupTriggerPopup *this, unsigned __int8 a2)
{
unsigned int v3; // w20
__int64 result; // x0
v3 = a2;
result = *((_QWORD *)this + 122);
if ( result )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 122) + 1056LL))(*((_QWORD *)this + 122), v3);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 123) + 344LL))(*((_QWORD *)this + 123), v3);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 123) + 1056LL))(*((_QWORD *)this + 123), v3);
}
return result;
}