// // GameLevelManager::onAdminThreadActionCompleted from 0x140248340 to 0x1402486bc (892 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x14021af27 // > @ 0x14091c310 // // 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:39 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall GameLevelManager::onAdminThreadActionCompleted(__int64 a1, const void **a2, const void **a3) { _BYTE *v6; // rdx size_t v7; // r12 size_t v8; // r8 __int64 v9; // r8 void *v10; // rcx unsigned int v11; // r13d const void **v12; // rsi const void *v13; // rax unsigned __int64 v14; // rsi char *v15; // rbx __int64 v16; // rax unsigned __int64 v17; // rcx __int64 v18; // rcx unsigned __int64 v19; // rax __int64 v20; // r8 __int64 v21; // r9 unsigned __int64 v22; // rbx unsigned __int64 v23; // rdx unsigned __int64 v24; // rcx size_t v25; // r8 size_t v26; // rcx const void **v27; // rax void **v28; // rcx __int64 v29; // rcx unsigned int v30; // esi __int64 v31; // r8 __int64 v32; // r9 __int64 v33; // rdx void *v34; // r8 unsigned __int64 v35; // rbx const void *v36; // rax size_t v37; // rax const void **v38; // rax void **v39; // rcx void *v40; // r8 const void *v41; // rcx unsigned __int64 v42; // rbx size_t v43; // r8 __int64 v44; // rcx __int64 v45; // rcx void *Block[2]; // [rsp+48h] [rbp-28h] BYREF __int128 v47; // [rsp+58h] [rbp-18h] v6 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v6 = *a3; *(_OWORD *)Block = 0; v47 = 0; v7 = -1; v8 = -1; do ++v8; while ( v6[v8] ); sub_14003D230(Block, v6, v8); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block); if ( *((_QWORD *)&v47 + 1) > 0xFu ) { v10 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v47 + 1) + 1LL) >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v10); } v11 = 0; v12 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v12 = (const void **)*a3; v13 = a3[2]; if ( v13 ) { v15 = (char *)v12 + (_QWORD)v13; LOBYTE(v9) = 95; v16 = sub_140677120(v12, (char *)v12 + (_QWORD)v13, v9); v17 = v16 - (_QWORD)v12; v14 = -1; if ( (char *)v16 != v15 ) v14 = v17; } else { v14 = -1; } v18 = (__int64)a3; if ( (unsigned __int64)a3[3] > 0xF ) v18 = (__int64)*a3; v19 = sub_14007B240(v18, (__int64)a3[2], v9, 0x5Fu); v22 = v19; if ( v14 == -1 || v19 == -1 || v19 <= v14 ) { v30 = 0; } else { v23 = v14 + 1; *(_OWORD *)Block = 0; v47 = 0; v24 = (unsigned __int64)a3[2]; if ( v24 < v14 + 1 ) sub_14003F4D0(v24, v23, v20, v21); v25 = v19 - v14 - 1; v26 = v24 - v23; if ( v26 < v25 ) v25 = v26; v27 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v27 = (const void **)*a3; sub_14003D230(Block, (char *)v27 + v23, v25); v28 = Block; if ( *((_QWORD *)&v47 + 1) > 0xFu ) v28 = (void **)Block[0]; v30 = atoi((const char *)v28); v33 = *((_QWORD *)&v47 + 1); if ( *((_QWORD *)&v47 + 1) > 0xFu ) { v34 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v47 + 1) + 1LL) >= 0x1000 ) { v34 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v34 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v34); } v35 = v22 + 1; *(_OWORD *)Block = 0; v47 = 0; v36 = a3[2]; if ( (unsigned __int64)v36 < v35 ) sub_14003F4D0(v29, v33, v31, v32); v37 = (size_t)v36 - v35; if ( v37 != -1 ) v7 = v37; v38 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v38 = (const void **)*a3; sub_14003D230(Block, (char *)v38 + v35, v7); v39 = Block; if ( *((_QWORD *)&v47 + 1) > 0xFu ) v39 = (void **)Block[0]; v11 = atoi((const char *)v39); if ( *((_QWORD *)&v47 + 1) > 0xFu ) { v40 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v47 + 1) + 1LL) >= 0x1000 ) { v40 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v40 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v40); } } *(_OWORD *)Block = 0; *(_QWORD *)&v47 = 2; *((_QWORD *)&v47 + 1) = 15; strcpy((char *)Block, "-1"); v41 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v41 = *a2; v42 = (unsigned __int64)a2[2]; v43 = v42; if ( v42 > 2 ) v43 = 2; if ( !memcmp(v41, Block, v43) && v42 == 2 ) { v45 = *(_QWORD *)(a1 + 1392); if ( v45 ) (*(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v45 + 72LL))(v45, v30, v11); } else { v44 = *(_QWORD *)(a1 + 1392); if ( v44 ) (*(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v44 + 64LL))(v44, v30, v11); } sub_14003D310((__int64)a2); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source