// // AchievementsLayer::setupPageInfo from 0x4221a0 to 0x422202 (98 bytes) // // 1 xrefs: // > AchievementsLayer::loadPage @ 0x422430 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:02 +0000 // int __fastcall AchievementsLayer::setupPageInfo(AchievementsLayer *this, int a2, int a3, int a4) { int v8; // r4 int v9; // r2 cocos2d::CCString *v10; // r0 int CString; // r1 (*(void (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 122) + 172))(*((_DWORD *)this + 122), a3 != 0); v8 = a4 + a3; (*(void (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 121) + 172))(*((_DWORD *)this + 121), 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 = cocos2d::CCString::getCString(v10); return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 123) + 464))(*((_DWORD *)this + 123), CString); }