// // GameLevelManager::onGetGJUserInfoCompleted from 0x1005282b0 to 0x10052848a (474 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x10051e5e8 // // 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 12:31:46 +0000 // char __fastcall GameLevelManager::onGetGJUserInfoCompleted(__int64 a1, unsigned __int8 *a2, __int64 a3) { __int64 v4; // r14 char v5; // r14 const void *v6; // rdi unsigned __int64 v7; // rax const void *v8; // r13 size_t v9; // rdx __int64 v10; // rax __int64 v11; // rdi __int64 v12; // rbx __int64 v13; // r12 __int64 v14; // r15 bool v15; // r14 __int64 v16; // rdi int v17; // ecx __int64 (__fastcall ***v18)(_QWORD, __int64); // rdi unsigned __int64 v20; // [rsp+8h] [rbp-68h] __int128 v21; // [rsp+10h] [rbp-60h] BYREF void *__p; // [rsp+20h] [rbp-50h] char v23; // [rsp+28h] [rbp-48h] BYREF _WORD __s2[7]; // [rsp+29h] [rbp-47h] BYREF void *v25; // [rsp+38h] [rbp-38h] unsigned int SplitIntFromKey; // [rsp+44h] [rbp-2Ch] if ( (*(_BYTE *)a3 & 1) != 0 ) v4 = *(_QWORD *)(a3 + 16); else v4 = a3 + 1; GameLevelManager::removeDLFromActive(a1, v4); SplitIntFromKey = GameLevelManager::getSplitIntFromKey(a1, v4, 1); strcpy((char *)__s2, "-1"); v5 = *a2; v6 = a2 + 1; v7 = *a2 >> 1; v8 = *((const void **)a2 + 2); if ( (*a2 & 1) != 0 ) v6 = *((const void **)a2 + 2); v20 = *((_QWORD *)a2 + 1); if ( (v5 & 1) != 0 ) v7 = *((_QWORD *)a2 + 1); v9 = 2; if ( v7 < 2 ) v9 = v7; LOBYTE(v10) = (v7 != 2) | (memcmp(v6, __s2, v9) != 0); if ( !(_BYTE)v10 ) { v11 = *(_QWORD *)(a1 + 1352); if ( v11 ) LOBYTE(v10) = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 8LL))(v11, SplitIntFromKey); return v10; } if ( (v5 & 1) != 0 ) { sub_10001AD30(&v21, v8, v20); } else { __p = *((void **)a2 + 2); v21 = *(_OWORD *)a2; } v12 = a1; v13 = GameLevelManager::responseToDict(&v21, 0); if ( (v21 & 1) != 0 ) operator delete(__p); v10 = GJUserScore::create(v13); if ( v10 ) { v14 = v10; GameLevelManager::storeUserInfo(v12, v10); LODWORD(v10) = *(_DWORD *)(v14 + 688); if ( (_DWORD)v10 == 4 ) { v23 = 4; strcpy((char *)__s2, "32"); v15 = cocos2d::CCDictionary::objectForKey(v13, &v23) != 0; if ( (v23 & 1) != 0 ) operator delete(v25); LODWORD(v10) = *(_DWORD *)(v14 + 688); if ( (_DWORD)v10 == 3 ) goto LABEL_28; } else { v15 = 0; if ( (_DWORD)v10 == 3 ) goto LABEL_28; } if ( !v15 ) { LABEL_30: v18 = *(__int64 (__fastcall ****)(_QWORD, __int64))(v12 + 1352); if ( v18 ) LOBYTE(v10) = (**v18)(v18, v14); return v10; } LABEL_28: v10 = GJFriendRequest::create(v13); v17 = SplitIntFromKey; *(_DWORD *)(v10 + 320) = SplitIntFromKey; if ( v17 > 0 ) LOBYTE(v10) = cocos2d::CCDictionary::setObject_1(*(_QWORD *)(v12 + 1128), v10, SplitIntFromKey); goto LABEL_30; } v16 = *(_QWORD *)(v12 + 1352); if ( v16 ) LOBYTE(v10) = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v16 + 8LL))(v16, SplitIntFromKey); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source