//
// MusicBrowser::updatePageLabel from 0x10060fb60 to 0x10060fc33 (211 bytes)
//
// 1 xrefs:
// > MusicBrowser::setupList @ 0x10060f85f
//
// 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 MusicBrowser::updatePageLabel(MusicBrowser *a1)
{
int v1; // eax
cocos2d::CCString *v2; // rax
const char *CString; // rax
std::string::pointer data; // rsi
std::string v5; // [rsp+0h] [rbp-30h] BYREF
v1 = sub_100720070(a1->m_searchResult->m_filterObjects);
memset(&v5, 0, sizeof(v5));
if ( v1 <= 0 )
{
std::string::assign(&v5, "No matches");
}
else
{
sub_100720070(a1->m_searchResult->m_filterObjects);
v2 = (cocos2d::CCString *)sub_1007AB580("%i to %i of %i", *(_BYTE *)&v5.__r_.__value_.__l.0);
CString = cocos2d::CCString::getCString(v2);
std::string::assign(&v5, CString);
}
if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )
data = v5.__r_.__value_.__l.__data_;
else
data = v5.__r_.__value_.__s.__data_;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string::pointer))a1->m_pageLabel->setString)(
a1->m_pageLabel,
data);
if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v5.__r_.__value_.__l.__data_);
}