// // FRequestProfilePage::deleteSelected from 0xa4d308 to 0xa4d4e4 (476 bytes) // // 2 xrefs: // > FRequestProfilePage::FLAlert_Clicked @ 0xa4d52c // > @ 0xb09c8 // // 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:03 +0000 // __int64 __fastcall FRequestProfilePage::deleteSelected(FRequestProfilePage *this) { GameLevelManager *v2; // x0 const char *v3; // x1 cocos2d::CCArray *StoredOnlineLevels; // x0 cocos2d::CCArray *v5; // x19 cocos2d::CCArray *v6; // x24 unsigned int *v7; // x1 int v8; // w25 GameLevelManager *v9; // x0 cocos2d::CCObject **v11; // x19 cocos2d::CCObject **v12; // x22 cocos2d::CCObject *v13; // x20 GameLevelManager *v14; // x0 GameLevelManager *v15; // x0 GameLevelManager *v16; // x0 char *v17; // x1 __int64 v18; // x0 char v19; // w1 __int64 v20[2]; // [xsp+50h] [xbp+50h] BYREF void *v21; // [xsp+60h] [xbp+60h] v2 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard); v3 = (char *)this + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v3 = *((const char **)this + 91); StoredOnlineLevels = (cocos2d::CCArray *)GameLevelManager::getStoredOnlineLevels(v2, v3); v5 = StoredOnlineLevels; if ( StoredOnlineLevels ) { v6 = (cocos2d::CCArray *)cocos2d::CCArray::create(StoredOnlineLevels); v7 = *((unsigned int **)v5 + 7); v8 = 0; if ( *v7 ) { v11 = *((cocos2d::CCObject ***)v7 + 2); v8 = 0; v12 = &v11[*v7 - 1]; if ( v11 <= v12 ) { while ( 1 ) { v13 = *v11; if ( !*v11 ) break; if ( *((_BYTE *)v13 + 725) ) { cocos2d::CCArray::addObject(v6, *v11); if ( !*((_BYTE *)this + 704) ) { if ( *((_BYTE *)v13 + 724) ) { *((_BYTE *)v13 + 724) = 0; ++v8; } } } if ( v12 < ++v11 ) { v9 = (GameLevelManager *)cocos2d::CCArray::count(v6); if ( !(_DWORD)v9 ) return _stack_chk_guard; goto LABEL_12; } } } } v9 = (GameLevelManager *)cocos2d::CCArray::count(v6); if ( (_DWORD)v9 ) { LABEL_12: v14 = (GameLevelManager *)GameLevelManager::sharedState(v9); *((_QWORD *)v14 + 172) = (char *)this + 688; v15 = (GameLevelManager *)GameLevelManager::sharedState(v14); *((_QWORD *)v15 + 170) = (char *)this + 672; v16 = (GameLevelManager *)GameLevelManager::sharedState(v15); if ( (unsigned __int8)GameLevelManager::deleteFriendRequests(v16, 0, v6, *((_BYTE *)this + 704)) ) { if ( *((_BYTE *)this + 704) ) v17 = "Deleting Requests..."; else v17 = "Ignoring Requests..."; v20[0] = 0; v20[1] = 0; v21 = nullptr; std::string::__init(v20, v17, 0x14u); v18 = UploadActionPopup::create((__int64)this + 680, (char *)v20); v19 = v20[0]; *((_QWORD *)this + 100) = v18; if ( (v19 & 1) != 0 ) { operator delete(v21); v18 = *((_QWORD *)this + 100); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v18 + 1312LL))(v18); } FRequestProfilePage::removeFromNewCount(this, v8); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source