// // MessagesProfilePage::onToggleAllObjects from 0x5ef758 to 0x5ef7ce (118 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:26 +0000 // CCMenuItemToggler *__fastcall MessagesProfilePage::onToggleAllObjects(MessagesProfilePage *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // r0 const char *v4; // r1 CCMenuItemToggler *result; // r0 cocos2d::CCArray *v6; // r5 int v7; // r6 int v8; // r0 int *v9; // r2 int v10; // r3 int *v11; // r2 int *v12; // r3 int v13; // r1 int v14; // t1 v3 = (GameLevelManager *)GameLevelManager::sharedState(this); if ( (*((_BYTE *)this + 540) & 1) != 0 ) v4 = *((const char **)this + 137); else v4 = (char *)this + 541; result = (CCMenuItemToggler *)GameLevelManager::getStoredOnlineLevels(v3, v4); v6 = result; if ( result ) { result = (CCMenuItemToggler *)cocos2d::CCArray::count(result); if ( result ) { v7 = MessagesProfilePage::selectedCount(this); v8 = cocos2d::CCArray::count(v6); v9 = *((int **)v6 + 13); v10 = *v9; if ( *v9 ) { v11 = (int *)v9[3]; v12 = &v11[v10 - 1]; while ( v11 <= v12 ) { v14 = *v11++; v13 = v14; if ( !v14 ) break; *(_BYTE *)(v13 + 326) = v7 != v8; } } MessagesProfilePage::updateSelectUI(this); return CustomListView::reloadAll(*(CCMenuItemToggler **)(*((_DWORD *)this + 140) + 440)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source