// // FRequestProfilePage::onToggleAllObjects from 0x5f0fe2 to 0x5f1060 (126 bytes) // // 0 xrefs: // // 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:54:27 +0000 // CCMenuItemToggler *__fastcall FRequestProfilePage::onToggleAllObjects(CCMenuItemToggler *this, cocos2d::CCObject *a2) { CCMenuItemToggler *v2; // r4 GameLevelManager *v3; // r0 const char *v4; // r1 cocos2d::CCArray *v5; // r5 int v6; // r6 int v7; // r0 int *v8; // r2 int v9; // r3 int *v10; // r2 int *v11; // r3 int v12; // r1 int v13; // t1 v2 = this; if ( !*((_BYTE *)this + 628) ) { v3 = (GameLevelManager *)GameLevelManager::sharedState(this); v4 = (*((_BYTE *)v2 + 544) & 1) != 0 ? *((const char **)v2 + 138) : (char *)v2 + 545; this = (CCMenuItemToggler *)GameLevelManager::getStoredOnlineLevels(v3, v4); v5 = this; if ( this ) { this = (CCMenuItemToggler *)cocos2d::CCArray::count(this); if ( this ) { v6 = FRequestProfilePage::selectedCount(v2); v7 = cocos2d::CCArray::count(v5); v8 = *((int **)v5 + 13); v9 = *v8; if ( *v8 ) { v10 = (int *)v8[3]; v11 = &v10[v9 - 1]; while ( v10 <= v11 ) { v13 = *v10++; v12 = v13; if ( !v13 ) break; *(_BYTE *)(v12 + 557) = v6 != v7; } } FRequestProfilePage::updateSelectUI((GJSelectionStrip **)v2); return CustomListView::reloadAll(*(CCMenuItemToggler **)(*((_DWORD *)v2 + 145) + 440)); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source