//
// GJSongBrowser::setupPageInfo from 0x3f76e8 to 0x3f774a (98 bytes)
//
// 1 xrefs:
// > GJSongBrowser::loadPage @ 0x3f77f0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:18 +0000
//
int __fastcall GJSongBrowser::setupPageInfo(GJSongBrowser *this, int a2, int a3, int a4)
{
int v8; // r4
int v9; // r2
cocos2d::CCString *v10; // r0
int CString; // r1
(*(void (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 126) + 172))(*((_DWORD *)this + 126), a3 != 0);
v8 = a4 + a3;
(*(void (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 125) + 172))(*((_DWORD *)this + 125), 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 = cocos2d::CCString::getCString(v10);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 127) + 464))(*((_DWORD *)this + 127), CString);
}