// // FRequestProfilePage::untoggleAll from 0x100791430 to 0x10079149f (111 bytes) // // 0 xrefs: // // 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 FRequestProfilePage::untoggleAll(FRequestProfilePage *a1) { GameLevelManager *v1; // rax std::array *longStorage; // rbx cocos2d::CCArray *StoredOnlineLevels; // rax cocos2d::ccArray *data; // rax __int64 num; // rcx unsigned __int64 arr; // rax unsigned __int64 v7; // rcx v1 = GameLevelManager::sharedState(); if ( (a1->m_key.m_data.m_short.sizex2 & 1) != 0 ) longStorage = (std::array *)a1->m_key.m_data.m_long.longStorage; else longStorage = &a1->m_key.m_data.m_short.shortStorage; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v1, longStorage->__elems_); if ( StoredOnlineLevels ) { data = StoredOnlineLevels->data; num = data->num; if ( data->num ) { arr = (unsigned __int64)data->arr; v7 = arr + 8 * num - 8; do { if ( !*(_QWORD *)arr ) break; *(_BYTE *)(*(_QWORD *)arr + 689LL) = 0; arr += 8LL; } while ( arr <= v7 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source