//
// CommunityCreditsPage::onSwitchPage from 0xab5b80 to 0xab5bc4 (68 bytes)
//
// 4 xrefs:
// > ??> @ 0x69598
// > CommunityCreditsPage::init @ 0xab7a5c
// > CommunityCreditsPage::init @ 0xab7b04
// > ??> @ 0x1542970
//
// 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:00:58 +0000
//
__int64 __fastcall CommunityCreditsPage::onSwitchPage(CommunityCreditsPage *this, cocos2d::CCObject *a2)
{
int v3; // w19
int v4; // w0
int v5; // w1
v3 = *((_DWORD *)this + 172);
v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v5 = v3 + 1;
if ( v4 != 1 )
v5 = v3 - 1;
return CommunityCreditsPage::goToPage((cocos2d::CCDictionary **)this, v5);
}