// // MessagesProfilePage::untoggleAll from 0x4c0f30 to 0x4c0f68 (56 bytes) // // 2 xrefs: // > MessagesProfilePage::loadPage @ 0x4c12b8 // > MessagesProfilePage::onClose @ 0x4c1c24 // // 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::untoggleAll(MessagesProfilePage *a1) { GameLevelManager *v2; // r0 cocos2d::CCArray *StoredOnlineLevels; // r0 cocos2d::ccArray *data; // r2 int v5; // r3 cocos2d::CCObject **arr; // r2 cocos2d::CCObject **v7; // r3 int v8; // r1 int v9; // t1 v2 = GameLevelManager::sharedState(); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, (const char *)a1->m_messageKey.m_data.m_data); if ( StoredOnlineLevels ) { data = StoredOnlineLevels->data; if ( data->num ) { v5 = data->num + 0x40000000; arr = data->arr; v7 = &arr[v5 - 1]; while ( arr <= v7 ) { v9 = (int)*arr++; v8 = v9; if ( !v9 ) break; *(_BYTE *)(v8 + 294) = 0; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source