// // GameLevelManager::onDeleteFriendRequestCompleted from 0x1402554f0 to 0x140255704 (532 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x14021a006 // > @ 0x14091c598 // // 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=3 void __fastcall GameLevelManager::onDeleteFriendRequestCompleted(__int64 a1, const void **a2, void **a3) { _BYTE *v6; // rbx size_t v7; // r8 __int64 v8; // rcx void *v9; // rcx __int64 SplitIntFromKey; // rbp __int64 v11; // rcx int v12; // r15d const void *v13; // rcx unsigned __int64 v14; // rbx size_t v15; // r8 __int64 v16; // rcx struct cocos2d::CCObject *v17; // rax __int64 v18; // rdx __int64 v19; // r8 __int64 v20; // r9 void (__fastcall ***v21)(_QWORD, _QWORD, __int64); // rcx void *Block[2]; // [rsp+40h] [rbp-68h] BYREF __int128 v23; // [rsp+50h] [rbp-58h] v6 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v6 = *a3; *(_OWORD *)Block = 0; v23 = 0; v7 = -1; do ++v7; while ( v6[v7] ); sub_14003D230(Block, v6, v7); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block); if ( *((_QWORD *)&v23 + 1) > 0xFu ) { v9 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v23 + 1) + 1LL) >= 0x1000 ) { v9 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } SplitIntFromKey = GameLevelManager::getSplitIntFromKey(v8, v6, 1u); v12 = GameLevelManager::getSplitIntFromKey(v11, v6, 2u); *(_OWORD *)Block = 0; *(_QWORD *)&v23 = 2; *((_QWORD *)&v23 + 1) = 15; strcpy((char *)Block, "-1"); v13 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v13 = *a2; v14 = (unsigned __int64)a2[2]; v15 = v14; if ( v14 > 2 ) v15 = 2; if ( !memcmp(v13, Block, v15) && v14 == 2 ) { v16 = *(_QWORD *)(a1 + 1488); if ( v16 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v16 + 8LL))(v16, (unsigned int)SplitIntFromKey, 36); } else { v17 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 1232), SplitIntFromKey); if ( v17 ) { *((_DWORD *)v17 + 190) = 0; v20 = *(_QWORD *)(a1 + 1480); if ( v20 ) (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(*(_QWORD *)v20 + 16LL))( *(_QWORD *)(a1 + 1480), v17); } v21 = *(void (__fastcall ****)(_QWORD, _QWORD, __int64))(a1 + 1488); if ( v21 ) (**v21)(v21, (unsigned int)SplitIntFromKey, 36); if ( (_DWORD)SplitIntFromKey == -1 ) { LOBYTE(v18) = v12 != 0; LOBYTE(v19) = 1; GameLevelManager::invalidateRequests(a1, v18, v19); } else { LOBYTE(v19) = v12 != 0; GameLevelManager::friendRequestWasRemoved(a1, (unsigned int)SplitIntFromKey, v19); } } sub_14003D310((__int64)a2); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source