// // FRequestProfilePage::untoggleAll from 0x1001b71a8 to 0x1001b7210 (104 bytes) // // 3 xrefs: // > FRequestProfilePage::onClose @ 0x1001b69d8 // > FRequestProfilePage::onSentRequests @ 0x1001b6a98 // > FRequestProfilePage::loadPage @ 0x1001b6dd0 // // 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 *v2; // x0 std::string *p_m_key; // x1 cocos2d::CCArray *StoredOnlineLevels; // x0 cocos2d::ccArray *data; // x8 __int64 num; // x9 unsigned __int64 arr; // x8 unsigned __int64 v8; // x9 v2 = GameLevelManager::sharedState(); p_m_key = &a1->m_key; if ( a1->m_key.m_data.m_short.shortStorage.__elems_[22] < 0 ) p_m_key = (std::string *)p_m_key->m_data.m_long.capacitym1; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, (const char *)p_m_key); if ( StoredOnlineLevels ) { data = StoredOnlineLevels->data; num = data->num; if ( (_DWORD)num ) { arr = (unsigned __int64)data->arr; v8 = arr + 8 * num - 8; do { if ( !*(_QWORD *)arr ) break; *(_BYTE *)(*(_QWORD *)arr + 689LL) = 0; arr += 8LL; } while ( arr <= v8 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source