// // GameLevelManager::onUploadCommentCompleted from 0x14023ed90 to 0x14023fef8 (4456 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x140219c3c // > @ 0x14091c16c // // 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:36 +0000 // // Hidden C++ exception states: #wind=26 void __fastcall GameLevelManager::onUploadCommentCompleted(__int64 a1, __int64 *a2, void **a3) { _BYTE *v4; // rsi size_t v5; // rdi size_t v6; // r8 void *v7; // rcx size_t v8; // r8 void **v9; // rcx char *v10; // rbx unsigned __int64 v11; // r13 unsigned __int64 v12; // r15 size_t v13; // r8 __int64 v14; // rcx int v15; // r12d char *v16; // rax __int64 v17; // rax unsigned int v18; // r14d size_t v19; // r8 cocos2d::CCArray *v20; // rbx void *v21; // r8 cocos2d::CCString *v22; // rax const char *CString; // rax __int64 v24; // r13 const char *v25; // rcx int v26; // eax int v27; // ebx __int64 v28; // r12 __int64 v29; // r10 __int64 v30; // rax cocos2d::CCObject *v31; // rbx __int64 v32; // r15 unsigned __int64 v33; // rax unsigned __int64 v34; // rbx __int64 v35; // rax cocos2d::CCArray *v36; // rbx int v37; // r15d cocos2d::CCString *v38; // rax __int64 v39; // rcx const char *TimeString; // rax cocos2d::CCString *v41; // r14 cocos2d::CCString *v42; // rax const char *v43; // rbx const char *v44; // rax const char *v45; // rax __int64 v46; // rax cocos2d::CCObject *v47; // rbx cocos2d::CCString *v48; // rax char *v49; // rbx __int64 v50; // rcx cocos2d::CCString *v51; // rax const char *v52; // rax size_t v53; // r8 __int64 v54; // rcx void **v55; // rdx cocos2d::CCString *v56; // rax const char *v57; // rax __int128 *p_Buf2; // rbx __int64 v59; // rcx void *v60; // rcx void (__fastcall ***v61)(_QWORD, _QWORD); // rcx cocos2d::CCString *v62; // rax const char *v63; // rax size_t v64; // r8 __int128 *v65; // rbx __int64 v66; // rcx void *v67; // rcx cocos2d::CCString *v68; // rax const char *v69; // rax size_t v70; // r8 __int128 *v71; // rbx __int64 v72; // rcx void *v73; // rcx cocos2d::CCString *v74; // rax const char *v75; // rax size_t v76; // r8 __int128 *v77; // rbx __int64 v78; // rcx void *v79; // rcx cocos2d::CCString *v80; // rax const char *v81; // rax size_t v82; // r8 __int128 *v83; // rbx __int64 v84; // rcx void *v85; // rcx cocos2d::CCString *v86; // rax const char *v87; // rax size_t v88; // r8 __int128 *v89; // rbx __int64 v90; // rcx void *v91; // rcx cocos2d::CCString *v92; // rax const char *v93; // rax size_t v94; // r8 __int128 *v95; // rbx __int64 v96; // rcx void *v97; // rcx cocos2d::CCString *v98; // rax const char *v99; // rax size_t v100; // r8 void **v101; // rbx __int64 v102; // rcx cocos2d::CCString *v103; // rax const char *v104; // rax __int128 *v105; // rbx __int64 v106; // rcx void *v108; // [rsp+50h] [rbp-59h] void *v109; // [rsp+50h] [rbp-59h] void *v110; // [rsp+50h] [rbp-59h] void *v111; // [rsp+50h] [rbp-59h] void *v112; // [rsp+50h] [rbp-59h] void *v113; // [rsp+50h] [rbp-59h] void *v114; // [rsp+50h] [rbp-59h] void *v115; // [rsp+50h] [rbp-59h] void *v116; // [rsp+50h] [rbp-59h] void *v117; // [rsp+50h] [rbp-59h] void *v118; // [rsp+50h] [rbp-59h] void *v119; // [rsp+50h] [rbp-59h] void *v120; // [rsp+50h] [rbp-59h] void *v121; // [rsp+50h] [rbp-59h] void *v122; // [rsp+50h] [rbp-59h] void *v123; // [rsp+50h] [rbp-59h] void *v124; // [rsp+50h] [rbp-59h] void *v125; // [rsp+50h] [rbp-59h] void *v126; // [rsp+50h] [rbp-59h] void *v127; // [rsp+50h] [rbp-59h] void *v128; // [rsp+50h] [rbp-59h] __int128 Buf2; // [rsp+80h] [rbp-29h] BYREF __int64 v132; // [rsp+90h] [rbp-19h] unsigned __int64 v133; // [rsp+98h] [rbp-11h] void *Block[2]; // [rsp+A0h] [rbp-9h] BYREF unsigned __int64 v135; // [rsp+B0h] [rbp+7h] unsigned __int64 v136; // [rsp+B8h] [rbp+Fh] v4 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v4 = *a3; *(_OWORD *)Block = 0; v135 = 0; v136 = 0; v5 = -1; v6 = -1; do ++v6; while ( v4[v6] ); sub_14003D230(Block, v4, v6); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block); if ( v136 > 0xF ) { v7 = Block[0]; if ( v136 + 1 >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } HIWORD(Buf2) = 0; v132 = 11; v133 = 15; qmemcpy(&Buf2, "acc_commen", 10); *(_DWORD *)((char *)&Buf2 + 10) = (unsigned __int8)aAccComment[10]; *(_OWORD *)Block = 0; v135 = 0; v136 = 0; v8 = -1; do ++v8; while ( v4[v8] ); sub_14003D230(Block, v4, v8); v9 = Block; v10 = (char *)Block[0]; v11 = v136; if ( v136 > 0xF ) v9 = (void **)Block[0]; v12 = v135; v13 = v135; if ( v135 > 0xB ) v13 = 11; v15 = memcmp(v9, &Buf2, v13); if ( !v15 ) { if ( v12 >= 0xB ) v15 = v12 > 0xB; else v15 = -1; } if ( v11 > 0xF ) { v16 = v10; if ( v11 + 1 >= 0x1000 ) { v10 = *((char **)v10 - 1); if ( (unsigned __int64)(v16 - v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v10); } if ( v15 ) { Buf2 = 0; v132 = 0; v133 = 0; v19 = -1; do ++v19; while ( v4[v19] ); sub_14003D230(&Buf2, v4, v19); v20 = sub_1400D2840((__int64 *)&Buf2, "_"); if ( v133 > 0xF ) { v21 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v21 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v21 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v21); } v132 = 0; v133 = 15; LOBYTE(Buf2) = 0; if ( cocos2d::CCArray::count(v20) < 2 ) { v18 = 0; } else { v22 = cocos2d::CCArray::objectAtIndex(v20, 1u); CString = cocos2d::CCString::getCString(v22); v18 = atoi(CString); } } else { v17 = GJAccountManager::sharedState(v14); v18 = *(_DWORD *)(v17 + 360) - *(_DWORD *)(v17 + 364); } v24 = (__int64)a2; v25 = (const char *)a2; if ( (unsigned __int64)a2[3] > 0xF ) v25 = (const char *)*a2; v26 = atoi(v25); v27 = v26; if ( v26 < 0 ) { v28 = a1; v29 = *(_QWORD *)(a1 + 1376); if ( v29 ) (*(void (__fastcall **)(_QWORD, _QWORD, _QWORD))(*(_QWORD *)v29 + 8LL))( *(_QWORD *)(a1 + 1376), v18, (unsigned int)v26); if ( v27 == -10 ) { Buf2 = 0; v132 = 0; v133 = 0; *(_QWORD *)&Buf2 = sub_14003D460(0x40u); v132 = 62; v133 = 63; strcpy((char *)Buf2, "You have been permanently banned from making comments."); v30 = sub_14003F4F0((__int64)Block, (__int64)&Buf2); v31 = FLAlertLayer::create(0, (int)"Banned", v30, (__int64)"OK", 0, 1132068864, 0, 0, 1065353216); sub_14003D310((__int64)&Buf2); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v31 + 1064LL))(v31); goto LABEL_88; } LABEL_60: GameLevelManager::resetTimerForKey(v28, v4); goto LABEL_88; } v32 = (__int64)a2; if ( (unsigned __int64)a2[3] > 0xF ) v32 = *a2; v33 = a2[2]; if ( v33 >= 4 ) { v34 = v33 + v32; v35 = sub_1406774C0(v32, v33 + v32, "temp", 4); if ( v35 != v34 && v35 - v32 != -1 ) { v36 = sub_1400D2840(a2, "_"); v37 = 0; if ( cocos2d::CCArray::count(v36) >= 2 ) { v38 = cocos2d::CCArray::stringAtIndex(v36, 1u); v37 = cocos2d::CCString::intValue(v38); } v28 = a1; v39 = *(_QWORD *)(a1 + 1376); if ( v39 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v39 + 8LL))(v39, v18, 4294967286LL); TimeString = (const char *)GameToolbox::getTimeString(&Buf2, v37, 0); if ( *((_QWORD *)TimeString + 3) > 0xFu ) TimeString = *(const char **)TimeString; v41 = cocos2d::CCString::createWithFormat( "You have been banned from making comments for: %s", TimeString); sub_14003D310((__int64)&Buf2); if ( cocos2d::CCArray::count(v36) >= 3 ) { v42 = cocos2d::CCArray::stringAtIndex(v36, 2u); v43 = cocos2d::CCString::getCString(v42); v44 = cocos2d::CCString::getCString(v41); v41 = cocos2d::CCString::createWithFormat("%s.\n\nReason: %s", v44, v43); } v45 = cocos2d::CCString::getCString(v41); *(_OWORD *)Block = 0; v135 = 0; v136 = 0; do ++v5; while ( v45[v5] ); sub_14003D230(Block, v45, v5); v46 = sub_14003F4F0((__int64)&Buf2, (__int64)Block); v47 = FLAlertLayer::create(0, (int)"Banned", v46, (__int64)"OK", 0, 1136525312, 0, 0, 1065353216); sub_14003D310((__int64)Block); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v47 + 1064LL))(v47); goto LABEL_60; } } if ( !v15 ) { v48 = cocos2d::CCString::createWithFormat("a_%i_%i", v18, 0); v49 = (char *)cocos2d::CCString::getCString(v48); v50 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v108 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v108); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v50 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v50, v49); goto LABEL_86; } if ( (v18 & 0x80000000) != 0 ) { if ( !*(_QWORD *)&qword_14090BFB0 ) { v109 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v109); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v51 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 0, 2); v52 = cocos2d::CCString::getCString(v51); *(_OWORD *)Block = 0; v135 = 0; v136 = 0; v53 = -1; do ++v53; while ( v52[v53] ); sub_14003D230(Block, v52, v53); v54 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v110 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v110); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v54 = *(_QWORD *)&qword_14090BFB0; } v55 = Block; if ( v136 > 0xF ) v55 = (void **)Block[0]; GameLevelManager::resetTimerForKey(v54, v55); sub_14003D310((__int64)Block); if ( !*(_QWORD *)&qword_14090BFB0 ) { v111 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v111); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v56 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 1, 2); v57 = cocos2d::CCString::getCString(v56); Buf2 = 0; v132 = 0; v133 = 0; do ++v5; while ( v57[v5] ); sub_14003D230(&Buf2, v57, v5); p_Buf2 = &Buf2; if ( v133 > 0xF ) p_Buf2 = (__int128 *)Buf2; v59 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v112 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v112); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v59 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v59, p_Buf2); if ( v133 <= 0xF ) goto LABEL_86; v60 = (void *)Buf2; if ( v133 + 1 < 0x1000 ) goto LABEL_85; v60 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v60 - 8) <= 0x1F ) goto LABEL_85; goto LABEL_180; } if ( !*(_QWORD *)&qword_14090BFB0 ) { v113 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v113); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v62 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 0, 0); v63 = cocos2d::CCString::getCString(v62); Buf2 = 0; v132 = 0; v133 = 0; v64 = -1; do ++v64; while ( v63[v64] ); sub_14003D230(&Buf2, v63, v64); v65 = &Buf2; if ( v133 > 0xF ) v65 = (__int128 *)Buf2; v66 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v114 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v114); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v66 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v66, v65); if ( v133 > 0xF ) { v67 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v67 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v67 - 8) > 0x1F ) goto LABEL_180; } j_j_free(v67); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v115 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v115); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v68 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 1, 0); v69 = cocos2d::CCString::getCString(v68); Buf2 = 0; v132 = 0; v133 = 0; v70 = -1; do ++v70; while ( v69[v70] ); sub_14003D230(&Buf2, v69, v70); v71 = &Buf2; if ( v133 > 0xF ) v71 = (__int128 *)Buf2; v72 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v116 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v116); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v72 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v72, v71); if ( v133 > 0xF ) { v73 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v73 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v73 - 8) > 0x1F ) goto LABEL_180; } j_j_free(v73); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v117 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v117); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v74 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 0, 3); v75 = cocos2d::CCString::getCString(v74); Buf2 = 0; v132 = 0; v133 = 0; v76 = -1; do ++v76; while ( v75[v76] ); sub_14003D230(&Buf2, v75, v76); v77 = &Buf2; if ( v133 > 0xF ) v77 = (__int128 *)Buf2; v78 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v118 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v118); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v78 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v78, v77); if ( v133 > 0xF ) { v79 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v79 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v79 - 8) > 0x1F ) goto LABEL_180; } j_j_free(v79); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v119 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v119); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v80 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 1, 3); v81 = cocos2d::CCString::getCString(v80); Buf2 = 0; v132 = 0; v133 = 0; v82 = -1; do ++v82; while ( v81[v82] ); sub_14003D230(&Buf2, v81, v82); v83 = &Buf2; if ( v133 > 0xF ) v83 = (__int128 *)Buf2; v84 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v120 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v120); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v84 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v84, v83); if ( v133 > 0xF ) { v85 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v85 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v85 - 8) > 0x1F ) goto LABEL_180; } j_j_free(v85); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v121 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v121); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v86 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 0, 4); v87 = cocos2d::CCString::getCString(v86); Buf2 = 0; v132 = 0; v133 = 0; v88 = -1; do ++v88; while ( v87[v88] ); sub_14003D230(&Buf2, v87, v88); v89 = &Buf2; if ( v133 > 0xF ) v89 = (__int128 *)Buf2; v90 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v122 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v122); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v90 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v90, v89); if ( v133 > 0xF ) { v91 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v91 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v91 - 8) > 0x1F ) goto LABEL_180; } j_j_free(v91); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v123 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v123); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v92 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 1, 4); v93 = cocos2d::CCString::getCString(v92); Buf2 = 0; v132 = 0; v133 = 0; v94 = -1; do ++v94; while ( v93[v94] ); sub_14003D230(&Buf2, v93, v94); v95 = &Buf2; if ( v133 > 0xF ) v95 = (__int128 *)Buf2; v96 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v124 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v124); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v96 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v96, v95); if ( v133 > 0xF ) { v97 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v97 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v97 - 8) > 0x1F ) goto LABEL_180; } j_j_free(v97); } if ( !*(_QWORD *)&qword_14090BFB0 ) { v125 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v125); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v98 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 0, 5); v99 = cocos2d::CCString::getCString(v98); *(_OWORD *)Block = 0; v135 = 0; v136 = 0; v100 = -1; do ++v100; while ( v99[v100] ); sub_14003D230(Block, v99, v100); v101 = Block; if ( v136 > 0xF ) v101 = (void **)Block[0]; v102 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v126 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v126); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v102 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v102, v101); sub_14003D310((__int64)Block); if ( !*(_QWORD *)&qword_14090BFB0 ) { v127 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v127); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); } v103 = cocos2d::CCString::createWithFormat("comment_%i_%i_%i_%i", v18, 0, 1, 5); v104 = cocos2d::CCString::getCString(v103); Buf2 = 0; v132 = 0; v133 = 0; do ++v5; while ( v104[v5] ); sub_14003D230(&Buf2, v104, v5); v105 = &Buf2; if ( v133 > 0xF ) v105 = (__int128 *)Buf2; v106 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v128 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v128); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v106 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v106, v105); if ( v133 <= 0xF ) goto LABEL_86; v60 = (void *)Buf2; if ( v133 + 1 >= 0x1000 ) { v60 = *(void **)(Buf2 - 8); if ( (unsigned __int64)(Buf2 - (_QWORD)v60 - 8) > 0x1F ) LABEL_180: invoke_watson(nullptr, nullptr, nullptr, 0, 0); } LABEL_85: j_j_free(v60); LABEL_86: v61 = *(void (__fastcall ****)(_QWORD, _QWORD))(a1 + 1376); if ( v61 ) (**v61)(v61, v18); LABEL_88: sub_14003D310(v24); sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source