// // InfoLayer::updateLevelsLabel from 0x7e371c to 0x7e3780 (100 bytes) // // 2 xrefs: // > InfoLayer::setupPageInfo @ 0x7e3a58 // > @ 0xbfc58 // // 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 InfoLayer::updateLevelsLabel(InfoLayer *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_pageLabel->setString(a1->m_pageLabel, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source