//
// CommunityCreditsPage::onSwitchPage from 0x100320c60 to 0x100320c94 (52 bytes)
//
// 2 xrefs:
// > CommunityCreditsPage::init @ 0x100320a62
// > CommunityCreditsPage::init @ 0x100320b21
//
// 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 __fastcall CommunityCreditsPage::onSwitchPage(CommunityCreditsPage *a1, cocos2d::CCObject *a2)
{
int m_page; // r14d
int v3; // eax
m_page = a1->m_page;
v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
CommunityCreditsPage::goToPage(a1, m_page + 2 * (v3 == 1) - 1);
}