//
// FRequestProfilePage::untoggleAll from 0x8f4de0 to 0x8f4e48 (104 bytes)
//
// 4 xrefs:
// > FRequestProfilePage::loadPage @ 0x8f5320
// > FRequestProfilePage::onSentRequests @ 0x8f61e4
// > FRequestProfilePage::onClose @ 0x8f627c
// > ??> @ 0xb5ff8
//
// 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; // x0
cocos2d::CCArray *StoredOnlineLevels; // x0
cocos2d::ccArray *data; // x0
unsigned int num; // w1
cocos2d::CCObject **arr; // x0
cocos2d::CCObject **i; // x2
cocos2d::CCObject *v8; // x1
v2 = GameLevelManager::sharedState();
StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, (const char *)a1->m_key.m_data.m_data);
if ( StoredOnlineLevels )
{
data = StoredOnlineLevels->data;
num = data->num;
if ( data->num )
{
arr = data->arr;
for ( i = &arr[num - 1]; i >= arr; BYTE1(v8[9].m_unknown2) = 0 )
{
v8 = *arr;
if ( !*arr )
break;
++arr;
}
}
}
}