//
// GJSongBrowser::setupPageInfo from 0x100265fec to 0x100266088 (156 bytes)
//
// 1 xrefs:
// > GJSongBrowser::loadPage @ 0x100265b00
//
// 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 GJSongBrowser::setupPageInfo(GJSongBrowser *a1, int a2, int a3, int a4)
{
int v8; // w8
int v9; // w19
int v10; // w20
cocos2d::CCString *v11; // x0
const char *CString; // x1
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_leftArrow->setVisible)(a1->m_leftArrow, a3 != 0);
v8 = a4 + a3;
v9 = a3 + 1;
if ( v8 >= a2 )
v10 = a2;
else
v10 = v8;
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_rightArrow->setVisible)(a1->m_rightArrow, v8 < a2);
v11 = (cocos2d::CCString *)sub_100268F4C("%i to %i of %i", v9, v10, a2);
CString = cocos2d::CCString::getCString(v11);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_countText->setString)(a1->m_countText, CString);
}