// // FRequestProfilePage::untoggleAll from 0x4c2372 to 0x4c23aa (56 bytes) // // 3 xrefs: // > FRequestProfilePage::loadPage @ 0x4c274c // > FRequestProfilePage::onSentRequests @ 0x4c3106 // > FRequestProfilePage::onClose @ 0x4c3162 // // 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 FRequestProfilePage::untoggleAll(FRequestProfilePage *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_key.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 + 453) = 0; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source