// // MessagesProfilePage::onToggleAllObjects from 0x140476300 to 0x1404763f8 (248 bytes) // // 2 xrefs: // > MessagesProfilePage::init @ 0x140475dee // > @ 0x140928370 // // 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:32:40 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall MessagesProfilePage::onToggleAllObjects(__int64 a1) { _BYTE *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] v2 = (_BYTE *)(a1 + 704); if ( *(_QWORD *)(a1 + 728) > 0xFu ) v2 = *(_BYTE **)v2; v3 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v12 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)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 = MessagesProfilePage::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 + 466LL) = v6 != v7; } } MessagesProfilePage::updateSelectUI(a1); CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 752) + 544LL)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source