//
// GJSongBrowser::setupPageInfo from 0x308214 to 0x308276 (98 bytes)
//
// 1 xrefs:
// > GJSongBrowser::loadPage @ 0x308366
//
// 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 GJSongBrowser::setupPageInfo(GJSongBrowser *a1, int a2, int a3, int a4)
{
int v8; // r4
int v9; // r2
cocos2d::CCString *v10; // r0
const unsigned __int8 *CString; // r1
a1->m_leftArrow->setVisible(a1->m_leftArrow, a3 != 0);
v8 = a4 + a3;
a1->m_rightArrow->setVisible(a1->m_rightArrow, v8 < a2);
v9 = v8;
if ( v8 >= a2 )
v9 = a2;
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(a3 + 1),
v9,
a2);
CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v10);
a1->m_countText->setString(a1->m_countText, CString);
}