// // MessagesProfilePage::onToggleAllObjects from 0x1001ccb08 to 0x1001ccba0 (152 bytes) // // 1 xrefs: // > MessagesProfilePage::init @ 0x1001cc424 // // 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 __fastcall MessagesProfilePage::onToggleAllObjects(MessagesProfilePage *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 std::string *p_m_messageKey; // x1 cocos2d::CCArray *StoredOnlineLevels; // x0 cocos2d::CCArray *v6; // x20 cocos2d::ccArray *data; // x8 __int64 num; // x9 unsigned __int64 arr; // x8 unsigned __int64 v10; // x9 a1->m_toggledAll ^= 1u; v3 = GameLevelManager::sharedState(); p_m_messageKey = &a1->m_messageKey; if ( a1->m_messageKey.m_data.m_short.shortStorage.__elems_[22] < 0 ) p_m_messageKey = (std::string *)p_m_messageKey->m_data.m_long.capacitym1; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)p_m_messageKey); if ( StoredOnlineLevels ) { v6 = StoredOnlineLevels; if ( (unsigned int)sub_10024A36C(StoredOnlineLevels) ) { data = v6->data; num = data->num; if ( (_DWORD)num ) { arr = (unsigned __int64)data->arr; v10 = arr + 8 * num - 8; do { if ( !*(_QWORD *)arr ) break; *(_BYTE *)(*(_QWORD *)arr + 426LL) = a1->m_toggledAll; arr += 8LL; } while ( arr <= v10 ); } CustomListView::reloadAll((CustomListView *)a1->m_listLayer->m_list); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source