// // FRequestProfilePage::onToggleAllObjects from 0x1402101e0 to 0x1402102e8 (264 bytes) // // 2 xrefs: // > FRequestProfilePage::init @ 0x14020fcc0 // > @ 0x14091b44c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:28:19 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall FRequestProfilePage::onToggleAllObjects(__int64 a1) { _QWORD *v2; // rbx __int64 v3; // rcx cocos2d::CCArray *StoredOnlineLevels; // rax cocos2d::CCArray *v5; // rbx int v6; // esi unsigned int v7; // r9d unsigned int *v8; // rdx __int64 v9; // rax unsigned __int64 v10; // rdx unsigned __int64 i; // r8 void *v12; // [rsp+30h] [rbp+8h] if ( !*(_BYTE *)(a1 + 896) ) { v2 = (_QWORD *)(a1 + 712); if ( *(_QWORD *)(a1 + 736) > 0xFu ) v2 = (_QWORD *)*v2; v3 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v12 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v12); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v3 = *(_QWORD *)&qword_14090BFB0; } StoredOnlineLevels = (cocos2d::CCArray *)GameLevelManager::getStoredOnlineLevels(v3, v2); v5 = StoredOnlineLevels; if ( StoredOnlineLevels && cocos2d::CCArray::count(StoredOnlineLevels) ) { v6 = FRequestProfilePage::selectedCount(a1); v7 = cocos2d::CCArray::count(v5); v8 = *((unsigned int **)v5 + 7); v9 = *v8; if ( (_DWORD)v9 ) { v10 = *((_QWORD *)v8 + 2); for ( i = v10 + 8 * (v9 - 1); v10 <= i; v10 += 8LL ) { if ( !*(_QWORD *)v10 ) break; *(_BYTE *)(*(_QWORD *)v10 + 797LL) = v6 != v7; } } FRequestProfilePage::updateSelectUI(a1); CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 800) + 544LL)); } } }