// // FRequestProfilePage::onDeleteSelected from 0x140210fe0 to 0x1402113fc (1052 bytes) // // 2 xrefs: // > FRequestProfilePage::init @ 0x14020fd80 // > @ 0x14091b4f4 // // 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 __int64 __fastcall FRequestProfilePage::onDeleteSelected(__int64 a1) { _QWORD *v2; // rbx __int64 v3; // rcx __int64 StoredOnlineLevels; // rax unsigned int *v5; // rcx __int64 v6; // rax unsigned __int64 v7; // rcx unsigned __int64 v8; // rdx __int64 v9; // rax cocos2d::CCObject *v10; // rbx __int64 v12; // rsi __int64 *v13; // rbx __int64 v14; // rax __int128 *v15; // rcx __int64 v16; // rax __int128 v17; // [rsp+50h] [rbp-19h] BYREF __int64 v18; // [rsp+60h] [rbp-9h] __int64 v19; // [rsp+68h] [rbp-1h] __int128 v20; // [rsp+70h] [rbp+7h] BYREF __int64 v21; // [rsp+80h] [rbp+17h] __int64 v22; // [rsp+88h] [rbp+1Fh] _BYTE v23[48]; // [rsp+90h] [rbp+27h] BYREF void *v24; // [rsp+D0h] [rbp+67h] void *v25; // [rsp+E0h] [rbp+77h] void *v26; // [rsp+E0h] [rbp+77h] v2 = (_QWORD *)(a1 + 712); if ( *(_QWORD *)(a1 + 736) > 0xFu ) v2 = (_QWORD *)*v2; v3 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v24 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v24); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v3 = *(_QWORD *)&qword_14090BFB0; } StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, v2); if ( StoredOnlineLevels ) { v5 = *(unsigned int **)(StoredOnlineLevels + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((_QWORD *)v5 + 2); v8 = v7 + 8 * (v6 - 1); if ( v7 <= v8 ) { while ( *(_QWORD *)v7 ) { if ( *(_BYTE *)(*(_QWORD *)v7 + 797LL) ) { v12 = a1 + 664; if ( *(_BYTE *)(a1 + 704) ) { v17 = 0; *(_QWORD *)&v17 = sub_14003D460(0x50u); v18 = 70; v19 = 79; strcpy((char *)v17, "Are you sure you want to delete the selected requests?"); v25 = operator new(0x298u); v13 = (__int64 *)FLAlertLayer::FLAlertLayer((__int64)v25); if ( v13 ) { v14 = sub_14003F4F0((__int64)v23, (__int64)&v17); if ( FLAlertLayer::init( (cocos2d::CCLayerColor *)v13, v12, "Delete", v14, (__int64)"Back", (__int64)"Delete", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13); } else { (*(void (__fastcall **)(__int64 *, __int64))(*v13 + 8))(v13, 1); v13 = nullptr; } } v15 = &v17; } else { v20 = 0; *(_QWORD *)&v20 = sub_14003D460(0x70u); v21 = 101; v22 = 111; strcpy( (char *)v20, "Ignore the selected requests?\n" "They won't be notified.\n" "Change your mind under Ignored."); v26 = operator new(0x298u); v13 = (__int64 *)FLAlertLayer::FLAlertLayer((__int64)v26); if ( v13 ) { v16 = sub_14003F4F0((__int64)v23, (__int64)&v20); if ( FLAlertLayer::init( (cocos2d::CCLayerColor *)v13, v12, "Ignore", v16, (__int64)"Back", (__int64)"Ignore", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13); } else { (*(void (__fastcall **)(__int64 *, __int64))(*v13 + 8))(v13, 1); v13 = nullptr; } } v15 = &v20; } sub_14003D310((__int64)v15); ButtonSprite::updateBGImage(v13[77], "GJ_button_06.png"); (*(void (__fastcall **)(__int64 *, __int64))(*v13 + 64))(v13, 3); return (*(__int64 (__fastcall **)(__int64 *))(*v13 + 1064))(v13); } v7 += 8LL; if ( v7 > v8 ) break; } } } } v20 = 0; v21 = 0; v22 = 0; *(_QWORD *)&v20 = sub_14003D460(0x20u); v21 = 21; v22 = 31; strcpy((char *)v20, "No requests selected."); v9 = sub_14003F4F0((__int64)v23, (__int64)&v20); v10 = FLAlertLayer::create(0, (int)"Nothing here...", v9, (__int64)"OK", 0, 1132068864, 0, 0, 1065353216); sub_14003D310((__int64)&v20); return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v10 + 1064LL))(v10); }