// // TopArtistsLayer::updateLevelsLabel from 0x501238 to 0x501280 (72 bytes) // // 1 xrefs: // > TopArtistsLayer::setupPageInfo @ 0x5013c0 // // 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 TopArtistsLayer::updateLevelsLabel(TopArtistsLayer *a1) { int m_pageStartIdx; // r1 int m_itemCount; // r2 const char *v3; // r1 cocos2d::CCString *v5; // r0 const unsigned __int8 *CString; // r0 m_pageStartIdx = a1->m_pageStartIdx; m_itemCount = a1->m_pageEndIdx + m_pageStartIdx; v3 = (const char *)(m_pageStartIdx + 1); if ( m_itemCount >= a1->m_itemCount ) m_itemCount = a1->m_itemCount; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i to %i of %i", v3, m_itemCount); CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v5); a1->m_pageInfoLabel->setString(a1->m_pageInfoLabel, CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_pageInfoLabel, 100.0, 0.5, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source