//
// GJSongBrowser::setupPageInfo from 0x5beda4 to 0x5bee6c (200 bytes)
//
// 2 xrefs:
// > GJSongBrowser::loadPage @ 0x5befd8
// > ??> @ 0x80bb0
//
// 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)
{
CCMenuItemSpriteExtra *m_rightArrow; // x2
int v8; // w19
__int64 v9; // x2
cocos2d::CCString *v10; // x0
const unsigned __int8 *CString; // x0
a1->m_leftArrow->setVisible(a1->m_leftArrow, a3 != 0);
m_rightArrow = a1->m_rightArrow;
v8 = a3 + a4;
if ( a3 + a4 >= a2 )
m_rightArrow->setVisible(a1->m_rightArrow, 0);
else
m_rightArrow->setVisible(a1->m_rightArrow, 1);
if ( v8 > a2 )
v9 = (unsigned int)a2;
else
v9 = (unsigned int)v8;
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(unsigned int)(a3 + 1),
v9,
(unsigned int)a2);
CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v10);
a1->m_countText->setString(a1->m_countText, CString);
}