// // ProfilePage::setupPageInfo from 0x4c81bc to 0x4c82e0 (292 bytes) // // 1 xrefs: // > `non-virtual thunk to'ProfilePage::setupPageInfo @ 0x4c82f0 // // 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 ProfilePage::setupPageInfo(ProfilePage *a1, char **a2, char *a3) { cocos2d::CCArray *v5; // r0 cocos2d::CCArray *v6; // r5 int v7; // r7 int v8; // r6 const std::string *v9; // r1 cocos2d::CCObject *v10; // r0 cocos2d::CCString *v11; // r0 cocos2d::CCString *v12; // r0 cocos2d::CCString *v13; // r0 int v14; // [sp+0h] [bp-24h] int v15; // [sp+10h] [bp-14h] BYREF char *v16; // [sp+14h] [bp-10h] BYREF char v17; // [sp+18h] [bp-Ch] BYREF if ( ProfilePage::isCorrect(a1, a3) ) { v5 = (cocos2d::CCArray *)sub_776584((int)&v15, *a2); v6 = (cocos2d::CCArray *)cocos2d::CCArray::create(v5); v7 = sub_774A78((int)&v15, ":"); v8 = 0; v14 = *(_DWORD *)(v15 - 12); while ( 1 ) { sub_776158(&v16, &v15, v8, v7 - v8); if ( *((_DWORD *)v16 - 3) || v8 != v14 ) { sub_776584((int)&v17, v16); v10 = (cocos2d::CCObject *)cocos2d::CCString::create((cocos2d::CCString *)&v17, v9); cocos2d::CCArray::addObject(v6, v10); sub_774008(&v17); } if ( v7 == -1 ) break; v8 = v7 + 1; v7 = sub_774A78((int)&v15, ":"); sub_774008(&v16); } sub_774008(&v16); sub_774008(&v15); if ( cocos2d::CCArray::count(v6) > 2u ) { v11 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v6, 0); a1->m_itemCount = cocos2d::CCString::intValue(v11); v12 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v6, 1u); a1->m_pageStartIdx = cocos2d::CCString::intValue(v12); v13 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v6, 2u); a1->m_pageEndIdx = cocos2d::CCString::intValue(v13); ProfilePage::updatePageArrows(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source