// // MusicBrowser::updatePageLabel from 0x1003c2888 to 0x1003c2968 (224 bytes) // // 1 xrefs: // > MusicBrowser::setupList @ 0x1003c26cc // // 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 v2; // w0 int v3; // w20 int v4; // w8 cocos2d::CCString *v5; // x0 const char *CString; // x0 std::string *v7; // x1 std::string v8; // [xsp+18h] [xbp-28h] BYREF v2 = sub_10024A36C((__int64)a1->m_searchResult->m_filterObjects); memset(&v8, 0, sizeof(v8)); if ( v2 < 1 ) { std::string::assign(&v8, "No matches"); } else { v3 = v2; sub_10024A36C((__int64)a1->m_searchResult->m_filterObjects); v4 = 10 * a1->m_searchResult->m_startIndex + 10; if ( v4 >= v3 ) v4 = v3; v5 = (cocos2d::CCString *)sub_100268F4C("%i to %i of %i", (10 * a1->m_searchResult->m_startIndex) | 1u, v4, v3); CString = cocos2d::CCString::getCString(v5); std::string::assign(&v8, CString); } if ( (v8.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v7 = &v8; else v7 = (std::string *)v8.__r_.__value_.__r.__words[0]; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string *))a1->m_pageLabel->setString)(a1->m_pageLabel, v7); if ( SHIBYTE(v8.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v8.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source