//
// ShardsPage::onSwitchPage from 0x14048cb30 to 0x14048cb6f (63 bytes)
//
// 2 xrefs:
// > ShardsPage::init @ 0x14048c72f
// > ??> @ 0x1406dbef4
//
// 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 ShardsPage::onSwitchPage(ShardsPage *a1, cocos2d::CCObject *a2)
{
int m_page; // ebx
int v4; // eax
int v5; // edx
m_page = a1->m_page;
v4 = a2->getTag(a2);
v5 = 1;
if ( v4 != 1 )
v5 = -1;
ShardsPage::goToPage(a1, m_page + v5);
}