// // AchievementsLayer::setupPageInfo from 0x32d4b0 to 0x32d512 (98 bytes) // // 1 xrefs: // > AchievementsLayer::loadPage @ 0x32d6fc // // 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 AchievementsLayer::setupPageInfo(AchievementsLayer *a1, int a2, int a3, int a4) { int v8; // r4 int v9; // r2 cocos2d::CCString *v10; // r0 const unsigned __int8 *CString; // r1 a1->m_prevPageButton->setVisible(a1->m_prevPageButton, a3 != 0); v8 = a4 + a3; a1->m_nextPageButton->setVisible(a1->m_nextPageButton, v8 < a2); v9 = v8; if ( v8 >= a2 ) v9 = a2; v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i to %i of %i", (const char *)(a3 + 1), v9, a2); CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v10); a1->m_pageLabel->setString(a1->m_pageLabel, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source