//
// LevelSettingsObject::objectFromDict from 0x140410b20 to 0x140412c59 (8505 bytes)
//
// 6 xrefs:
// > GJGameLevel::copyLevelInfo @ 0x1402674e4
// > LevelEditorLayer::createObjectsFromSetup @ 0x1403efbe4
// > LevelStatsInfoPopup::buildInfoText @ 0x14042753f
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x14050b8cb
// > StartPosObject::loadSettingsFromString @ 0x140653484
// > ??> @ 0x140925e14
//
// 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:32:03 +0000
//
// Hidden C++ exception states: #wind=9
__int64 __fastcall LevelSettingsObject::objectFromDict(__int64 a1)
{
__int64 v1; // r15
__int64 v2; // rax
__int64 v3; // r14
cocos2d::CCString *v4; // rax
cocos2d::CCString *v5; // rax
const char *CString; // rax
void **v7; // rax
cocos2d::CCString *v8; // rax
cocos2d::CCString *v9; // rax
cocos2d::CCString *v10; // rax
cocos2d::CCString *v11; // rax
cocos2d::CCString *v12; // rax
cocos2d::CCString *v13; // rax
cocos2d::CCString *v14; // rax
cocos2d::CCString *v15; // rax
cocos2d::CCString *v16; // rax
cocos2d::CCString *v17; // rax
cocos2d::CCString *v18; // rax
cocos2d::CCString *v19; // rax
cocos2d::CCString *v20; // rax
void *v21; // rcx
cocos2d::CCString *v22; // rax
void *v23; // rcx
cocos2d::CCString *v24; // rax
void *v25; // rcx
cocos2d::CCString *v26; // rax
void *v27; // rcx
cocos2d::CCString *v28; // rax
void *v29; // rcx
cocos2d::CCString *v30; // rax
void *v31; // rcx
cocos2d::CCString *v32; // rax
void *v33; // rcx
cocos2d::CCString *v34; // rax
void *v35; // rcx
cocos2d::CCString *v36; // rax
void *v37; // rcx
cocos2d::CCString *v38; // rax
void *v39; // rcx
cocos2d::CCString *v40; // rax
void *v41; // rcx
cocos2d::CCString *v42; // rax
void *v43; // rcx
cocos2d::CCString *v44; // rax
void *v45; // rcx
cocos2d::CCString *v46; // rax
void *v47; // rcx
cocos2d::CCString *v48; // rax
void *v49; // rcx
cocos2d::CCString *v50; // rax
void *v51; // rcx
cocos2d::CCString *v52; // rax
void *v53; // rcx
cocos2d::CCString *v54; // rax
void *v55; // rcx
cocos2d::CCString *v56; // rax
void *v57; // rcx
cocos2d::CCString *v58; // rax
void *v59; // rcx
cocos2d::CCString *v60; // rax
cocos2d::CCString *v61; // rax
cocos2d::CCString *v62; // rax
cocos2d::CCString *v63; // rax
cocos2d::CCString *v64; // rax
cocos2d::CCString *v65; // rax
cocos2d::CCString *v66; // rax
cocos2d::CCString *v67; // rax
cocos2d::CCString *v68; // rax
cocos2d::CCString *v69; // rax
cocos2d::CCString *v70; // rax
cocos2d::CCString *v71; // rax
cocos2d::CCString *v72; // rax
cocos2d::CCString *v73; // rax
cocos2d::CCString *v74; // rax
cocos2d::CCString *v75; // rax
cocos2d::CCString *v76; // rax
cocos2d::CCString *v77; // rax
const char *v78; // rax
void **v79; // rax
cocos2d::CCString *v80; // rax
__int64 v81; // rbx
cocos2d::CCString *v82; // rax
const char *v83; // rax
__int64 v84; // rbx
cocos2d::CCString *v85; // rax
const char *v86; // rax
_QWORD *v87; // rax
_QWORD *v88; // rbx
int *IDNames; // rsi
unsigned __int64 v90; // rdi
__int64 v91; // r10
_BYTE *v92; // r9
__int64 v93; // rax
__int64 v94; // r11
__int64 v95; // rdx
__int64 v96; // r11
int v97; // ecx
_DWORD *v98; // r8
__int64 v99; // rax
_BYTE *v100; // rcx
__int64 v101; // rbx
void *v102; // r8
size_t v103; // rdi
cocos2d::CCString *v104; // rax
const char *v105; // rax
size_t v106; // r8
void *v107; // rcx
__int64 v108; // rbx
cocos2d::CCString *v109; // rax
void *v110; // rcx
__int64 v111; // rbx
void *v112; // r8
cocos2d::CCString *v113; // rax
const char *v114; // rax
size_t v115; // r8
void *v116; // rcx
void *v117; // rcx
__int64 v118; // rbx
void *v119; // r8
cocos2d::CCString *v120; // rax
const char *v121; // rax
size_t v122; // r8
void *v123; // rcx
void *v124; // rcx
__int64 v125; // rbx
void *v126; // r8
cocos2d::CCString *v127; // rax
const char *v128; // rax
void *v129; // rcx
__int64 v130; // rbx
void *v131; // r8
cocos2d::CCString *v132; // rax
const char *v133; // rax
__int64 *v134; // rbx
char *ColorAction; // rax
cocos2d::CCString *v136; // rax
const char *v137; // rax
__int64 *v138; // rbx
char *v139; // rax
char *v140; // rbx
cocos2d::CCString *v141; // rax
const char *v142; // rax
__int64 *v143; // rax
cocos2d::CCString *v144; // rax
const char *v145; // rax
__int64 *v146; // rbx
char *v147; // rax
cocos2d::CCString *v148; // rax
const char *v149; // rax
__int64 *v150; // rbx
char *v151; // rax
cocos2d::CCString *v152; // rax
const char *v153; // rax
__int64 *v154; // rbx
char *v155; // rax
cocos2d::CCString *v156; // rax
const char *v157; // rax
__int64 *v158; // rbx
char *v159; // rax
cocos2d::CCString *v160; // rax
const char *v161; // rax
__int64 *v162; // rbx
char *v163; // rax
cocos2d::CCString *v164; // rax
const char *v165; // rax
__int64 *v166; // rbx
char *v167; // rax
__int64 v168; // rbx
__int128 v171; // [rsp+38h] [rbp-51h] BYREF
_BYTE *v172; // [rsp+48h] [rbp-41h]
void *v173; // [rsp+50h] [rbp-39h]
void *Block[2]; // [rsp+58h] [rbp-31h] BYREF
__int128 v175; // [rsp+68h] [rbp-21h]
void *v176[2]; // [rsp+78h] [rbp-11h] BYREF
__int64 v177; // [rsp+88h] [rbp-1h]
unsigned __int64 v178; // [rsp+90h] [rbp+7h]
void *v179[2]; // [rsp+98h] [rbp+Fh] BYREF
__int128 v180; // [rsp+A8h] [rbp+1Fh]
v1 = a1;
v173 = operator new(0x2D8u);
v2 = sub_1403ECAC0((__int64)v173);
v3 = v2;
if ( v2 )
{
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 72LL))(v2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);
v3 = 0;
}
}
if ( v1 )
{
sub_14003D1F0((__int64)v176, (__int64)"kA13");
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(float *)(v3 + 344) = cocos2d::CCString::floatValue(v4);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA14");
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
CString = cocos2d::CCString::getCString(v5);
v7 = (void **)sub_14003D1F0((__int64)Block, (__int64)CString);
sub_140132C80(v3, v7);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA15");
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 348) = cocos2d::CCString::boolValue(v8);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA16");
v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 349) = cocos2d::CCString::boolValue(v9);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA2");
v10 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 328) = cocos2d::CCString::intValue(v10);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA3");
v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 336) = cocos2d::CCString::boolValue(v11);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA8");
v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 337) = cocos2d::CCString::boolValue(v12);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA10");
v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 340) = cocos2d::CCString::boolValue(v13);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA22");
v14 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 341) = cocos2d::CCString::boolValue(v14);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA11");
v15 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 369) = cocos2d::CCString::boolValue(v15);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA23");
v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 436) = cocos2d::CCString::boolValue(v16);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA24");
v17 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 437) = cocos2d::CCString::boolValue(v17);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA4");
v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 332) = cocos2d::CCString::intValue(v18);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA6");
v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 352) = cocos2d::CCString::intValue(v19);
sub_14003D310((__int64)v176);
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA25");
v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 364) = cocos2d::CCString::intValue(v20);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v21 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v21 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v21 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v21);
}
*(_OWORD *)v179 = 0;
*(_QWORD *)&v180 = 3;
*((_QWORD *)&v180 + 1) = 15;
LOWORD(v179[0]) = *(_WORD *)"kA7";
WORD1(v179[0]) = (unsigned __int8)aKa7[2];
v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v179);
*(_DWORD *)(v3 + 356) = cocos2d::CCString::intValue(v22);
if ( *((_QWORD *)&v180 + 1) > 0xFu )
{
v23 = v179[0];
if ( (unsigned __int64)(*((_QWORD *)&v180 + 1) + 1LL) >= 0x1000 )
{
v23 = *((void **)v179[0] - 1);
if ( (unsigned __int64)((char *)v179[0] - (char *)v23 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v23);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA17");
v24 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 432) = cocos2d::CCString::intValue(v24);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v25 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v25 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v25 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v25);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA18");
v26 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 360) = cocos2d::CCString::intValue(v26);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v27 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v27 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v27 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v27);
}
*(_OWORD *)v179 = 0;
*(_QWORD *)&v180 = 3;
*((_QWORD *)&v180 + 1) = 15;
LOWORD(v179[0]) = *(_WORD *)"kA9";
WORD1(v179[0]) = (unsigned __int8)aKa9[2];
v28 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v179);
*(_BYTE *)(v3 + 368) = cocos2d::CCString::boolValue(v28);
if ( *((_QWORD *)&v180 + 1) > 0xFu )
{
v29 = v179[0];
if ( (unsigned __int64)(*((_QWORD *)&v180 + 1) + 1LL) >= 0x1000 )
{
v29 = *((void **)v179[0] - 1);
if ( (unsigned __int64)((char *)v179[0] - (char *)v29 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v29);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kS39");
v30 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 428) = cocos2d::CCString::intValue(v30);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v31 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v31 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v31 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v31);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA19");
v32 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 372) = cocos2d::CCString::intValue(v32);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v33 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 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);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA26");
v34 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 376) = cocos2d::CCString::intValue(v34);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v35 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v35 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v35 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v35);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA20");
v36 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 370) = cocos2d::CCString::boolValue(v36);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v37 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v37 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v37 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v37);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA21");
v38 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 472) = cocos2d::CCString::boolValue(v38);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v39 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v39 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v39 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v39);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA27");
v40 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 456) = cocos2d::CCString::boolValue(v40);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v41 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v41 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v41 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v41);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA40");
v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 464) = cocos2d::CCString::boolValue(v42);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v43 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v43 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v43 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v43);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA57");
v44 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 465) = cocos2d::CCString::boolValue(v44);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v45 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v45 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v45 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v45);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA58");
v46 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 466) = cocos2d::CCString::boolValue(v46);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v47 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v47 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v47 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v47);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA48");
v48 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 470) = cocos2d::CCString::boolValue(v48);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v49 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v49 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v49 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v49);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA41");
v50 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 467) = cocos2d::CCString::boolValue(v50);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v51 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v51 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v51 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v51);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA42");
v52 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 468) = cocos2d::CCString::boolValue(v52);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v53 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v53 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v53 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v53);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA63");
v54 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 338) = cocos2d::CCString::boolValue(v54);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v55 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v55 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v55 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v55);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA29");
v56 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 339) = cocos2d::CCString::boolValue(v56);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v57 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v57 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v57 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v57);
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA31");
v58 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_BYTE *)(v3 + 457) = cocos2d::CCString::boolValue(v58);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v59 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v59 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v59 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v59);
}
sub_14003D1F0((__int64)v176, (__int64)"kA32");
v60 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 458) = cocos2d::CCString::boolValue(v60);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA33");
v61 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 459) = cocos2d::CCString::boolValue(v61);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA34");
v62 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 460) = cocos2d::CCString::boolValue(v62);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA37");
v63 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 461) = cocos2d::CCString::boolValue(v63);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA38");
v64 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 462) = cocos2d::CCString::boolValue(v64);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA39");
v65 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 463) = cocos2d::CCString::boolValue(v65);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA35");
v66 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 448) = cocos2d::CCString::boolValue(v66);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA36");
v67 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 452) = cocos2d::CCString::intValue(v67);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA43");
v68 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 438) = cocos2d::CCString::boolValue(v68);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA44");
v69 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 440) = cocos2d::CCString::intValue(v69);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA45");
v70 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 469) = cocos2d::CCString::boolValue(v70);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA46");
v71 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 350) = cocos2d::CCString::boolValue(v71);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA47");
v72 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 444) = cocos2d::CCString::intValue(v72);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA49");
v73 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 471) = cocos2d::CCString::boolValue(v73);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA50");
v74 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_BYTE *)(v3 + 473) = cocos2d::CCString::boolValue(v74);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA51");
v75 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 476) = cocos2d::CCString::intValue(v75);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA52");
v76 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(float *)(v3 + 484) = cocos2d::CCString::floatValue(v76);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA53");
v77 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v78 = cocos2d::CCString::getCString(v77);
v79 = (void **)sub_14003D1F0((__int64)Block, (__int64)v78);
sub_1403ECCE0(v3, v79);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA54");
v80 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
*(_DWORD *)(v3 + 480) = cocos2d::CCString::intValue(v80);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kA55");
v81 = cocos2d::CCDictionary::objectForKey(v1, v176);
sub_14003D310((__int64)v176);
if ( v81 )
{
sub_14003D1F0((__int64)Block, (__int64)"kA55");
v82 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
v83 = cocos2d::CCString::getCString(v82);
sub_14003D1F0((__int64)v176, (__int64)v83);
sub_14040D5F0(v176, v3 + 520);
sub_14003D310((__int64)v176);
sub_14003D310((__int64)Block);
}
sub_14003D1F0((__int64)v176, (__int64)"kA56");
v84 = cocos2d::CCDictionary::objectForKey(v1, v176);
sub_14003D310((__int64)v176);
if ( v84 )
{
sub_14003D1F0((__int64)Block, (__int64)"kA56");
v85 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
v86 = cocos2d::CCString::getCString(v85);
sub_14003D1F0((__int64)v176, (__int64)v86);
sub_14040E560(v176, (_QWORD *)(v3 + 584));
sub_14003D310((__int64)v176);
sub_14003D310((__int64)Block);
}
v87 = *(_QWORD **)(v3 + 592);
v88 = (_QWORD *)*v87;
if ( (_QWORD *)*v87 != v87 )
{
do
{
IDNames = LevelSettingsObject::getIDNames((_QWORD *)v3, *((_DWORD *)v88 + 4));
v171 = 0;
v172 = nullptr;
v90 = 0;
v91 = v88[3];
v92 = nullptr;
if ( (v88[4] - v91) >> 2 )
{
while ( 1 )
{
v93 = *((_QWORD *)IDNames + 1);
v94 = *((_QWORD *)IDNames + 3);
v95 = *(_QWORD *)(v94
+ 16
* (*((_QWORD *)IDNames + 6)
& (0x100000001B3LL
* (*(unsigned __int8 *)(v91 + 4 * v90 + 3)
^ (0x100000001B3LL
* (*(unsigned __int8 *)(v91 + 4 * v90 + 2)
^ (0x100000001B3LL
* (*(unsigned __int8 *)(v91 + 4 * v90 + 1)
^ (0x100000001B3LL * (*(unsigned __int8 *)(v91 + 4 * v90) ^ 0xCBF29CE484222325uLL)))))))))
+ 8);
if ( v95 == v93 )
goto LABEL_117;
v96 = *(_QWORD *)(v94
+ 16
* (*((_QWORD *)IDNames + 6)
& (0x100000001B3LL
* (*(unsigned __int8 *)(v91 + 4 * v90 + 3)
^ (0x100000001B3LL
* (*(unsigned __int8 *)(v91 + 4 * v90 + 2)
^ (0x100000001B3LL
* (*(unsigned __int8 *)(v91 + 4 * v90 + 1)
^ (0x100000001B3LL * (*(unsigned __int8 *)(v91 + 4 * v90) ^ 0xCBF29CE484222325uLL))))))))));
v97 = *(_DWORD *)(v91 + 4 * v90);
if ( v97 != *(_DWORD *)(v95 + 16) )
break;
LABEL_118:
if ( !v95 )
v95 = *((_QWORD *)IDNames + 1);
if ( v95 != v93 )
{
v98 = (_DWORD *)(v88[3] + 4 * v90);
if ( v92 == v172 )
{
sub_140069B30((const void **)&v171, v92, v98);
v92 = *((_BYTE **)&v171 + 1);
}
else
{
*(_DWORD *)v92 = *v98;
v92 = (_BYTE *)(*((_QWORD *)&v171 + 1) + 4LL);
*((_QWORD *)&v171 + 1) += 4LL;
}
}
++v90;
v91 = v88[3];
if ( v90 >= (v88[4] - v91) >> 2 )
goto LABEL_125;
}
while ( v95 != v96 )
{
v95 = *(_QWORD *)(v95 + 8);
if ( v97 == *(_DWORD *)(v95 + 16) )
goto LABEL_118;
}
LABEL_117:
v95 = 0;
goto LABEL_118;
}
LABEL_125:
if ( v88 + 3 != (_QWORD *)&v171 )
{
v88[3] = v171;
*(_QWORD *)&v171 = v91;
v99 = v88[4];
v88[4] = v92;
*((_QWORD *)&v171 + 1) = v99;
v100 = (_BYTE *)v88[5];
v88[5] = v172;
v172 = v100;
}
sub_140069730((__int64)&v171);
v88 = (_QWORD *)*v88;
}
while ( v88 != *(_QWORD **)(v3 + 592) );
v1 = a1;
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA59");
v101 = cocos2d::CCDictionary::objectForKey(v1, Block);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v102 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v102 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v102 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v102);
}
v103 = -1;
if ( v101 )
{
*(_OWORD *)v176 = 0;
v177 = 4;
v178 = 15;
strcpy((char *)v176, "kA59");
v104 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v105 = cocos2d::CCString::getCString(v104);
*(_OWORD *)v179 = 0;
v180 = 0u;
v106 = -1;
do
++v106;
while ( v105[v106] );
sub_14003D230(v179, v105, v106);
sub_14040CC50(v179, (_QWORD *)(v3 + 648));
if ( *((_QWORD *)&v180 + 1) > 0xFu )
{
v107 = v179[0];
if ( (unsigned __int64)(*((_QWORD *)&v180 + 1) + 1LL) >= 0x1000 )
{
v107 = *((void **)v179[0] - 1);
if ( (unsigned __int64)((char *)v179[0] - (char *)v107 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v107);
}
*(_QWORD *)&v180 = 0;
*((_QWORD *)&v180 + 1) = 15;
LOBYTE(v179[0]) = 0;
sub_14003D310((__int64)v176);
}
*(_OWORD *)v176 = 0;
v177 = 4;
v178 = 15;
strcpy((char *)v176, "kA61");
v108 = cocos2d::CCDictionary::objectForKey(v1, v176);
sub_14003D310((__int64)v176);
if ( v108 )
{
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA61");
v109 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
*(_DWORD *)(v3 + 696) = cocos2d::CCString::intValue(v109);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v110 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v110 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v110 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v110);
}
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA62");
v111 = cocos2d::CCDictionary::objectForKey(v1, Block);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v112 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v112 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v112 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v112);
}
if ( v111 )
{
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA62");
v113 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, Block);
v114 = cocos2d::CCString::getCString(v113);
*(_OWORD *)v179 = 0;
v180 = 0u;
v115 = -1;
do
++v115;
while ( v114[v115] );
sub_14003D230(v179, v114, v115);
sub_14040D080((__int64 *)v179, (_QWORD *)(v3 + 704));
if ( *((_QWORD *)&v180 + 1) > 0xFu )
{
v116 = v179[0];
if ( (unsigned __int64)(*((_QWORD *)&v180 + 1) + 1LL) >= 0x1000 )
{
v116 = *((void **)v179[0] - 1);
if ( (unsigned __int64)((char *)v179[0] - (char *)v116 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v116);
}
*(_QWORD *)&v180 = 0;
*((_QWORD *)&v180 + 1) = 15;
LOBYTE(v179[0]) = 0;
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v117 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v117 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v117 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v117);
}
}
*(_OWORD *)Block = 0;
*(_QWORD *)&v175 = 4;
*((_QWORD *)&v175 + 1) = 15;
strcpy((char *)Block, "kA60");
v118 = cocos2d::CCDictionary::objectForKey(v1, Block);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v119 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v119 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v119 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v119);
}
if ( v118 )
{
*(_OWORD *)v176 = 0;
v177 = 4;
v178 = 15;
strcpy((char *)v176, "kA60");
v120 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v121 = cocos2d::CCString::getCString(v120);
*(_OWORD *)v179 = 0;
v180 = 0u;
v122 = -1;
do
++v122;
while ( v121[v122] );
sub_14003D230(v179, v121, v122);
if ( (_QWORD)v180 )
{
cocos2d::ZipUtils::base64URLDecode(Block, v179);
}
else
{
*(_OWORD *)Block = *(_OWORD *)v179;
v175 = v180;
*(_QWORD *)&v180 = 0;
*((_QWORD *)&v180 + 1) = 15;
LOBYTE(v179[0]) = 0;
}
sub_14003D310((__int64)v179);
sub_140059C40(v3 + 664, (__int64)Block);
if ( *((_QWORD *)&v175 + 1) > 0xFu )
{
v123 = Block[0];
if ( (unsigned __int64)(*((_QWORD *)&v175 + 1) + 1LL) >= 0x1000 )
{
v123 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v123 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v123);
}
*(_QWORD *)&v175 = 0;
*((_QWORD *)&v175 + 1) = 15;
LOBYTE(Block[0]) = 0;
if ( v178 > 0xF )
{
v124 = v176[0];
if ( v178 + 1 >= 0x1000 )
{
v124 = *((void **)v176[0] - 1);
if ( (unsigned __int64)((char *)v176[0] - (char *)v124 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v124);
}
}
if ( !*(_BYTE *)(v3 + 368) )
{
*(_OWORD *)v176 = 0;
v177 = 4;
v178 = 15;
strcpy((char *)v176, "kS38");
v125 = cocos2d::CCDictionary::objectForKey(v1, v176);
if ( v178 > 0xF )
{
v126 = v176[0];
if ( v178 + 1 >= 0x1000 )
{
v126 = *((void **)v176[0] - 1);
if ( (unsigned __int64)((char *)v176[0] - (char *)v126 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v126);
}
v177 = 4;
v178 = 15;
*(_OWORD *)v176 = 0;
BYTE4(v176[0]) = 0;
if ( v125 )
{
LODWORD(v176[0]) = *(_DWORD *)"kS38";
v127 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v128 = cocos2d::CCString::getCString(v127);
*(_OWORD *)Block = 0;
v175 = 0u;
do
++v103;
while ( v128[v103] );
sub_14003D230(Block, v128, v103);
GJEffectManager::setupFromString(*(_QWORD *)(v3 + 320), Block);
if ( v178 > 0xF )
{
v129 = v176[0];
if ( v178 + 1 >= 0x1000 )
{
v129 = *((void **)v176[0] - 1);
if ( (unsigned __int64)((char *)v176[0] - (char *)v129 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v129);
}
}
else
{
LODWORD(v176[0]) = *(_DWORD *)"kS29";
v130 = cocos2d::CCDictionary::objectForKey(v1, v176);
if ( v178 > 0xF )
{
v131 = v176[0];
if ( v178 + 1 >= 0x1000 )
{
v131 = *((void **)v176[0] - 1);
if ( (unsigned __int64)((char *)v176[0] - (char *)v131 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v131);
}
if ( v130 )
{
sub_14003D1F0((__int64)v176, (__int64)"kS29");
v132 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v133 = cocos2d::CCString::getCString(v132);
v134 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v133);
ColorAction = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 1000);
ColorAction::setupFromString((__int64)ColorAction, v134);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kS30");
v136 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v137 = cocos2d::CCString::getCString(v136);
v138 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v137);
v139 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 1001);
ColorAction::setupFromString((__int64)v139, v138);
sub_14003D310((__int64)v176);
v140 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 1002);
sub_14003D1F0((__int64)v176, (__int64)"kS31");
v141 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v142 = cocos2d::CCString::getCString(v141);
v143 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v142);
ColorAction::setupFromString((__int64)v140, v143);
sub_14003D310((__int64)v176);
v140[84] = 1;
sub_14003D1F0((__int64)v176, (__int64)"kS32");
v144 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v145 = cocos2d::CCString::getCString(v144);
v146 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v145);
v147 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 1004);
ColorAction::setupFromString((__int64)v147, v146);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kS33");
v148 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v149 = cocos2d::CCString::getCString(v148);
v150 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v149);
v151 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 1);
ColorAction::setupFromString((__int64)v151, v150);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kS34");
v152 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v153 = cocos2d::CCString::getCString(v152);
v154 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v153);
v155 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 2);
ColorAction::setupFromString((__int64)v155, v154);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kS35");
v156 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v157 = cocos2d::CCString::getCString(v156);
v158 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v157);
v159 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 3);
ColorAction::setupFromString((__int64)v159, v158);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kS36");
v160 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v161 = cocos2d::CCString::getCString(v160);
v162 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v161);
v163 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 4);
ColorAction::setupFromString((__int64)v163, v162);
sub_14003D310((__int64)v176);
sub_14003D1F0((__int64)v176, (__int64)"kS37");
v164 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, v176);
v165 = cocos2d::CCString::getCString(v164);
v166 = (__int64 *)sub_14003D1F0((__int64)Block, (__int64)v165);
v167 = GJEffectManager::getColorAction(*(_QWORD *)(v3 + 320), 1003);
ColorAction::setupFromString((__int64)v167, v166);
sub_14003D310((__int64)v176);
}
else
{
sub_14003D1F0((__int64)v176, (__int64)&dword_14078A3CC);
v168 = cocos2d::CCDictionary::objectForKey(v1, v176);
sub_14003D310((__int64)v176);
if ( v168 )
LevelSettingsObject::setupColorsFromLegacyMode(v3, v1);
}
}
}
}
return v3;
}