// // GameLevelManager::onGetGJUserInfoCompleted from 0x14023a830 to 0x14023aabb (651 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x140219f90 // > @ 0x14091c070 // // 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:34 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall GameLevelManager::onGetGJUserInfoCompleted(__int64 a1, const void **a2, _QWORD *a3) { char v6; // r15 _BYTE *v7; // rsi __int64 v8; // rcx __int64 SplitIntFromKey; // rbp const void *v10; // rcx unsigned __int64 v11; // rsi size_t v12; // r8 __int64 v13; // rax __int64 v14; // r13 __int64 v15; // rax int *v16; // rsi __int64 v17; // rcx __int64 v18; // rax bool v19; // r12 void *v20; // rcx struct cocos2d::CCObject *v21; // rax void (__fastcall ***v22)(_QWORD, int *); // rcx _BYTE v23[32]; // [rsp+38h] [rbp-90h] BYREF const void **v24; // [rsp+58h] [rbp-70h] _QWORD *v25; // [rsp+60h] [rbp-68h] __int128 Buf2; // [rsp+68h] [rbp-60h] BYREF __m128i si128; // [rsp+78h] [rbp-50h] v24 = a2; v25 = a3; v6 = 0; v7 = a3; if ( a3[3] > 0xFu ) v7 = (_BYTE *)*a3; GameLevelManager::removeDLFromActive(a1, v7); SplitIntFromKey = (int)GameLevelManager::getSplitIntFromKey(v8, v7, 1); Buf2 = 0; si128.m128i_i64[0] = 2; si128.m128i_i64[1] = 15; strcpy((char *)&Buf2, "-1"); v10 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v10 = *a2; v11 = (unsigned __int64)a2[2]; v12 = v11; if ( v11 > 2 ) v12 = 2; if ( !memcmp(v10, &Buf2, v12) && v11 == 2 || (v13 = sub_14003F4F0((__int64)v23, (__int64)a2), v14 = GameLevelManager::responseToDict(v13, 0), v15 = GJUserScore::create(v14), (v16 = (int *)v15) == nullptr) ) { v17 = *(_QWORD *)(a1 + 1480); if ( v17 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 8LL))(v17, (unsigned int)SplitIntFromKey); } else { v18 = *(int *)(v15 + 392); if ( (int)v18 > 0 ) { cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 1232), (struct cocos2d::CCObject *)v16, v18); sub_14003F4F0((__int64)&Buf2, (__int64)(v16 + 80)); v6 = 2; GameLevelManager::storeUserName((_QWORD *)a1, v16[97], v16[98], (void **)&Buf2); } v19 = false; if ( v16[190] == 4 ) { Buf2 = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_140836530); strcpy((char *)&Buf2, "32"); v6 |= 1u; if ( cocos2d::CCDictionary::objectForKey(v14, &Buf2) ) v19 = true; } if ( (v6 & 1) != 0 && si128.m128i_i64[1] > 0xFuLL ) { v20 = (void *)Buf2; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v20 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v20 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v20); } if ( v16[190] == 3 || v19 ) { v21 = (struct cocos2d::CCObject *)GJFriendRequest::create(v14); *((_DWORD *)v21 + 81) = SplitIntFromKey; if ( (int)SplitIntFromKey > 0 ) cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 1240), v21, SplitIntFromKey); } v22 = *(void (__fastcall ****)(_QWORD, int *))(a1 + 1480); if ( v22 ) (**v22)(v22, v16); } sub_14003D310((__int64)a2); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source