// // MusicBrowser::updatePageLabel from 0x5817c0 to 0x58185a (154 bytes) // // 1 xrefs: // > MusicBrowser::setupList @ 0x581b9e // // 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 MusicBrowser::updatePageLabel(MusicBrowser *a1) { int v2; // r0 int v3; // r7 int v4; // r2 const char *v5; // r1 int v6; // r2 cocos2d::CCString *v7; // r0 char *CString; // r1 _DWORD v9[3]; // [sp+0h] [bp-Ch] BYREF v9[0] = a1; v2 = cocos2d::CCArray::count(a1->m_searchResult->m_filterObjects); v9[0] = &unk_ACDDA8; v3 = v2; if ( v2 <= 0 ) { CString = "No matches"; } else { cocos2d::CCArray::count(a1->m_searchResult->m_filterObjects); v4 = 10 * a1->m_searchResult->m_startIndex; v5 = (const char *)(v4 + 1); if ( v4 + 9 >= v3 ) v6 = v3; else v6 = v4 + 10; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i to %i of %i", v5, v6, v3, v9[0], v9[1], v9[2]); CString = (char *)cocos2d::CCString::getCString(v7); } sub_7753D4((int)v9, CString); a1->m_pageLabel->setString(a1->m_pageLabel, (const unsigned __int8 *)v9[0]); sub_774008(v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source