// // GameLevelManager::onGetNotificationsCompleted from 0x14024fb10 to 0x140250da2 (4754 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x14021b34d // > @ 0x14091c478 // // 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:42 +0000 // // Hidden C++ exception states: #wind=10 void __fastcall GameLevelManager::onGetNotificationsCompleted(__int64 a1, const void **a2, _QWORD *a3) { __int64 v5; // r14 _BYTE *v6; // rdx __int64 v7; // rdx __int64 v8; // rcx __int64 v9; // r8 __int64 v10; // r9 unsigned __int64 v11; // rax size_t v12; // rax size_t v13; // r8 _QWORD *v14; // rdx const char *v15; // rcx unsigned int v16; // r15d char *v17; // r8 _BYTE *v18; // rcx unsigned __int64 v19; // rsi size_t v20; // r8 int v21; // ebx const char *v22; // rcx __int64 v23; // rcx int v24; // r8d void (__fastcall ***v25)(__int64, __int64, _QWORD, _QWORD, int); // rbx void (__fastcall **v26)(__int64, __int64, _QWORD, _QWORD, int); // rbx __int64 v27; // rdi __int64 v28; // rax __int64 v29; // rcx _BYTE *v30; // rdx size_t v31; // r8 cocos2d::CCArray *v32; // rdi void *v33; // r8 __int64 v34; // rcx cocos2d::CCString *v35; // rax const char *CString; // rax size_t v37; // r8 cocos2d::CCArray *v38; // rbx char *v39; // r8 cocos2d::CCString *v40; // rax __int64 v41; // rcx cocos2d::CCString *v42; // rax cocos2d::CCString *v43; // rax const char *v44; // rax size_t v45; // r8 cocos2d::CCArray *v46; // rsi unsigned int v47; // r15d __int64 v48; // rcx cocos2d::CCString *v49; // rax const char *v50; // rax size_t v51; // r8 __int64 v52; // rdi _QWORD *v53; // rbx cocos2d::CCString *v54; // rax char *v55; // rcx cocos2d::CCString *v56; // rax char *v57; // rcx cocos2d::CCString *v58; // rax char *v59; // rax size_t v60; // r8 char *v61; // rcx cocos2d::CCString *v62; // rax const char *v63; // rax size_t v64; // r8 char *v65; // rcx cocos2d::CCString *v66; // rax const char *v67; // rax size_t v68; // r8 char *v69; // rcx void *v70; // rcx cocos2d::CCString *v71; // rax char *v72; // rax size_t v73; // r8 void *v74; // rcx cocos2d::CCString *v75; // rax void *v76; // rcx cocos2d::CCString *v77; // rax void *v78; // rcx cocos2d::CCString *v79; // rax void *v80; // rcx cocos2d::CCString *v81; // rax char *v82; // rax size_t v83; // r8 void *v84; // rcx cocos2d::CCString *v85; // rax cocos2d::CCString *v86; // rax cocos2d::CCString *v87; // rax void *v88; // rcx cocos2d::CCString *v89; // rax void *v90; // rcx cocos2d::CCString *v91; // rax void *v92; // rcx cocos2d::CCString *v93; // rax char *v94; // rax size_t v95; // r8 void *v96; // rcx __int64 v97; // rdi int v98; // esi cocos2d::CCString *v99; // rax const char *v100; // r14 _QWORD *v101; // rbx __int64 v102; // rdi __int64 v103; // rax size_t v104; // r8 __int64 v105; // rax __int64 v106; // rax struct cocos2d::CCObject *v107; // rax void (__fastcall ***v108)(_QWORD, cocos2d::CCArray *, _QWORD, _QWORD, int); // rcx int v109; // [rsp+30h] [rbp-D0h] unsigned int v110; // [rsp+34h] [rbp-CCh] unsigned int v111; // [rsp+38h] [rbp-C8h] cocos2d::CCArray *v112; // [rsp+48h] [rbp-B8h] cocos2d::CCArray *v113; // [rsp+50h] [rbp-B0h] __int128 v114; // [rsp+58h] [rbp-A8h] BYREF __int64 v115; // [rsp+68h] [rbp-98h] __int64 v116; // [rsp+70h] [rbp-90h] __int64 v117; // [rsp+78h] [rbp-88h] _QWORD *v118; // [rsp+80h] [rbp-80h] void *v119; // [rsp+88h] [rbp-78h] void *v120; // [rsp+90h] [rbp-70h] const void **v121; // [rsp+98h] [rbp-68h] _QWORD *v122; // [rsp+A0h] [rbp-60h] __int128 Buf2; // [rsp+A8h] [rbp-58h] BYREF __int64 v124; // [rsp+B8h] [rbp-48h] unsigned __int64 v125; // [rsp+C0h] [rbp-40h] char *String[2]; // [rsp+C8h] [rbp-38h] BYREF __int128 v127; // [rsp+D8h] [rbp-28h] void *Block[2]; // [rsp+E8h] [rbp-18h] BYREF __int128 v129; // [rsp+F8h] [rbp-8h] __int128 v130; // [rsp+108h] [rbp+8h] BYREF __int64 v131; // [rsp+118h] [rbp+18h] __int64 v132; // [rsp+120h] [rbp+20h] v5 = a1; v117 = a1; v121 = a2; v122 = a3; v6 = a3; if ( a3[3] > 0xFu ) v6 = (_BYTE *)*a3; GameLevelManager::removeDLFromActive(a1, v6); *(_OWORD *)String = 0; v127 = 0u; v11 = a3[2]; if ( v11 < 0xE ) sub_14003F4D0(v8, v7, v9, v10); v12 = v11 - 14; v13 = -1; if ( v12 != -1 ) v13 = v12; v14 = a3; if ( a3[3] > 0xFu ) v14 = (_QWORD *)*a3; sub_14003D230(String, (char *)v14 + 14, v13); v15 = (const char *)String; if ( *((_QWORD *)&v127 + 1) > 0xFu ) v15 = String[0]; v16 = atoi(v15); v111 = v16; if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v17 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v17 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v17 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v17); } Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "-1"); v18 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v18 = *a2; v19 = (unsigned __int64)a2[2]; v20 = v19; if ( v19 > 2 ) v20 = 2; v21 = memcmp(v18, &Buf2, v20); if ( !v21 ) { if ( v19 >= 2 ) v21 = v19 > 2; else v21 = -1; } if ( !v21 ) goto LABEL_42; v22 = (const char *)a2; if ( (unsigned __int64)a2[3] > 0xF ) v22 = (const char *)*a2; v24 = atoi(v22); if ( v24 == -2 ) { v25 = *(void (__fastcall ****)(__int64, __int64, _QWORD, _QWORD, int))(v5 + 528); if ( v25 ) { v26 = *v25; v27 = *(_QWORD *)(v5 + 528); v28 = cocos2d::CCArray::create(v23); (*v26)(v27, v28, v16, 0, 10); } goto LABEL_163; } if ( v24 < 0 ) { v29 = *(_QWORD *)(v5 + 528); if ( v29 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v29 + 8LL))(v29, v16); goto LABEL_163; } v30 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v30 = *a2; *(_OWORD *)Block = 0; v129 = 0u; v31 = -1; do ++v31; while ( v30[v31] ); sub_14003D230(Block, v30, v31); v32 = sub_1400D2840((__int64 *)Block, byte_140752304); if ( *((_QWORD *)&v129 + 1) > 0xFu ) { v33 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v129 + 1) + 1LL) >= 0x1000 ) { v33 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v33 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v33); } *(_QWORD *)&v129 = 0; *((_QWORD *)&v129 + 1) = 15; LOBYTE(Block[0]) = 0; if ( cocos2d::CCArray::count(v32) >= 2 ) { v35 = cocos2d::CCArray::stringAtIndex(v32, 1u); CString = cocos2d::CCString::getCString(v35); *(_OWORD *)String = 0; v127 = 0u; v37 = -1; do ++v37; while ( CString[v37] ); sub_14003D230(String, CString, v37); v38 = sub_1400D2840((__int64 *)String, ":"); if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v39 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v39 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v39 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v39); } *(_QWORD *)&v127 = 0; *((_QWORD *)&v127 + 1) = 15; LOBYTE(String[0]) = 0; if ( cocos2d::CCArray::count(v38) ) { v40 = cocos2d::CCArray::stringAtIndex(v38, 0); v110 = cocos2d::CCString::intValue(v40); } else { v110 = 0; } if ( cocos2d::CCArray::count(v38) <= 2 ) { v109 = 10; } else { v42 = cocos2d::CCArray::stringAtIndex(v38, 2u); v109 = cocos2d::CCString::intValue(v42); } v113 = (cocos2d::CCArray *)cocos2d::CCArray::create(v41); v43 = cocos2d::CCArray::stringAtIndex(v32, 0); v44 = cocos2d::CCString::getCString(v43); v130 = 0; v131 = 0; v132 = 0; v45 = -1; do ++v45; while ( v44[v45] ); sub_14003D230(&v130, v44, v45); v46 = sub_1400D2840((__int64 *)&v130, (unsigned __int8 *)&word_14070D07C); v112 = v46; sub_14003D310((__int64)&v130); v47 = 0; if ( cocos2d::CCArray::count(v46) ) { do { v49 = cocos2d::CCArray::stringAtIndex(v46, v47); v50 = cocos2d::CCString::getCString(v49); v114 = 0; v115 = 0; v116 = 0; v51 = -1; do ++v51; while ( v50[v51] ); sub_14003D230(&v114, v50, v51); v52 = GameLevelManager::responseToDict(&v114, 0); v53 = operator new(0x128u); v118 = v53; memset(v53, 0, 0x128u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v53); *v53 = &GJNotification::`vftable'; *((_DWORD *)v53 + 14) = 0; *((_DWORD *)v53 + 15) = 1; *((_OWORD *)v53 + 4) = 0; v53[10] = 0; v53[11] = 15; *((_BYTE *)v53 + 64) = 0; *((_OWORD *)v53 + 6) = 0; v53[14] = 0; v53[15] = 15; *((_BYTE *)v53 + 96) = 0; *((_OWORD *)v53 + 8) = 0; v53[18] = 0; v53[19] = 15; *((_BYTE *)v53 + 128) = 0; *((_OWORD *)v53 + 10) = 0; v53[22] = 0; v53[23] = 15; *((_BYTE *)v53 + 160) = 0; *((_BYTE *)v53 + 192) = 0; *(_QWORD *)((char *)v53 + 196) = 0; *((_OWORD *)v53 + 13) = 0; v53[28] = 0; v53[29] = 15; *((_BYTE *)v53 + 208) = 0; v53[30] = 0; v53[31] = 0; *((_DWORD *)v53 + 64) = 0; *(_OWORD *)(v53 + 33) = 0; v53[35] = 0; v53[36] = 15; *((_BYTE *)v53 + 264) = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v53); *(_OWORD *)String = 0; *(_QWORD *)&v127 = 1; *((_QWORD *)&v127 + 1) = 15; LOWORD(String[0]) = 49; v54 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, String); *((_DWORD *)v53 + 14) = cocos2d::CCString::intValue(v54); if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v55 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v55 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v55 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v55); } if ( *((int *)v53 + 14) > 0 ) { *(_OWORD *)String = 0; *(_QWORD *)&v127 = 1; *((_QWORD *)&v127 + 1) = 15; LOWORD(String[0]) = 50; v56 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, String); *((_DWORD *)v53 + 15) = cocos2d::CCString::intValue(v56); if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v57 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v57 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v57 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v57); } *(_OWORD *)String = 0; *(_QWORD *)&v127 = 1; *((_QWORD *)&v127 + 1) = 15; LOWORD(String[0]) = 51; v58 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, String); v59 = (char *)cocos2d::CCString::getCString(v58); v60 = -1; do ++v60; while ( v59[v60] ); sub_1400405A0((void **)v53 + 8, v59, v60); if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v61 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v61 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v61 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v61); } Buf2 = 0; v124 = 1; v125 = 15; LOWORD(Buf2) = 52; v62 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); v63 = cocos2d::CCString::getCString(v62); *(_OWORD *)Block = 0; v129 = 0u; v64 = -1; do ++v64; while ( v63[v64] ); sub_14003D230(Block, v63, v64); if ( (_QWORD)v129 ) { cocos2d::ZipUtils::base64URLDecode(String, Block); } else { *(_OWORD *)String = *(_OWORD *)Block; v127 = v129; *(_QWORD *)&v129 = 0; *((_QWORD *)&v129 + 1) = 15; LOBYTE(Block[0]) = 0; } sub_14003D310((__int64)Block); sub_140059C40((__int64)(v53 + 12), (__int64)String); if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v65 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v65 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v65 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v65); } *(_QWORD *)&v127 = 0; *((_QWORD *)&v127 + 1) = 15; LOBYTE(String[0]) = 0; sub_14003D310((__int64)&Buf2); Buf2 = 0; v124 = 1; v125 = 15; LOWORD(Buf2) = 53; v66 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); v67 = cocos2d::CCString::getCString(v66); *(_OWORD *)Block = 0; v129 = 0u; v68 = -1; do ++v68; while ( v67[v68] ); sub_14003D230(Block, v67, v68); if ( (_QWORD)v129 ) { cocos2d::ZipUtils::base64URLDecode(String, Block); } else { *(_OWORD *)String = *(_OWORD *)Block; v127 = v129; *(_QWORD *)&v129 = 0; *((_QWORD *)&v129 + 1) = 15; LOBYTE(Block[0]) = 0; } sub_14003D310((__int64)Block); sub_140059C40((__int64)(v53 + 16), (__int64)String); if ( *((_QWORD *)&v127 + 1) > 0xFu ) { v69 = String[0]; if ( (unsigned __int64)(*((_QWORD *)&v127 + 1) + 1LL) >= 0x1000 ) { v69 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v69 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v69); } *(_QWORD *)&v127 = 0; *((_QWORD *)&v127 + 1) = 15; LOBYTE(String[0]) = 0; if ( v125 > 0xF ) { v70 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v70 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v70 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v70); } Buf2 = 0; v124 = 1; v125 = 15; LOWORD(Buf2) = (unsigned __int8)a6[0]; v71 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); v72 = (char *)cocos2d::CCString::getCString(v71); v73 = -1; do ++v73; while ( v72[v73] ); sub_1400405A0((void **)v53 + 20, v72, v73); if ( v125 > 0xF ) { v74 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v74 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v74 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v74); } Buf2 = 0; v124 = 1; v125 = 15; LOWORD(Buf2) = 55; v75 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_BYTE *)v53 + 192) = cocos2d::CCString::boolValue(v75); if ( v125 > 0xF ) { v76 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v76 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v76 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v76); } Buf2 = 0; v124 = 1; v125 = 15; LOWORD(Buf2) = 56; v77 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 49) = cocos2d::CCString::intValue(v77); if ( v125 > 0xF ) { v78 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v78 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v78 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v78); } Buf2 = 0; v124 = 1; v125 = 15; LOWORD(Buf2) = (unsigned __int8)a9[0]; v79 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 50) = cocos2d::CCString::intValue(v79); if ( v125 > 0xF ) { v80 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v80 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v80 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v80); } Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "10"); v81 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); v82 = (char *)cocos2d::CCString::getCString(v81); v83 = -1; do ++v83; while ( v82[v83] ); sub_1400405A0((void **)v53 + 26, v82, v83); if ( v125 > 0xF ) { v84 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v84 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v84 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v84); } Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "11"); v85 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 60) = cocos2d::CCString::intValue(v85); sub_14003D310((__int64)&Buf2); Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "12"); v86 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 61) = cocos2d::CCString::intValue(v86); sub_14003D310((__int64)&Buf2); Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "13"); v87 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 62) = cocos2d::CCString::intValue(v87); if ( v125 > 0xF ) { v88 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v88 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v88 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v88); } Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "14"); v89 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 63) = cocos2d::CCString::intValue(v89); if ( v125 > 0xF ) { v90 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v90 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v90 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v90); } Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "15"); v91 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); *((_DWORD *)v53 + 64) = cocos2d::CCString::intValue(v91); if ( v125 > 0xF ) { v92 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v92 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v92 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v92); } Buf2 = 0; v124 = 2; v125 = 15; strcpy((char *)&Buf2, "16"); v93 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v52, &Buf2); v94 = (char *)cocos2d::CCString::getCString(v93); v95 = -1; do ++v95; while ( v94[v95] ); sub_1400405A0((void **)v53 + 33, v94, v95); if ( v125 > 0xF ) { v96 = (void *)Buf2; if ( v125 + 1 >= 0x1000 ) { v96 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v96 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v96); } cocos2d::CCArray::addObject(v113, (struct cocos2d::CCObject *)v53); if ( *((int *)v53 + 60) > 0 ) { v97 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v119 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480(v119); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v97 = qword_14090BFE0; } v98 = *((_DWORD *)v53 + 61); v99 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *((unsigned int *)v53 + 60)); v100 = cocos2d::CCString::getCString(v99); if ( (int)GameStatsManager::getStat(v97, v100) < v98 ) GameStatsManager::setStat(v97, v100, (unsigned int)v98); v46 = v112; } if ( v53[28] ) { v101 = v53 + 26; if ( v101[3] > 0xFu ) v101 = (_QWORD *)*v101; v102 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v120 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v120); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v102 = qword_14090BFD0; } v103 = AchievementManager::sharedState(); if ( (int)AchievementManager::percentForAchievement(v103, (__int64)v101) < 100 ) { v114 = 0; v115 = 0; v116 = 0; v104 = -1; do ++v104; while ( *((_BYTE *)v101 + v104) ); sub_14003D230(&v114, v101, v104); GameManager::completedAchievement(v102, &v114); v105 = AchievementManager::sharedState(); AchievementManager::reportAchievementWithID(v105, (__int64)v101, 100); } } } ++v47; } while ( v47 < cocos2d::CCArray::count(v46) ); v5 = v117; } if ( !v111 ) { v106 = GJAccountManager::sharedState(v48); v107 = cocos2d::CCDictionary::objectForKey( *(cocos2d::CCDictionary **)(v5 + 1232), *(_DWORD *)(v106 + 360) - *(_DWORD *)(v106 + 364)); if ( v107 ) *((_QWORD *)v107 + 97) = 0; } v108 = *(void (__fastcall ****)(_QWORD, cocos2d::CCArray *, _QWORD, _QWORD, int))(v5 + 528); if ( v108 ) (**v108)(v108, v113, v111, v110, v109); } else { LABEL_42: v34 = *(_QWORD *)(v5 + 528); if ( v34 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v34 + 8LL))(v34, v16, 0xFFFFFFFFLL); } LABEL_163: sub_14003D310((__int64)a2); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source