// // FRequestProfilePage::deleteSelected from 0x140211400 to 0x14021160d (525 bytes) // // 2 xrefs: // > FRequestProfilePage::FLAlert_Clicked @ 0x140211a12 // > @ 0x14091b500 // // 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=4 int __fastcall FRequestProfilePage::deleteSelected(__int64 a1) { _QWORD *v2; // rbx __int64 v3; // rcx __int64 StoredOnlineLevels; // rax __int64 v5; // rcx __int64 v6; // rbx cocos2d::CCArray *v7; // r15 unsigned int v8; // ebp unsigned int *v9; // rdi __int64 v10; // rax struct cocos2d::CCObject **v11; // rdi struct cocos2d::CCObject **i; // r14 struct cocos2d::CCObject *v13; // rbx __int64 v14; // rbx __int64 v15; // rcx __int64 v16; // rax __int64 v17; // rcx const char *v18; // rdx size_t v19; // r8 __int64 v20; // rax __int128 v22; // [rsp+20h] [rbp-48h] BYREF __int64 v23; // [rsp+30h] [rbp-38h] __int64 v24; // [rsp+38h] [rbp-30h] void *v25; // [rsp+70h] [rbp+8h] void *v26; // [rsp+70h] [rbp+8h] v2 = (_QWORD *)(a1 + 712); if ( *(_QWORD *)(a1 + 736) > 0xFu ) v2 = (_QWORD *)*v2; v3 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v25 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v25); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v3 = *(_QWORD *)&qword_14090BFB0; } StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, v2); v6 = StoredOnlineLevels; if ( StoredOnlineLevels ) { v7 = (cocos2d::CCArray *)cocos2d::CCArray::create(v5); v8 = 0; v9 = *(unsigned int **)(v6 + 56); v10 = *v9; if ( (_DWORD)v10 ) { v11 = *((struct cocos2d::CCObject ***)v9 + 2); for ( i = &v11[v10 - 1]; v11 <= i; ++v11 ) { v13 = *v11; if ( !*v11 ) break; if ( *((_BYTE *)v13 + 797) ) { cocos2d::CCArray::addObject(v7, *v11); if ( !*(_BYTE *)(a1 + 704) ) { if ( *((_BYTE *)v13 + 796) ) { *((_BYTE *)v13 + 796) = 0; ++v8; } } } } } LODWORD(StoredOnlineLevels) = cocos2d::CCArray::count(v7); if ( (_DWORD)StoredOnlineLevels ) { v14 = a1 + 688; if ( !a1 ) v14 = 0; v15 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v26 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v26); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v15 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v15 + 1504) = v14; v16 = a1 + 672; if ( !a1 ) v16 = 0; *(_QWORD *)(v15 + 1488) = v16; if ( (unsigned __int8)GameLevelManager::deleteFriendRequests(v15, 0, v7, *(unsigned __int8 *)(a1 + 704)) ) { v18 = "Ignoring Requests..."; if ( *(_BYTE *)(a1 + 704) ) v18 = "Deleting Requests..."; v22 = 0; v23 = 0; v24 = 0; v19 = -1; do ++v19; while ( v18[v19] ); sub_14003D230(&v22, v18, v19); v20 = UploadActionPopup::create(a1 + 680, &v22); *(_QWORD *)(a1 + 816) = v20; (*(void (__fastcall **)(__int64))(*(_QWORD *)v20 + 1064LL))(v20); } LODWORD(StoredOnlineLevels) = FRequestProfilePage::removeFromNewCount(v17, v8); } } return StoredOnlineLevels; }