//
// CommunityCreditsPage::onSwitchPage from 0x14012f0e0 to 0x14012f11f (63 bytes)
//
// 2 xrefs:
// > CommunityCreditsPage::init @ 0x14012ee97
// > ??> @ 0x140916d18
//
// 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 11:27:02 +0000
//
__int64 __fastcall CommunityCreditsPage::onSwitchPage(__int64 a1, __int64 a2)
{
int v2; // ebx
int v4; // eax
int v5; // edx
v2 = *(_DWORD *)(a1 + 688);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v5 = 1;
if ( v4 != 1 )
v5 = -1;
return CommunityCreditsPage::goToPage(a1, (unsigned int)(v2 + v5));
}