// // CommunityCreditsPage::goToPage from 0x9701f8 to 0x970314 (284 bytes) // // 3 xrefs: // > CommunityCreditsPage::onSwitchPage @ 0x970354 // > CommunityCreditsPage::init @ 0x972158 // > @ 0x7f698 // // 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 CommunityCreditsPage::goToPage(CommunityCreditsPage *a1, int a2) { signed int v4; // w23 intptr_t i; // x20 cocos2d::CCObject *v6; // x0 cocos2d::CCObject_vtbl *v7; // x0 void (__fastcall *v8)(cocos2d::CCObject *__hidden); // x19 void (__fastcall *v9)(cocos2d::CCObject *__hidden); // x21 __int64 j; // x0 v4 = cocos2d::CCDictionary::count(a1->m_pageObjects); if ( v4 > a2 && (a2 & 0x80000000) == 0 && a1->m_page != a2 ) { a1->m_page = a2; for ( i = 0; v4 > (int)i; ++i ) { v6 = cocos2d::CCDictionary::objectForKey(a1->m_pageObjects, i); if ( v6 ) { v7 = v6[1].__vftable; if ( LODWORD(v7->copyWithZone) ) { v8 = v7->~CCObject_0; v9 = (void (__fastcall *)(cocos2d::CCObject *__hidden))((char *)v8 + 8 * LODWORD(v7->copyWithZone) - 8); if ( (unsigned __int64)v8 <= (unsigned __int64)v9 ) { for ( j = *(_QWORD *)v8; *(_QWORD *)v8; j = *(_QWORD *)v8 ) { v8 = (void (__fastcall *)(cocos2d::CCObject *__hidden))((char *)v8 + 8); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)j + 328LL))(j, a2 == (_DWORD)i); if ( (unsigned __int64)v9 < (unsigned __int64)v8 ) break; } } } } } a1->m_prevButton->setVisible(a1->m_prevButton, a2 > 0); a1->m_nextButton->setVisible(a1->m_nextButton, v4 - 1 > a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source