//
// GameLevelManager::onGetGJChallengesCompleted from 0x14025e700 to 0x14025f68d (3981 bytes)
//
// 2 xrefs:
// > GameLevelManager::handleIt @ 0x14021a4d2
// > ??> @ 0x14091c784
//
// 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:47 +0000
//
// Hidden C++ exception states: #wind=23
void __fastcall GameLevelManager::onGetGJChallengesCompleted(_QWORD *a1, __int64 *a2, __int64 a3)
{
void *v5; // rcx
const void *v6; // rcx
unsigned __int64 v7; // rsi
size_t v8; // r8
int v9; // ebx
__int64 v10; // rcx
__int64 *v11; // rdi
__int64 v12; // rcx
cocos2d::CCArray *v13; // rbx
__int64 v14; // rcx
cocos2d::CCString *v15; // rax
const char *CString; // rax
size_t v17; // r8
unsigned int v18; // edi
cocos2d::CCString *v19; // rax
const char *v20; // rax
size_t v21; // r8
__int64 v22; // rcx
void *v23; // rcx
void *v24; // rcx
__int128 *v25; // rdx
void *v26; // rcx
__int64 v27; // xmm2_8
__int128 *v28; // r14
__int64 v29; // rbx
cocos2d::CCString *v30; // rax
char *v31; // rax
size_t v32; // r8
void **v33; // r8
void **v34; // r9
__int64 v35; // rdx
size_t v36; // r8
void **v37; // rdx
_BYTE *v38; // r15
unsigned __int64 v39; // r13
void **v40; // rcx
size_t v41; // rbx
size_t v42; // r8
size_t v43; // rsi
__int64 v44; // rcx
void *v45; // rcx
_BYTE *v46; // rax
cocos2d::CCArray *v47; // rsi
__int64 v48; // rcx
cocos2d::CCString *v49; // rax
int v50; // r14d
_DWORD *v51; // rbx
float v52; // xmm0_4
cocos2d::CCString *v53; // rax
int v54; // ebx
__int64 v55; // rcx
__int64 v56; // rcx
cocos2d::CCString *v57; // rax
const char *v58; // rax
size_t v59; // r8
__int64 v60; // rdx
int v61; // ebx
__int64 v62; // rcx
void *v63; // rcx
cocos2d::CCString *v64; // rax
int v65; // ebx
__int64 v66; // rcx
__int64 v67; // rax
__int64 v68; // rcx
cocos2d::CCString *v69; // rax
cocos2d::CCString *v70; // rax
const char *v71; // rax
size_t v72; // r8
cocos2d::CCString *v73; // rax
const char *v74; // rax
size_t v75; // r8
cocos2d::CCString *v76; // rax
const char *v77; // rax
size_t v78; // r8
__int64 v79; // rcx
__int64 Challenge; // rsi
__int64 v81; // rcx
__int64 QueuedChallenge; // r14
__int64 v83; // rcx
__int64 SecondaryQueuedChallenge; // r12
__int128 *v85; // rdx
__int64 v86; // rax
__int64 v87; // rbx
__int64 v88; // rcx
__int64 v89; // rcx
__int64 v90; // rax
__int64 v91; // rsi
cocos2d::CCString *v92; // rax
const char *v93; // rax
size_t v94; // r8
void *v95; // rcx
__int64 v96; // rbx
void (__fastcall ***v97)(_QWORD); // rcx
__int64 v98; // rcx
void *v99; // rcx
_BYTE *v100; // rax
void *v101; // [rsp+40h] [rbp-C0h]
void *v102; // [rsp+40h] [rbp-C0h]
void *v103; // [rsp+40h] [rbp-C0h]
int v104; // [rsp+40h] [rbp-C0h]
void *v108; // [rsp+60h] [rbp-A0h]
void *v109; // [rsp+68h] [rbp-98h]
void *v110; // [rsp+70h] [rbp-90h]
void *v111; // [rsp+80h] [rbp-80h]
void *v112; // [rsp+88h] [rbp-78h]
void *v113; // [rsp+90h] [rbp-70h]
__int128 v114; // [rsp+A8h] [rbp-58h] BYREF
__m128i v115; // [rsp+B8h] [rbp-48h]
void *Block[2]; // [rsp+C8h] [rbp-38h] BYREF
__m128i v117; // [rsp+D8h] [rbp-28h]
void *Src[2]; // [rsp+E8h] [rbp-18h] BYREF
__int64 v119; // [rsp+F8h] [rbp-8h]
unsigned __int64 v120; // [rsp+100h] [rbp+0h]
void *Buf1[2]; // [rsp+108h] [rbp+8h] BYREF
size_t v122; // [rsp+118h] [rbp+18h]
unsigned __int64 v123; // [rsp+120h] [rbp+20h]
__int128 v124; // [rsp+128h] [rbp+28h] BYREF
__int64 v125; // [rsp+138h] [rbp+38h]
unsigned __int64 v126; // [rsp+140h] [rbp+40h]
void *Buf2[2]; // [rsp+148h] [rbp+48h] BYREF
size_t Size; // [rsp+158h] [rbp+58h]
unsigned __int64 v129; // [rsp+160h] [rbp+60h]
__int128 v130; // [rsp+168h] [rbp+68h] BYREF
__int64 v131; // [rsp+178h] [rbp+78h]
__int64 v132; // [rsp+180h] [rbp+80h]
__int64 v133[4]; // [rsp+188h] [rbp+88h] BYREF
__int128 v134; // [rsp+1A8h] [rbp+A8h] BYREF
__int64 v135; // [rsp+1B8h] [rbp+B8h]
__int64 v136; // [rsp+1C0h] [rbp+C0h]
__int128 v137; // [rsp+1C8h] [rbp+C8h] BYREF
__int64 v138; // [rsp+1D8h] [rbp+D8h]
__int64 v139; // [rsp+1E0h] [rbp+E0h]
_BYTE v140[48]; // [rsp+1E8h] [rbp+E8h] BYREF
Block[1] = nullptr;
v117.m128i_i64[0] = 8;
v117.m128i_i64[1] = 15;
Block[0] = (void *)0x6C6168635F746567LL;
cocos2d::CCDictionary::removeObjectForKey(a1[149], Block);
if ( v117.m128i_i64[1] > 0xFuLL )
{
v5 = Block[0];
if ( (unsigned __int64)(v117.m128i_i64[1] + 1) >= 0x1000 )
{
v5 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v5);
}
*(_OWORD *)Block = 0;
v117.m128i_i64[0] = 2;
v117.m128i_i64[1] = 15;
strcpy((char *)Block, "-1");
v6 = a2;
if ( (unsigned __int64)a2[3] > 0xF )
v6 = (const void *)*a2;
v7 = a2[2];
v8 = v7;
if ( v7 > 2 )
v8 = 2;
v9 = memcmp(v6, Block, v8);
if ( !v9 )
{
if ( v7 >= 2 )
v9 = v7 > 2;
else
v9 = -1;
}
if ( !v9 )
{
v10 = a1[194];
if ( v10 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 8LL))(v10);
v11 = a2;
LABEL_18:
v12 = (__int64)v11;
goto LABEL_38;
}
v11 = a2;
v13 = sub_1400D2840(a2, (unsigned __int8 *)&word_14070D07C);
if ( cocos2d::CCArray::count(v13) < 2 )
{
v14 = a1[194];
if ( v14 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v14 + 8LL))(v14);
goto LABEL_18;
}
v15 = cocos2d::CCArray::stringAtIndex(v13, 0);
CString = cocos2d::CCString::getCString(v15);
v114 = 0;
v115 = 0u;
v17 = -1;
do
++v17;
while ( CString[v17] );
sub_14003D230(&v114, CString, v17);
v18 = 1;
v19 = cocos2d::CCArray::stringAtIndex(v13, 1u);
v20 = cocos2d::CCString::getCString(v19);
*(_OWORD *)Buf2 = 0;
Size = 0;
v129 = 0;
v21 = -1;
do
++v21;
while ( v20[v21] );
sub_14003D230(Buf2, v20, v21);
if ( v115.m128i_i64[0] < 5uLL )
{
v22 = a1[194];
if ( v22 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v22 + 8LL))(v22);
if ( v129 > 0xF )
{
v23 = Buf2[0];
if ( v129 + 1 >= 0x1000 )
{
v23 = *((void **)Buf2[0] - 1);
if ( (unsigned __int64)((char *)Buf2[0] - (char *)v23 - 8) > 0x1F )
goto LABEL_175;
}
LABEL_32:
j_j_free(v23);
}
goto LABEL_33;
}
*(_OWORD *)Block = 0;
v117 = 0u;
v25 = &v114;
if ( v115.m128i_i64[1] > 0xFuLL )
v25 = (__int128 *)v114;
sub_14003D230(Block, (char *)v25 + 5, v115.m128i_i64[0] - 5);
if ( v115.m128i_i64[1] > 0xFuLL )
{
v26 = (void *)v114;
if ( (unsigned __int64)(v115.m128i_i64[1] + 1) >= 0x1000 )
{
v26 = *(void **)(v114 - 8);
if ( (unsigned __int64)(v114 - (_QWORD)v26 - 8) > 0x1F )
goto LABEL_170;
}
j_j_free(v26);
}
v114 = *(_OWORD *)Block;
v27 = v117.m128i_i64[0];
v115 = v117;
*(_OWORD *)Src = 0;
v119 = 0;
v120 = 0;
v28 = &v114;
if ( _mm_srli_si128(v117, 8).m128i_u64[0] > 0xF )
v28 = (__int128 *)Block[0];
v29 = 0x7FFFFFFFFFFFFFFFLL;
if ( v117.m128i_i64[0] > 0x7FFFFFFFFFFFFFFFuLL )
sub_140009D90(Block[0]);
if ( v117.m128i_i64[0] > 0xFuLL )
{
if ( (v117.m128i_i64[0] | 0xFuLL) <= 0x7FFFFFFFFFFFFFFFLL )
{
v29 = v117.m128i_i64[0] | 0xF;
if ( (v117.m128i_i64[0] | 0xFuLL) < 0x16 )
v29 = 22;
}
Src[0] = sub_14003D460(v29 + 1);
v119 = v27;
v120 = v29;
memcpy(Src[0], v28, v27 + 1);
}
else
{
v119 = v117.m128i_i64[0];
v120 = 15;
*(_OWORD *)Src = *v28;
}
v30 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 111, "C36", "fpYa", 80, 116, "dg");
v31 = (char *)cocos2d::CCString::getCString(v30);
v32 = -1;
do
++v32;
while ( v31[v32] );
sub_140044D80(Src, v31, v32);
v33 = Src;
if ( v120 > 0xF )
v33 = (void **)Src[0];
v34 = Src;
if ( v120 > 0xF )
v34 = (void **)Src[0];
v35 = -1;
do
++v35;
while ( *((_BYTE *)v33 + v35) );
sub_14007E1A0((__int64)v34, v35, Buf1);
sub_14007E470((unsigned __int8 *)Buf1, v140);
*(_OWORD *)Buf1 = 0;
v122 = 0;
v123 = 0;
v36 = -1;
do
++v36;
while ( v140[v36] );
sub_14003D230(Buf1, v140, v36);
v37 = Buf2;
v38 = Buf2[0];
v39 = v129;
if ( v129 > 0xF )
v37 = (void **)Buf2[0];
v40 = Buf1;
if ( v123 > 0xF )
v40 = (void **)Buf1[0];
v41 = v122;
v42 = v122;
v43 = Size;
if ( Size < v122 )
v42 = Size;
if ( memcmp(v40, v37, v42) || v41 < v43 || v41 > v43 )
{
sub_14003D310((__int64)Buf1);
v44 = a1[194];
if ( v44 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v44 + 8LL))(v44);
goto LABEL_75;
}
sub_14003D310((__int64)Buf1);
v124 = 0;
v125 = 5;
v126 = 15;
strcpy((char *)&v124, "19847");
cocos2d::ZipUtils::base64DecodeEnc(v133, &v114, &v124);
v47 = sub_1400D2840(v133, ":");
if ( cocos2d::CCArray::count(v47) < 9 )
{
v48 = a1[194];
if ( v48 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v48 + 8LL))(v48);
goto LABEL_86;
}
v49 = cocos2d::CCArray::stringAtIndex(v47, 1u);
v50 = cocos2d::CCString::intValue(v49);
if ( v50 > 0 )
{
v51 = (_DWORD *)qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v101 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v101);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v51 = (_DWORD *)qword_14090BFD0;
}
v51[175] = v50;
v52 = (float)((float)rand() / 32767.0) * 1000.0;
v51[174] = (int)v52;
v51[173] = v50 + (int)v52;
v53 = cocos2d::CCArray::stringAtIndex(v47, 2u);
v54 = cocos2d::CCString::intValue(v53);
v55 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v102 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v102);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v55 = qword_14090BFD0;
}
if ( v54 != *(_DWORD *)(v55 + 928) - *(_DWORD *)(v55 + 932) )
{
v56 = a1[192];
if ( v56 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v56 + 8LL))(v56);
goto LABEL_86;
}
v57 = cocos2d::CCArray::stringAtIndex(v47, 3u);
v58 = cocos2d::CCString::getCString(v57);
*(_OWORD *)Block = 0;
v117 = 0u;
v59 = -1;
do
++v59;
while ( v58[v59] );
sub_14003D230(Block, v58, v59);
v60 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v103 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v103);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v60 = qword_14090BFD0;
}
sub_14003F4F0((__int64)&v130, v60 + 624);
v61 = sub_14003D160(Block, &v130);
sub_14003D310((__int64)&v130);
if ( v61 )
{
v62 = a1[192];
if ( v62 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v62 + 8LL))(v62);
if ( v117.m128i_i64[1] <= 0xFuLL )
goto LABEL_86;
v63 = Block[0];
if ( (unsigned __int64)(v117.m128i_i64[1] + 1) < 0x1000 )
goto LABEL_106;
v63 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v63 - 8) <= 0x1F )
goto LABEL_106;
goto LABEL_113;
}
v64 = cocos2d::CCArray::stringAtIndex(v47, 4u);
v65 = cocos2d::CCString::intValue(v64);
v67 = GJAccountManager::sharedState(v66);
if ( v65 != *(_DWORD *)(v67 + 360) - *(_DWORD *)(v67 + 364) )
{
v68 = a1[192];
if ( v68 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v68 + 8LL))(v68);
if ( v117.m128i_i64[1] <= 0xFuLL )
goto LABEL_86;
v63 = Block[0];
if ( (unsigned __int64)(v117.m128i_i64[1] + 1) < 0x1000
|| (v63 = *((void **)Block[0] - 1), (unsigned __int64)((char *)Block[0] - (char *)v63 - 8) <= 0x1F) )
{
LABEL_106:
j_j_free(v63);
goto LABEL_86;
}
LABEL_113:
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
v69 = cocos2d::CCArray::stringAtIndex(v47, 5u);
v104 = cocos2d::CCString::intValue(v69);
v70 = cocos2d::CCArray::stringAtIndex(v47, 6u);
v71 = cocos2d::CCString::getCString(v70);
v130 = 0;
v131 = 0;
v132 = 0;
v72 = -1;
do
++v72;
while ( v71[v72] );
sub_14003D230(&v130, v71, v72);
v73 = cocos2d::CCArray::stringAtIndex(v47, 7u);
v74 = cocos2d::CCString::getCString(v73);
v137 = 0;
v138 = 0;
v139 = 0;
v75 = -1;
do
++v75;
while ( v74[v75] );
sub_14003D230(&v137, v74, v75);
v76 = cocos2d::CCArray::stringAtIndex(v47, 8u);
v77 = cocos2d::CCString::getCString(v76);
v134 = 0;
v135 = 0;
v136 = 0;
v78 = -1;
do
++v78;
while ( v77[v78] );
sub_14003D230(&v134, v77, v78);
while ( 1 )
{
v79 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
v108 = operator new(0x3E8u);
qword_14090BFE0 = sub_1402D6480(v108);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);
v79 = qword_14090BFE0;
}
Challenge = GameStatsManager::getChallenge(v79, v18);
v81 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
v109 = operator new(0x3E8u);
qword_14090BFE0 = sub_1402D6480(v109);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);
v81 = qword_14090BFE0;
}
QueuedChallenge = GameStatsManager::getQueuedChallenge(v81, v18);
v83 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
v110 = operator new(0x3E8u);
qword_14090BFE0 = sub_1402D6480(v110);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);
v83 = qword_14090BFE0;
}
SecondaryQueuedChallenge = GameStatsManager::getSecondaryQueuedChallenge(v83, v18);
if ( v18 == 1 )
{
v85 = &v130;
}
else
{
v85 = &v137;
if ( v18 != 2 )
v85 = &v134;
}
v86 = sub_14003F4F0((__int64)v140, (__int64)v85);
v87 = GJChallengeItem::createFromString(v86);
*(_DWORD *)(v87 + 104) = v18;
v88 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
v111 = operator new(0x3E8u);
qword_14090BFE0 = sub_1402D6480(v111);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);
v88 = qword_14090BFE0;
}
if ( (unsigned __int8)GameStatsManager::hasCompletedChallenge(v88, v87)
|| Challenge && *(_DWORD *)(Challenge + 96) >= *(_DWORD *)(v87 + 96)
|| QueuedChallenge && *(_DWORD *)(QueuedChallenge + 96) >= *(_DWORD *)(v87 + 96)
|| SecondaryQueuedChallenge && *(_DWORD *)(SecondaryQueuedChallenge + 96) >= *(_DWORD *)(v87 + 96) )
{
goto LABEL_158;
}
if ( !Challenge || *(_BYTE *)(Challenge + 100) )
{
if ( QueuedChallenge )
{
v91 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
Buf1[0] = operator new(0x3E8u);
qword_14090BFE0 = sub_1402D6480(Buf1[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);
v91 = qword_14090BFE0;
}
*(_DWORD *)(v87 + 104) = v18;
v92 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v18 + 100);
v93 = cocos2d::CCString::getCString(v92);
v124 = 0;
v125 = 0;
v126 = 0;
v94 = -1;
do
++v94;
while ( v93[v94] );
sub_14003D230(&v124, v93, v94);
cocos2d::CCDictionary::setObject(*(_QWORD *)(v91 + 560), v87, &v124);
if ( v126 > 0xF )
{
v95 = (void *)v124;
if ( v126 + 1 >= 0x1000 )
{
v95 = *(void **)(v124 - 8);
if ( (unsigned __int64)(v124 - (_QWORD)v95 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v95);
}
v125 = 0;
v126 = 15;
LOBYTE(v124) = 0;
goto LABEL_158;
}
v89 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
v113 = operator new(0x3E8u);
v90 = sub_1402D6480(v113);
goto LABEL_144;
}
}
else
{
v89 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
v112 = operator new(0x3E8u);
v90 = sub_1402D6480(v112);
LABEL_144:
qword_14090BFE0 = v90;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v90 + 72LL))(v90);
v89 = qword_14090BFE0;
}
}
GameStatsManager::storeQueuedChallenge(v89, v18, v87);
LABEL_158:
if ( (int)++v18 > 3 )
{
v96 = qword_14090BFE0;
if ( !qword_14090BFE0 )
{
Buf1[0] = operator new(0x3E8u);
qword_14090BFE0 = sub_1402D6480(Buf1[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);
v96 = qword_14090BFE0;
}
ftime64((struct __timeb64 *)Buf1);
*(double *)(v96 + 568) = (double)LOWORD(Buf1[1]) / 1000.0 + (double)SLODWORD(Buf1[0]) + (double)v104;
v97 = (void (__fastcall ***)(_QWORD))a1[194];
if ( v97 )
(**v97)(v97);
sub_14003D310((__int64)&v134);
sub_14003D310((__int64)&v137);
sub_14003D310((__int64)&v130);
sub_14003D310((__int64)Block);
LABEL_86:
sub_14003D310((__int64)v133);
LABEL_75:
if ( v120 > 0xF )
{
v45 = Src[0];
if ( v120 + 1 < 0x1000
|| (v45 = *((void **)Src[0] - 1), (unsigned __int64)((char *)Src[0] - (char *)v45 - 8) <= 0x1F) )
{
j_j_free(v45);
goto LABEL_79;
}
LABEL_170:
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
LABEL_79:
if ( v39 > 0xF )
{
v46 = v38;
if ( v39 + 1 < 0x1000 || (v38 = *((_BYTE **)v38 - 1), (unsigned __int64)(v46 - v38 - 8) <= 0x1F) )
{
v23 = v38;
goto LABEL_32;
}
LABEL_175:
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
LABEL_33:
if ( v115.m128i_i64[1] > 0xFuLL )
{
v24 = (void *)v114;
if ( (unsigned __int64)(v115.m128i_i64[1] + 1) < 0x1000 )
goto LABEL_36;
v24 = *(void **)(v114 - 8);
if ( (unsigned __int64)(v114 - (_QWORD)v24 - 8) <= 0x1F )
goto LABEL_36;
LABEL_180:
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
goto LABEL_37;
}
}
}
v98 = a1[192];
if ( v98 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v98 + 8LL))(v98);
sub_14003D310((__int64)v133);
if ( v120 > 0xF )
{
v99 = Src[0];
if ( v120 + 1 >= 0x1000 )
{
v99 = *((void **)Src[0] - 1);
if ( (unsigned __int64)((char *)Src[0] - (char *)v99 - 8) > 0x1F )
goto LABEL_170;
}
j_j_free(v99);
}
if ( v39 > 0xF )
{
v100 = v38;
if ( v39 + 1 >= 0x1000 )
{
v38 = *((_BYTE **)v38 - 1);
if ( (unsigned __int64)(v100 - v38 - 8) > 0x1F )
goto LABEL_175;
}
j_j_free(v38);
}
if ( v115.m128i_i64[1] > 0xFuLL )
{
v24 = (void *)v114;
if ( (unsigned __int64)(v115.m128i_i64[1] + 1) >= 0x1000 )
{
v24 = *(void **)(v114 - 8);
if ( (unsigned __int64)(v114 - (_QWORD)v24 - 8) > 0x1F )
goto LABEL_180;
}
LABEL_36:
j_j_free(v24);
}
LABEL_37:
v115.m128i_i64[0] = 0;
v115.m128i_i64[1] = 15;
LOBYTE(v114) = 0;
v12 = (__int64)a2;
LABEL_38:
sub_14003D310(v12);
sub_14003D310(a3);
}