// // LevelBrowserLayer::updateLevelsLabel from 0x6e8e04 to 0x6e8e80 (124 bytes) // // 2 xrefs: // > LevelBrowserLayer::setupPageInfo @ 0x6e9170 // > @ 0x3fd50 // // 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 LevelBrowserLayer::updateLevelsLabel(LevelBrowserLayer *a1) { int m_pageStartIdx; // w3 unsigned int m_itemCount; // w4 __int64 v4; // x2 cocos2d::CCString *v5; // x0 const unsigned __int8 *CString; // x0 m_pageStartIdx = a1->m_pageStartIdx; m_itemCount = a1->m_itemCount; LODWORD(v4) = m_pageStartIdx + a1->m_pageEndIdx; if ( (int)v4 > (int)m_itemCount ) v4 = m_itemCount; else v4 = (unsigned int)v4; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i to %i of %i", (const char *)(unsigned int)(m_pageStartIdx + 1), v4, m_itemCount); CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v5); a1->m_countText->setString(a1->m_countText, CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_countText, 100.0, 0.6, 0.0); LevelBrowserLayer::updatePageLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source