// // GJGameLevel::encodeWithCoder from 0x10058a8e0 to 0x10058bddc (5372 bytes) // // 1 xrefs: // > @ 0x100b6d7e0 // // 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 12:32:24 +0000 // void __fastcall GJGameLevel::encodeWithCoder(__int64 a1, __int64 a2) { __int64 v4; // rdx int v5; // edx bool v6; // cc __int64 v7; // rdx __int64 v8; // rdx __int64 v9; // rdx char GameVariable; // al __int64 v11; // rax unsigned int v12; // ecx __int64 v13; // rcx unsigned int v14; // eax unsigned int v15; // eax unsigned int v16; // eax __int64 v17; // rdx unsigned int v18; // eax unsigned int v19; // eax unsigned int v20; // eax unsigned int v21; // eax __int64 v22; // rdx __int64 v23; // rdx __int64 v24; // rdx __int64 v25; // rdx __int64 v26; // rdx unsigned int v27; // eax std::string *v28; // r15 unsigned int v29; // eax unsigned int v30; // eax int v31; // eax unsigned int v32; // eax std::string *v33; // rax const std::string::value_type *v34; // rsi std::string::size_type v35; // rdx std::string *v36; // rax std::string *v37; // rax const std::string::value_type *data; // rsi std::string::size_type size; // rdx std::string *v40; // rax unsigned int v41; // eax __int64 v42; // rdx __int64 v43; // rdx unsigned int v44; // eax std::string *v45; // rdx unsigned int v46; // eax std::string *v47; // r15 __int64 v48; // rax int v49; // ecx unsigned int v50; // ecx __int64 v51; // rsi __int64 v52; // rdx bool v53; // r15 char v54; // r12 unsigned int v55; // eax __int64 v56; // rdx float v57; // xmm0_4 __int64 v58; // rdx __int64 v59; // rdx int v60; // eax unsigned __int8 v61; // al std::string *v62; // r15 __int64 v63; // rdx std::string v64; // [rsp+8h] [rbp-E8h] BYREF std::string v65; // [rsp+20h] [rbp-D0h] BYREF std::string v66; // [rsp+40h] [rbp-B0h] BYREF size_t v67[2]; // [rsp+60h] [rbp-90h] BYREF void *v68; // [rsp+70h] [rbp-80h] std::string v69; // [rsp+78h] [rbp-78h] BYREF std::string v70; // [rsp+90h] [rbp-60h] BYREF std::string v71; // [rsp+B0h] [rbp-40h] BYREF DS_Dictionary::setIntegerForKey_1(a2, (__int64)"kCEK", 4); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k1", (unsigned int)(*(_DWORD *)(a1 + 328) - *(_DWORD *)(a1 + 332))); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k35", *(unsigned __int8 *)(a1 + 1105)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k18", (unsigned int)(*(_DWORD *)(a1 + 796) - *(_DWORD *)(a1 + 800))); v4 = *(unsigned int *)(a1 + 1532); if ( (int)v4 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k154", v4); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k36", (unsigned int)(*(_DWORD *)(a1 + 808) - *(_DWORD *)(a1 + 812))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k85", (unsigned int)(*(_DWORD *)(a1 + 820) - *(_DWORD *)(a1 + 824))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k86", (unsigned int)(*(_DWORD *)(a1 + 832) - *(_DWORD *)(a1 + 836))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k87", *(unsigned int *)(a1 + 844)); if ( (*(_BYTE *)(a1 + 1208) & 1) != 0 ) sub_10001AD30(&v71, *(const void **)(a1 + 1224), *(_QWORD *)(a1 + 1216)); else v71 = *(std::string *)(a1 + 1208); DS_Dictionary::setStringForKey_1(a2, (__int64)"k88", (__int64)&v71); if ( (*(_BYTE *)&v71.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v71.__r_.__value_.__l.__data_); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k89", *(unsigned __int8 *)(a1 + 848)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k23", *(unsigned int *)(a1 + 900)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k19", (unsigned int)(*(_DWORD *)(a1 + 860) - *(_DWORD *)(a1 + 856))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k71", (unsigned int)(*(_DWORD *)(a1 + 864) - *(_DWORD *)(a1 + 868))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k90", (unsigned int)(*(_DWORD *)(a1 + 876) - *(_DWORD *)(a1 + 880))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k20", *(unsigned int *)(a1 + 888)); if ( *(_DWORD *)(a1 + 932) - *(_DWORD *)(a1 + 936) == 1 ) { DS_Dictionary::setBoolForKey_1(a2, (__int64)"k25", 1); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k76", *(unsigned int *)(a1 + 944)); } v5 = *(_DWORD *)(a1 + 948); v6 = v5 <= *(_DWORD *)(a1 + 952); v7 = (unsigned int)(v5 - *(_DWORD *)(a1 + 952)); if ( !v6 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k26", v7); if ( *(_BYTE *)(a1 + 849) == 1 ) DS_Dictionary::setBoolForKey_1(a2, (__int64)"k68", 1); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k74", (unsigned int)(*(_DWORD *)(a1 + 920) - *(_DWORD *)(a1 + 924))); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k77", *(unsigned __int8 *)(a1 + 649)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k78", *(unsigned __int8 *)(a1 + 650)); if ( *(_BYTE *)(a1 + 912) == 1 ) DS_Dictionary::setBoolForKey_1(a2, (__int64)"k82", 1); v8 = *(unsigned int *)(a1 + 916); if ( (int)v8 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k84", v8); v9 = *(unsigned int *)(a1 + 1296); if ( (int)v9 > 0 || *(_DWORD *)(a1 + 1336) ) { DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k107", v9); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k115", *(unsigned int *)(a1 + 1300)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k117", *(unsigned int *)(a1 + 1304)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k121", *(unsigned int *)(a1 + 1308)); if ( *(_BYTE *)(a1 + 1432) == 1 ) DS_Dictionary::setStringForKey_1(a2, (__int64)"k119", a1 + 1312); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k108", *(unsigned int *)(a1 + 1336)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k116", *(unsigned int *)(a1 + 1340)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k118", *(unsigned int *)(a1 + 1344)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k122", *(unsigned int *)(a1 + 1348)); if ( *(_BYTE *)(a1 + 1433) == 1 ) DS_Dictionary::setStringForKey_1(a2, (__int64)"k120", a1 + 1352); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k111", *(unsigned int *)(a1 + 1376)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k123", *(unsigned __int8 *)(a1 + 1432)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k124", *(unsigned __int8 *)(a1 + 1433)); } if ( *(_BYTE *)(GameManager::sharedState() + 440) == 1 ) { GameVariable = 1; if ( *(_BYTE *)(a1 + 912) == 1 ) { v11 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v11, "0237"); } v12 = *(unsigned __int8 *)(a1 + 1472); if ( (v12 & 1) == 0 ) goto LABEL_29; } else { GameVariable = 0; v12 = *(unsigned __int8 *)(a1 + 1472); if ( (v12 & 1) == 0 ) { LABEL_29: v13 = v12 >> 1; goto LABEL_32; } } v13 = *(_QWORD *)(a1 + 1480); LABEL_32: if ( GameVariable & 1 | (v13 == 0) ) goto LABEL_38; DS_Dictionary::setStringForKey_1(a2, (__int64)"k128", a1 + 1472); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k130", *(unsigned int *)(a1 + 1520)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k132", *(unsigned int *)(a1 + 1524)); v14 = *(unsigned __int8 *)(a1 + 1496); if ( (v14 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1504) ) goto LABEL_38; goto LABEL_37; } if ( v14 >> 1 ) LABEL_37: DS_Dictionary::setStringForKey_1(a2, (__int64)"k131", a1 + 1496); LABEL_38: if ( *(_BYTE *)(a1 + 1528) == 1 ) DS_Dictionary::setBoolForKey_1(a2, (__int64)"k129", 1); v15 = *(unsigned __int8 *)(a1 + 1384); if ( (v15 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1392) ) goto LABEL_45; goto LABEL_44; } if ( v15 >> 1 ) LABEL_44: DS_Dictionary::setStringForKey_1(a2, (__int64)"k109", a1 + 1384); LABEL_45: v16 = *(unsigned __int8 *)(a1 + 1408); if ( (v16 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1416) ) goto LABEL_50; goto LABEL_49; } if ( v16 >> 1 ) LABEL_49: DS_Dictionary::setStringForKey_1(a2, (__int64)"k110", a1 + 1408); LABEL_50: v17 = *(unsigned int *)(a1 + 1536); if ( (int)v17 <= 0 ) goto LABEL_99; DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k133", v17); v18 = *(unsigned __int8 *)(a1 + 1544); if ( (v18 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1552) ) goto LABEL_56; goto LABEL_55; } if ( v18 >> 1 ) LABEL_55: DS_Dictionary::setStringForKey_1(a2, (__int64)"k134", a1 + 1544); LABEL_56: v19 = *(unsigned __int8 *)(a1 + 1568); if ( (v19 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1576) ) goto LABEL_61; goto LABEL_60; } if ( v19 >> 1 ) LABEL_60: DS_Dictionary::setStringForKey_1(a2, (__int64)"k135", a1 + 1568); LABEL_61: v20 = *(unsigned __int8 *)(a1 + 1592); if ( (v20 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1600) ) goto LABEL_66; goto LABEL_65; } if ( v20 >> 1 ) LABEL_65: DS_Dictionary::setStringForKey_1(a2, (__int64)"k136", a1 + 1592); LABEL_66: v21 = *(unsigned __int8 *)(a1 + 1616); if ( (v21 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1624) ) goto LABEL_71; goto LABEL_70; } if ( v21 >> 1 ) LABEL_70: DS_Dictionary::setStringForKey_1(a2, (__int64)"k137", a1 + 1616); LABEL_71: v22 = *(unsigned int *)(a1 + 1640); if ( (int)v22 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k138", v22); v23 = *(unsigned int *)(a1 + 1644); if ( (int)v23 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k139", v23); v24 = *(unsigned int *)(a1 + 1648); if ( (int)v24 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k142", v24); v25 = *(unsigned int *)(a1 + 1652); if ( (int)v25 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k143", v25); v26 = *(unsigned int *)(a1 + 1656); if ( (int)v26 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k145", v26); if ( *(_BYTE *)(a1 + 1712) == 1 ) { v27 = *(unsigned __int8 *)(a1 + 1664); if ( (v27 & 1) != 0 ) { if ( *(_QWORD *)(a1 + 1672) ) { LABEL_84: cocos2d::ZipUtils::compressString(&v71, (unsigned __int8 *)(a1 + 1664), 0, 0xFFFFFFFFLL, 0); v28 = (std::string *)(a1 + 1688); if ( (*(_BYTE *)(a1 + 1688) & 1) == 0 ) { LABEL_86: *v28 = v71; *(_BYTE *)(a1 + 1712) = 0; goto LABEL_87; } LABEL_85: operator delete(*(void **)(a1 + 1704)); goto LABEL_86; } } else if ( v27 >> 1 ) { goto LABEL_84; } *(_WORD *)&v71.__r_.__value_.__l.0 = 0; v28 = (std::string *)(a1 + 1688); if ( (*(_BYTE *)(a1 + 1688) & 1) == 0 ) goto LABEL_86; goto LABEL_85; } LABEL_87: v29 = *(unsigned __int8 *)(a1 + 1688); if ( (v29 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1696) ) goto LABEL_92; goto LABEL_91; } if ( v29 >> 1 ) LABEL_91: DS_Dictionary::setStringForKey_1(a2, (__int64)"k146", a1 + 1688); LABEL_92: v30 = *(unsigned __int8 *)(a1 + 1720); if ( (v30 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1728) ) goto LABEL_97; goto LABEL_96; } if ( v30 >> 1 ) LABEL_96: DS_Dictionary::setStringForKey_1(a2, (__int64)"k140", a1 + 1720); LABEL_97: if ( *(_BYTE *)(a1 + 1744) == 1 ) DS_Dictionary::setBoolForKey_1(a2, (__int64)"k141", 1); LABEL_99: v31 = *(_DWORD *)(a1 + 1748); if ( v31 != 1000 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k151", (unsigned int)(1000 - v31)); v32 = *(unsigned __int8 *)(a1 + 1760); if ( (v32 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1768) ) goto LABEL_119; } else if ( !(v32 >> 1) ) { goto LABEL_119; } GameToolbox::intToString((size_t *)&v64, *(_DWORD *)(a1 + 1752)); v33 = std::string::append(&v64, ","); v66 = *v33; *(_OWORD *)&v33->__r_.__value_.__l.0 = 0; v33->__r_.__value_.__r.__words[2] = 0; GameToolbox::intToString(v67, *(_DWORD *)(a1 + 1756)); if ( (v67[0] & 1) != 0 ) { v34 = (const std::string::value_type *)v68; v35 = v67[1]; } else { v35 = LOBYTE(v67[0]) >> 1; v34 = (char *)v67 + 1; } v36 = std::string::append(&v66, v34, v35); v65 = *v36; *(_OWORD *)&v36->__r_.__value_.__l.0 = 0; v36->__r_.__value_.__r.__words[2] = 0; v37 = std::string::append(&v65, ","); v70 = *v37; *(_OWORD *)&v37->__r_.__value_.__l.0 = 0; v37->__r_.__value_.__r.__words[2] = 0; cocos2d::ZipUtils::compressString(&v69, (unsigned __int8 *)(a1 + 1760), 0, 0xFFFFFFFFLL, 0); if ( (*(_BYTE *)&v69.__r_.__value_.__s.0 & 1) != 0 ) { data = v69.__r_.__value_.__l.__data_; size = v69.__r_.__value_.__l.__size_; } else { size = *(_BYTE *)&v69.__r_.__value_.__l.0 >> 1; data = v69.__r_.__value_.__s.__data_; } v40 = std::string::append(&v70, data, size); v71 = *v40; *(_OWORD *)&v40->__r_.__value_.__l.0 = 0; v40->__r_.__value_.__r.__words[2] = 0; DS_Dictionary::setStringForKey_1(a2, (__int64)"k152", (__int64)&v71); if ( (*(_BYTE *)&v71.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(v71.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v69.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_113: if ( (*(_BYTE *)&v70.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_114; goto LABEL_136; } } else if ( (*(_BYTE *)&v69.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_113; } operator delete(v69.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v70.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_114: if ( (*(_BYTE *)&v65.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_115; goto LABEL_137; } LABEL_136: operator delete(v70.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v65.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_115: if ( (v67[0] & 1) == 0 ) goto LABEL_116; goto LABEL_138; } LABEL_137: operator delete(v65.__r_.__value_.__l.__data_); if ( (v67[0] & 1) == 0 ) { LABEL_116: if ( (*(_BYTE *)&v66.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_117; goto LABEL_139; } LABEL_138: operator delete(v68); if ( (*(_BYTE *)&v66.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_117: if ( (*(_BYTE *)&v64.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_119; goto LABEL_118; } LABEL_139: operator delete(v66.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v64.__r_.__value_.__s.0 & 1) != 0 ) LABEL_118: operator delete(v64.__r_.__value_.__l.__data_); LABEL_119: v41 = *(unsigned __int8 *)(a1 + 1816); if ( (v41 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1824) ) goto LABEL_124; goto LABEL_123; } if ( v41 >> 1 ) LABEL_123: DS_Dictionary::setStringForKey_1(a2, (__int64)"k149", a1 + 1816); LABEL_124: v42 = *(unsigned int *)(a1 + 1840); if ( (_DWORD)v42 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k150", v42); if ( *(_BYTE *)(a1 + 1844) == 1 ) DS_Dictionary::setBoolForKey_1(a2, (__int64)"k153", 1); v43 = *(unsigned int *)(a1 + 1848); if ( (_DWORD)v43 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k155", v43); if ( *(_BYTE *)(a1 + 1105) ) return; v44 = *(unsigned __int8 *)(a1 + 344); if ( (v44 & 1) != 0 ) { v45 = (std::string *)(a1 + 344); if ( *(_QWORD *)(a1 + 352) ) goto LABEL_151; } else { v45 = (std::string *)(a1 + 344); if ( v44 >> 1 ) goto LABEL_151; } v46 = *(unsigned __int8 *)(a1 + 1152); if ( (v46 & 1) != 0 ) { if ( *(_QWORD *)(a1 + 1160) ) goto LABEL_144; LABEL_149: v47 = v45; std::string::assign(v45, "Unknown"); goto LABEL_150; } if ( !(v46 >> 1) ) goto LABEL_149; LABEL_144: v47 = v45; std::string::operator=(v45, (const std::string *)(a1 + 1152)); LABEL_150: v45 = v47; LABEL_151: DS_Dictionary::setStringForKey_1(a2, (__int64)"k2", (__int64)v45); if ( *(_DWORD *)(a1 + 920) <= *(_DWORD *)(a1 + 924) ) { v53 = 0; if ( *(_BYTE *)(a1 + 1105) ) goto LABEL_165; } else { v48 = GameLevelManager::sharedState(); v49 = *(_DWORD *)(a1 + 920); v6 = v49 <= *(_DWORD *)(a1 + 924); v50 = v49 - *(_DWORD *)(a1 + 924); if ( v6 ) { v53 = 1; if ( *(_BYTE *)(a1 + 1105) ) goto LABEL_165; } else { v51 = 864; if ( v50 >= 0x186A1 ) v51 = 876; v52 = 888; if ( v50 < 0x30D41 ) v52 = v51; v53 = v50 == *(_DWORD *)(v48 + v52); if ( *(_BYTE *)(a1 + 1105) ) goto LABEL_165; } } if ( !*(_BYTE *)(a1 + 1104) && !v53 && *(_DWORD *)(a1 + 1140) != 1 && *(_BYTE *)(GameManager::sharedState() + 346) != 1 ) { goto LABEL_166; } LABEL_165: if ( *(_DWORD *)(a1 + 1140) == 2 || v53 && *(_BYTE *)(a1 + 1104) != 1 ) { LABEL_166: DS_Dictionary::setStringForKey_1(a2, (__int64)"k4", a1 + 392); DS_Dictionary::setStringForKey_1(a2, (__int64)"k3", a1 + 368); v54 = 1; goto LABEL_172; } *(_WORD *)&v71.__r_.__value_.__l.0 = 0; DS_Dictionary::setStringForKey_1(a2, (__int64)"k4", (__int64)&v71); if ( (*(_BYTE *)&v71.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v71.__r_.__value_.__l.__data_); v54 = 0; LABEL_172: DS_Dictionary::setStringForKey_1(a2, (__int64)"k5", a1 + 416); v55 = *(unsigned __int8 *)(a1 + 1784); if ( (v55 & 1) != 0 ) { if ( !*(_QWORD *)(a1 + 1792) ) goto LABEL_177; goto LABEL_176; } if ( v55 >> 1 ) LABEL_176: DS_Dictionary::setStringForKey_1(a2, (__int64)"k147", a1 + 1784); LABEL_177: v56 = *(unsigned int *)(a1 + 1808); if ( (int)v56 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k148", v56); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k95", *(unsigned int *)(a1 + 1232)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k98", *(unsigned int *)(a1 + 512)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k99", *(unsigned int *)(a1 + 516)); DS_Dictionary::setStringForKey_1(a2, (__int64)"k91", a1 + 520); DS_Dictionary::setStringForKey_1(a2, (__int64)"k101", a1 + 544); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k125", *(unsigned int *)(a1 + 1436)); v57 = *(float *)(a1 + 568); if ( v57 != 0.0 || *(float *)(a1 + 572) != 0.0 ) { DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k102", (unsigned int)(int)v57); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k103", (unsigned int)(int)*(float *)(a1 + 572)); } if ( v54 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k6", (unsigned int)(*(_DWORD *)(a1 + 576) - *(_DWORD *)(a1 + 580))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k60", (unsigned int)(*(_DWORD *)(a1 + 588) - *(_DWORD *)(a1 + 592))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k7", *(unsigned int *)(a1 + 600)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k8", *(unsigned int *)(a1 + 604)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k9", *(unsigned int *)(a1 + 636)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k10", *(unsigned int *)(a1 + 640)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k11", *(unsigned int *)(a1 + 644)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k13", *(unsigned __int8 *)(a1 + 648)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k14", *(_DWORD *)(a1 + 776) - *(_DWORD *)(a1 + 780) == 1); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k15", *(unsigned __int8 *)(a1 + 785)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k22", *(unsigned int *)(a1 + 892)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k24", *(unsigned int *)(a1 + 896)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k21", *(unsigned int *)(a1 + 1140)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k16", *(unsigned int *)(a1 + 788)); if ( v54 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k17", *(unsigned int *)(a1 + 792)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k69", *(unsigned __int8 *)(a1 + 1200)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k93", *(unsigned __int8 *)(a1 + 1201)); v58 = *(unsigned int *)(a1 + 652); if ( (int)v58 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k80", v58); v59 = *(unsigned int *)(a1 + 656); if ( (int)v59 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k81", v59); if ( *(_DWORD *)(a1 + 1140) == 2 && (*(int *)(a1 + 704) > 0 || *(_DWORD *)(a1 + 720)) ) { sub_100556730((size_t *)&v71, (__int128 *)(a1 + 664)); DS_Dictionary::setStringForKey_1(a2, (__int64)"k156", (__int64)&v71); if ( (*(_BYTE *)&v71.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v71.__r_.__value_.__l.__data_); } if ( v54 ) DS_Dictionary::setBoolForKey_1(a2, (__int64)"k72", *(unsigned __int8 *)(a1 + 768)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k73", *(unsigned __int8 *)(a1 + 769)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k112", *(unsigned __int8 *)(a1 + 770)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k83", *(unsigned int *)(a1 + 632)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k64", *(unsigned int *)(a1 + 964)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k65", *(_DWORD *)(a1 + 968) - *(_DWORD *)(a1 + 972) == 1); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k27", *(unsigned int *)(a1 + 904)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k75", *(unsigned int *)(a1 + 908)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k33", *(unsigned __int8 *)(a1 + 960)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k79", *(unsigned __int8 *)(a1 + 616)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k94", *(unsigned __int8 *)(a1 + 617)); if ( v54 ) { DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k41", (unsigned int)(*(_DWORD *)(a1 + 980) - *(_DWORD *)(a1 + 984))); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k42", (unsigned int)(*(_DWORD *)(a1 + 988) - *(_DWORD *)(a1 + 992))); } DS_Dictionary::setBoolForKey_1(a2, (__int64)"k43", *(unsigned __int8 *)(a1 + 1000)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k45", *(unsigned int *)(a1 + 608)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k50", 51); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k46", *(unsigned int *)(a1 + 612)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k47", *(unsigned __int8 *)(a1 + 786)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k48", (unsigned int)(*(_DWORD *)(a1 + 620) - *(_DWORD *)(a1 + 624))); if ( v54 ) DS_Dictionary::setStringForKey_1(a2, (__int64)"k67", a1 + 1176); DS_Dictionary::setStringForKey_1(a2, (__int64)"k104", a1 + 1240); DS_Dictionary::setStringForKey_1(a2, (__int64)"k105", a1 + 1264); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k106", *(unsigned int *)(a1 + 1288)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k66", *(unsigned int *)(a1 + 1044)); v60 = *(_DWORD *)(a1 + 1140); if ( v60 == 1 ) { DS_Dictionary::setBoolForKey_1(a2, (__int64)"k38", *(unsigned __int8 *)(a1 + 1112)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k37", *(unsigned int *)(a1 + 1108)); v60 = *(_DWORD *)(a1 + 1140); } if ( v60 == 2 ) { DS_Dictionary::setFloatForKey_1(a2, (__int64)"kI1"); DS_Dictionary::setFloatForKey_1(a2, (__int64)"kI2"); DS_Dictionary::setFloatForKey_1(a2, (__int64)"kI3"); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"kI4", *(unsigned int *)(a1 + 1132)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"kI5", *(unsigned int *)(a1 + 1128)); DS_Dictionary::setIntegerForKey_1(a2, (__int64)"kI7", *(unsigned int *)(a1 + 1136)); DS_Dictionary::setDictForKey(a2, "kI6", *(_QWORD *)(a1 + 320)); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k61", *(_DWORD *)(a1 + 1008) - *(_DWORD *)(a1 + 1012) == 1); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k62", *(_DWORD *)(a1 + 1020) - *(_DWORD *)(a1 + 1024) == 1); DS_Dictionary::setBoolForKey_1(a2, (__int64)"k63", *(_DWORD *)(a1 + 1032) - *(_DWORD *)(a1 + 1036) == 1); DS_Dictionary::setStringForKey_1(a2, (__int64)"k34", a1 + 440); v61 = *(_BYTE *)(a1 + 1440); if ( (v61 & 1) != 0 ) { v62 = (std::string *)(a1 + 1440); if ( *(_QWORD *)(a1 + 1448) ) { LABEL_206: if ( (v61 & 1) == 0 ) { LABEL_207: v70 = *v62; LABEL_213: DS_Dictionary::setStringForKey_1(a2, (__int64)"k126", (__int64)&v70); if ( (*(_BYTE *)&v70.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v70.__r_.__value_.__l.__data_); v63 = *(unsigned int *)(a1 + 1464); if ( (int)v63 > 0 ) DS_Dictionary::setIntegerForKey_1(a2, (__int64)"k127", v63); return; } LABEL_212: sub_10001AD30(&v70, *(const void **)(a1 + 1456), *(_QWORD *)(a1 + 1448)); goto LABEL_213; } } else { v62 = (std::string *)(a1 + 1440); if ( v61 >> 1 ) goto LABEL_206; } sub_1004EF000(&v71, 16); if ( (*(_BYTE *)&v62->__r_.__value_.__s.0 & 1) != 0 ) operator delete(*(void **)(a1 + 1456)); *v62 = v71; if ( (*(_BYTE *)&v62->__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_207; goto LABEL_212; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source