// // GameLevelManager::deleteFriendRequests from 0x1402550e0 to 0x1402554e2 (1026 bytes) // // 4 xrefs: // > FRequestProfilePage::deleteSelected @ 0x14021156e // > FriendRequestPopup::onRemove @ 0x1403a2bd3 // > ProfilePage::FLAlert_Clicked @ 0x14055892d // > @ 0x14091c58c // // 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:43 +0000 // // Hidden C++ exception states: #wind=5 char __fastcall GameLevelManager::deleteFriendRequests(__int64 a1, int a2, cocos2d::CCArray *a3, unsigned __int8 a4) { int v4; // ebx cocos2d::CCArray *v5; // rsi int v8; // r12d int v9; // edx size_t v10; // rdi cocos2d::CCString *v11; // rax const char *CString; // rax const char *v13; // r14 size_t v14; // r8 __int64 v15; // rbx void *v16; // r8 size_t v18; // r8 __int64 v19; // rbx __int64 v20; // rax __int64 v21; // rcx cocos2d::CCString *v22; // rax const char *v23; // rax cocos2d::CCString *v24; // rax char *v25; // rax size_t v26; // r8 unsigned int i; // ebx struct cocos2d::CCObject *v28; // r15 cocos2d::CCString *v29; // rax char *v30; // rax size_t v31; // r8 size_t v32; // r8 _QWORD *v33; // rdx __int128 v34; // [rsp+40h] [rbp-89h] BYREF __int64 v35; // [rsp+50h] [rbp-79h] __int64 v36; // [rsp+58h] [rbp-71h] __int128 *v37; // [rsp+60h] [rbp-69h] __int128 *v38; // [rsp+68h] [rbp-61h] void *Block[2]; // [rsp+78h] [rbp-51h] BYREF __int128 v40; // [rsp+88h] [rbp-41h] __int128 v41; // [rsp+98h] [rbp-31h] BYREF __int128 v42; // [rsp+A8h] [rbp-21h] _QWORD Src[4]; // [rsp+B8h] [rbp-11h] BYREF v4 = a4; v5 = a3; if ( a3 && cocos2d::CCArray::count(a3) == 1 ) { a2 = *((_DWORD *)cocos2d::CCArray::objectAtIndex(v5, 0) + 98); v5 = nullptr; } if ( a2 <= 0 && (!v5 || !cocos2d::CCArray::count(v5)) ) return 0; v8 = v4; v9 = a2; v10 = -1; if ( v5 ) v9 = -1; v11 = cocos2d::CCString::createWithFormat("delFriendReq_%i_%i", v9, v4); CString = cocos2d::CCString::getCString(v11); v13 = CString; *(_OWORD *)Block = 0; v40 = 0; v14 = -1; do ++v14; while ( CString[v14] ); sub_14003D230(Block, CString, v14); v15 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1200), Block); if ( *((_QWORD *)&v40 + 1) > 0xFu ) { v16 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v40 + 1) + 1LL) >= 0x1000 ) { v16 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v16 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v16); } if ( v15 ) return 0; v41 = 0; v42 = 0; v18 = -1; do ++v18; while ( v13[v18] ); sub_14003D230(&v41, v13, v18); v19 = *(_QWORD *)(a1 + 1200); v20 = cocos2d::CCNode::create(); cocos2d::CCDictionary::setObject(v19, v20, &v41); sub_14003D310((__int64)&v41); GameLevelManager::getBasePostString(v21, Src); v22 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, (const char *)&word_14070D040); v23 = cocos2d::CCString::getCString(v22); v24 = cocos2d::CCString::createWithFormat("&targetAccountID=%i&isSender=%i&secret=%s", a2, v8, v23); v25 = (char *)cocos2d::CCString::getCString(v24); v26 = -1; do ++v26; while ( v25[v26] ); sub_140044D80(Src, v25, v26); if ( v5 ) { sub_140044D80(Src, "&accounts=", 0xAu); for ( i = 0; i < cocos2d::CCArray::count(v5); ++i ) { v28 = cocos2d::CCArray::objectAtIndex(v5, i); if ( i ) sub_140044D80(Src, byte_14070ECF8, 1u); v29 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *((unsigned int *)v28 + 98)); v30 = (char *)cocos2d::CCString::getCString(v29); v31 = -1; do ++v31; while ( v30[v31] ); sub_140044D80(Src, v30, v31); } } v37 = &v34; v38 = &v41; v34 = 0; v35 = 0; v36 = 0; v32 = -1; do ++v32; while ( v13[v32] ); sub_14003D230(&v34, v13, v32); v33 = Src; if ( Src[3] > 0xFu ) v33 = (_QWORD *)Src[0]; v41 = 0; v42 = 0u; do ++v10; while ( *((_BYTE *)v33 + v10) ); sub_14003D230(&v41, v33, v10); *(_OWORD *)Block = 0; v40 = 0u; Block[0] = sub_14003D460(0x40u); *(_QWORD *)&v40 = 63; *((_QWORD *)&v40 + 1) = 63; strcpy((char *)Block[0], "https://www.boomlings.com/database/deleteGJFriendRequests20.php"); GameLevelManager::ProcessHttpRequest( (cocos2d::CCActionManager **)a1, (__int64)Block, (const char *)&v41, (const char *)&v34, 0x24u); sub_14003D310((__int64)Src); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source