// // CommunityCreditsPage::goToPage from 0xab5a64 to 0xab5b80 (284 bytes) // // 3 xrefs: // > CommunityCreditsPage::onSwitchPage @ 0xab5bc0 // > CommunityCreditsPage::init @ 0xab7bbc // > @ 0xa9be8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:00:58 +0000 // __int64 __fastcall CommunityCreditsPage::goToPage(cocos2d::CCDictionary **this, int a2) { __int64 result; // x0 int v5; // w23 __int64 i; // x20 __int64 v7; // x0 unsigned int *v8; // x0 __int64 *v9; // x19 __int64 *v10; // x21 __int64 j; // x0 result = cocos2d::CCDictionary::count(*(this + 83)); v5 = result; if ( (int)result > a2 && (a2 & 0x80000000) == 0 ) { result = *((unsigned int *)this + 172); if ( (_DWORD)result != a2 ) { *((_DWORD *)this + 172) = a2; for ( i = 0; v5 > (int)i; ++i ) { v7 = cocos2d::CCDictionary::objectForKey(*(this + 83), i); if ( v7 ) { v8 = *(unsigned int **)(v7 + 56); if ( *v8 ) { v9 = *((__int64 **)v8 + 2); v10 = &v9[*v8 - 1]; if ( v9 <= v10 ) { for ( j = *v9; *v9; j = *v9 ) { ++v9; (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)j + 344LL))(j, a2 == (_DWORD)i); if ( v10 < v9 ) break; } } } } } (*(void (__fastcall **)(_QWORD, bool))(*(_QWORD *)*(this + 84) + 344LL))(*(this + 84), a2 > 0); return (*(__int64 (__fastcall **)(_QWORD, bool))(*(_QWORD *)*(this + 85) + 344LL))(*(this + 85), v5 - 1 > a2); } } return result; }