// // GameLevelManager::onRequestUserAccessCompleted from 0x14025b9b0 to 0x14025bcd7 (807 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x14021a3e6 // > @ 0x14091c718 // // 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:46 +0000 // // Hidden C++ exception states: #wind=7 void __fastcall GameLevelManager::onRequestUserAccessCompleted(__int64 a1, const void **a2, __int64 a3) { void *v6; // rcx const void *v7; // rcx unsigned __int64 v8; // r14 size_t v9; // r8 int v10; // ebx int v11; // esi __int64 v12; // rcx const char *v13; // rcx __int64 v14; // r8 int v15; // r14d const void **v16; // rbp const void *v17; // rax char *v18; // rbx __int64 v19; // rax __int64 v20; // rax const void **v21; // rcx __int64 v22; // rcx _DWORD *v23; // rbx float v24; // xmm0_4 __int64 v25; // rax void (__fastcall ***v26)(_QWORD, _QWORD, __int64); // rcx void *v27; // [rsp+30h] [rbp-78h] void *v28; // [rsp+30h] [rbp-78h] void *v29; // [rsp+30h] [rbp-78h] void *Block[2]; // [rsp+48h] [rbp-60h] BYREF __int64 v31; // [rsp+58h] [rbp-50h] unsigned __int64 v32; // [rsp+60h] [rbp-48h] *(_OWORD *)Block = 0; v31 = 6; v32 = 15; strcpy((char *)Block, "req_ua"); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block); if ( v32 > 0xF ) { v6 = Block[0]; if ( v32 + 1 >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v6); } *(_OWORD *)Block = 0; v31 = 2; v32 = 15; strcpy((char *)Block, "-1"); v7 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v7 = *a2; v8 = (unsigned __int64)a2[2]; v9 = v8; if ( v8 > 2 ) v9 = 2; v10 = memcmp(v7, Block, v9); v11 = 0; if ( !v10 ) { if ( v8 >= 2 ) v10 = v8 > 2; else v10 = -1; } if ( !v10 ) { v12 = *(_QWORD *)(a1 + 1488); if ( v12 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v12 + 8LL))(v12, 0, 49); } v13 = (const char *)a2; if ( (unsigned __int64)a2[3] > 0xF ) v13 = (const char *)*a2; v15 = atoi(v13); v16 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v16 = (const void **)*a2; v17 = a2[2]; if ( v17 ) { v18 = (char *)v16 + (_QWORD)v17; LOBYTE(v14) = 44; v19 = sub_140677120(v16, (char *)v16 + (_QWORD)v17, v14); if ( (char *)v19 != v18 ) { v20 = v19 - (_QWORD)v16; if ( v20 != -1 ) { v21 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v21 = (const void **)*a2; v11 = atoi((const char *)v21 + v20 + 1); } } } if ( v15 == 99 ) { v22 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v27 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v27); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v22 = qword_14090BFD0; } *(_BYTE *)(v22 + 1076) = 1; *(_DWORD *)(v22 + 1080) = v11; } else { if ( (unsigned int)(v15 - 1) > 1 ) goto LABEL_39; v23 = (_DWORD *)qword_14090BFD0; if ( !qword_14090BFD0 ) { v28 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v28); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v23 = (_DWORD *)qword_14090BFD0; } v23[268] = v15; v24 = (float)((float)rand() / 32767.0) * 1000.0; v23[267] = (int)v24; v23[266] = v15 + (int)v24; v25 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v29 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v29); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v25 = qword_14090BFD0; } *(_DWORD *)(v25 + 1080) = v11; } v26 = *(void (__fastcall ****)(_QWORD, _QWORD, __int64))(a1 + 1488); if ( v26 ) (**v26)(v26, 0, 49); LABEL_39: sub_14003D310((__int64)a2); sub_14003D310(a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source