// // FRequestProfilePage::onToggleAllObjects from 0xa4c39c to 0xa4c474 (216 bytes) // // 3 xrefs: // > @ 0xcd228 // > FRequestProfilePage::init @ 0xa4e850 // > @ 0x1546048 // // This function is hookable on this platform (idp: arm, 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 13:00:02 +0000 // _BYTE *__fastcall FRequestProfilePage::onToggleAllObjects(_BYTE *this, cocos2d::CCObject *a2) { _BYTE *v2; // x19 GameLevelManager *v3; // x0 const char *v4; // x1 cocos2d::CCArray *v5; // x20 int v6; // w21 int v7; // w0 unsigned int *v8; // x1 unsigned int v9; // w2 __int64 *v10; // x1 __int64 *v11; // x3 __int64 v12; // x2 bool v13; // w0 if ( !*(this + 880) ) { v2 = this; v3 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)this); v4 = v2 + 713; if ( (v2[712] & 1) != 0 ) v4 = *((const char **)v2 + 91); this = (_BYTE *)GameLevelManager::getStoredOnlineLevels(v3, v4); v5 = (cocos2d::CCArray *)this; if ( this ) { this = (_BYTE *)cocos2d::CCArray::count((cocos2d::CCArray *)this); if ( (_DWORD)this ) { v6 = FRequestProfilePage::selectedCount((FRequestProfilePage *)v2); v7 = cocos2d::CCArray::count(v5); v8 = *((unsigned int **)v5 + 7); v9 = *v8; if ( *v8 ) { v10 = *((__int64 **)v8 + 2); v11 = &v10[v9 - 1]; if ( v10 <= v11 ) { v12 = *v10; if ( *v10 ) { v13 = v6 != v7; do { ++v10; *(_BYTE *)(v12 + 725) = v13; if ( v11 < v10 ) break; v12 = *v10; } while ( *v10 ); } } } FRequestProfilePage::updateSelectUI((GJSelectionStrip **)v2); return (_BYTE *)CustomListView::reloadAll(*(_QWORD *)(*((_QWORD *)v2 + 98) + 544LL)); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source