// // AchievementsLayer::setupPageInfo from 0x100373810 to 0x10037389f (143 bytes) // // 0 xrefs: // // 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 AchievementsLayer::setupPageInfo(AchievementsLayer *a1, int a2, int a3, int a4) { cocos2d::CCString *v6; // rax const char *CString; // rax char v8; // [rsp+0h] [rbp-20h] ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_prevPageButton->setVisible)(a1->m_prevPageButton, a3 != 0); ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_nextPageButton->setVisible)( a1->m_nextPageButton, a3 + a4 < a2); v6 = (cocos2d::CCString *)sub_1007AB580("%i to %i of %i", v8); CString = cocos2d::CCString::getCString(v6); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_pageLabel->setString)(a1->m_pageLabel, CString); }