// // MessagesProfilePage::onToggleAllObjects from 0x8f1e34 to 0x8f1ecc (152 bytes) // // 3 xrefs: // > @ 0x8e5d8 // > MessagesProfilePage::init @ 0x8f368c // > @ 0x122cd78 // // 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 MessagesProfilePage::onToggleAllObjects(MessagesProfilePage *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 cocos2d::CCArray *StoredOnlineLevels; // x0 cocos2d::CCArray *v5; // x20 cocos2d::ccArray *data; // x0 unsigned int num; // w1 cocos2d::CCObject **arr; // x0 cocos2d::CCObject **i; // x3 cocos2d::CCObject *v10; // x1 a1->m_toggledAll ^= 1u; v3 = GameLevelManager::sharedState(); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)a1->m_messageKey.m_data.m_data); v5 = StoredOnlineLevels; if ( StoredOnlineLevels && (unsigned int)cocos2d::CCArray::count(StoredOnlineLevels) ) { data = v5->data; num = data->num; if ( data->num ) { arr = data->arr; for ( i = &arr[num - 1]; i >= arr; BYTE2(v10[6].m_uAutoReleaseCount) = a1->m_toggledAll ) { v10 = *arr; if ( !*arr ) break; ++arr; } } CustomListView::reloadAll((CustomListView *)a1->m_listLayer->m_list); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source