//
// CommunityCreditsPage::onSwitchPage from 0x10030c000 to 0x10030c034 (52 bytes)
//
// 2 xrefs:
// > CommunityCreditsPage::init @ 0x10030be02
// > CommunityCreditsPage::init @ 0x10030bec1
//
// 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 12:28:37 +0000
//
__int64 __fastcall CommunityCreditsPage::onSwitchPage(__int64 a1, __int64 a2)
{
int v2; // r14d
int v3; // eax
v2 = *(_DWORD *)(a1 + 688);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
return CommunityCreditsPage::goToPage(a1, v2 + 2 * (unsigned int)(v3 == 1) - 1);
}