//
// cocos2d::CCParticleSystem::initWithDictionary from 0xd70c4c to 0xd7206c (5152 bytes)
//
// 4 xrefs:
// > cocos2d::CCParticleSystem::initWithDictionary @ 0xd72078
// > cocos2d::CCParticleSystem::initWithFile @ 0xd72168
// > cocos2d::CCParticleSystem::initWithFile @ 0xd72250
// > ??> @ 0xbac40
//
// This function is hookable on this platform (idp: arm, 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 13:08:00 +0000
//
__int64 __fastcall cocos2d::CCParticleSystem::initWithDictionary(
cocos2d::CCParticleSystem *this,
cocos2d::CCDictionary *a2,
char *a3,
unsigned __int8 a4)
{
unsigned int v5; // w23
cocos2d::CCString *v8; // x0
__int64 v9; // x1
unsigned int v10; // w23
void *v11; // x0
cocos2d::CCString *v13; // x0
float v14; // s0
char v15; // w0
cocos2d::CCString *v16; // x0
float v17; // s0
char v18; // w0
cocos2d::CCString *v19; // x0
float v20; // s0
char v21; // w0
cocos2d::CCString *v22; // x0
cocos2d::CCString *v23; // x0
cocos2d::CCString *v24; // x0
float v25; // s0
char v26; // w0
cocos2d::CCString *v27; // x0
float v28; // s0
char v29; // w0
cocos2d::CCString *v30; // x0
float v31; // s0
char v32; // w0
cocos2d::CCString *v33; // x0
float v34; // s0
char v35; // w0
cocos2d::CCString *v36; // x0
float v37; // s0
char v38; // w0
cocos2d::CCString *v39; // x0
float v40; // s0
char v41; // w0
cocos2d::CCString *v42; // x0
float v43; // s0
char v44; // w0
cocos2d::CCString *v45; // x0
float v46; // s0
char v47; // w0
cocos2d::CCString *v48; // x0
float v49; // s0
char v50; // w0
cocos2d::CCString *v51; // x0
float v52; // s0
char v53; // w0
cocos2d::CCString *v54; // x0
float v55; // s0
char v56; // w0
cocos2d::CCString *v57; // x0
float v58; // s0
char v59; // w0
cocos2d::CCString *v60; // x0
float v61; // s0
char v62; // w0
cocos2d::CCString *v63; // x0
float v64; // s0
char v65; // w0
cocos2d::CCString *v66; // x0
float v67; // s0
char v68; // w0
cocos2d::CCString *v69; // x0
float v70; // s0
char v71; // w0
cocos2d::CCString *v72; // x0
float v73; // s0
char v74; // w0
cocos2d::CCString *v75; // x0
float v76; // s0
char v77; // w0
cocos2d::CCString *v78; // x0
float v79; // s0
char v80; // w0
cocos2d::CCString *v81; // x0
float v82; // s0
char v83; // w0
cocos2d::CCString *v84; // x0
float v85; // s8
cocos2d::CCString *v86; // x0
float v87; // s1
void (__fastcall *v88)(cocos2d::CCParticleSystem *, float *); // x23
cocos2d::CCString *v89; // x0
float v90; // s0
char v91; // w0
cocos2d::CCString *v92; // x0
float v93; // s0
char v94; // w0
cocos2d::CCString *v95; // x0
float v96; // s0
char v97; // w0
cocos2d::CCString *v98; // x0
float v99; // s0
char v100; // w0
cocos2d::CCString *v101; // x0
float v102; // s0
char v103; // w0
cocos2d::CCString *v104; // x0
float v105; // s0
char v106; // w0
cocos2d::CCString *v107; // x0
int v108; // w0
cocos2d::CCString *v109; // x0
float v110; // s0
char v111; // w0
cocos2d::CCString *v112; // x0
float v113; // s0
char v114; // w0
cocos2d::CCString *v115; // x0
float v116; // s0
char v117; // w0
cocos2d::CCString *v118; // x0
float v119; // s0
char v120; // w0
cocos2d::CCString *v121; // x0
float v122; // s0
char v123; // w0
cocos2d::CCString *v124; // x0
float v125; // s0
char v126; // w0
cocos2d::CCString *v127; // x0
float v128; // s0
char v129; // w0
cocos2d::CCString *v130; // x0
float v131; // s0
char v132; // w0
cocos2d::CCString *v133; // x0
float v134; // s0
char v135; // w0
cocos2d::CCString *v136; // x0
float v137; // s0
char v138; // w0
cocos2d::CCString *v139; // x0
float v140; // s0
char v141; // w0
cocos2d::CCString *v142; // x0
float v143; // s0
char v144; // w0
cocos2d::CCString *v145; // x0
float v146; // s0
char v147; // w0
cocos2d::CCString *v148; // x0
cocos2d::CCString *v149; // x0
float v150; // s0
char v151; // w0
cocos2d::CCString *v152; // x0
float v153; // s0
char v154; // w0
cocos2d::CCString *v155; // x0
char *CString; // x0
size_t v157; // x0
__int64 v158; // x0
unsigned __int64 v159; // x25
size_t v160; // x0
size_t v161; // x2
size_t v162; // x0
char *v163; // x1
size_t v164; // x2
__int64 v165; // x0
size_t v166; // x3
char v167; // w1
size_t v168; // x1
cocos2d::CCString *v169; // x0
char *v170; // x19
size_t v171; // x1
size_t v172; // x0
char *v173; // x1
size_t v174; // x2
__int64 v175; // x0
size_t v176; // x3
char v177; // w1
__int64 v178; // x0
cocos2d::CCFileUtils *v179; // x0
unsigned int v180; // w25
__int64 v181; // x0
cocos2d::CCTextureCache *v182; // x0
cocos2d::CCTextureCache *v183; // x0
char *v184; // x1
cocos2d::CCFileUtils *v185; // x24
__int64 v186; // x0
char *v187; // x0
unsigned __int8 *v188; // x1
unsigned __int8 **v189; // x3
cocos2d::CCImage *v190; // x19
void (__fastcall *v191)(cocos2d::CCParticleSystem *, __int64); // x21
cocos2d::CCTextureCache *v192; // x0
char *v193; // x2
__int64 v194; // x0
__int64 v195; // [xsp+60h] [xbp+60h]
char *v196; // [xsp+60h] [xbp+60h]
float v197; // [xsp+60h] [xbp+60h]
int v198; // [xsp+60h] [xbp+60h]
cocos2d::ZipUtils *v199; // [xsp+70h] [xbp+70h] BYREF
void *v200; // [xsp+78h] [xbp+78h] BYREF
float v201; // [xsp+80h] [xbp+80h] BYREF
cocos2d::CCFileUtils *v202; // [xsp+88h] [xbp+88h] BYREF
size_t v203; // [xsp+90h] [xbp+90h]
char *v204; // [xsp+98h] [xbp+98h]
__int64 v205; // [xsp+A0h] [xbp+A0h] BYREF
size_t v206; // [xsp+A8h] [xbp+A8h]
void *v207; // [xsp+B0h] [xbp+B0h]
__int64 v208; // [xsp+B8h] [xbp+B8h] BYREF
__int64 v209; // [xsp+C0h] [xbp+C0h]
void *v210; // [xsp+C8h] [xbp+C8h]
cocos2d::CCFileUtils *v211; // [xsp+D0h] [xbp+D0h] BYREF
size_t v212; // [xsp+D8h] [xbp+D8h]
void *v213; // [xsp+E0h] [xbp+E0h]
v5 = a4;
v199 = nullptr;
v200 = nullptr;
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "maxParticles", 0xCu);
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v9 = (unsigned int)cocos2d::CCString::intValue(v8);
if ( ((unsigned __int8)v211 & 1) != 0 )
{
v195 = v9;
operator delete(v213);
v9 = v195;
}
if ( !(*(unsigned __int8 (__fastcall **)(cocos2d::CCParticleSystem *, __int64, _QWORD))(*(_QWORD *)this + 1608LL))(
this,
v9,
v5) )
goto LABEL_4;
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "angle", 5u);
v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v14 = cocos2d::CCString::floatValue(v13);
v15 = (char)v211;
*((float *)this + 122) = v14;
if ( (v15 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "angleVariance", 0xDu);
v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v17 = cocos2d::CCString::floatValue(v16);
v18 = (char)v211;
*((float *)this + 123) = v17;
if ( (v18 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "duration", 8u);
v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v20 = cocos2d::CCString::floatValue(v19);
v21 = (char)v211;
*((float *)this + 115) = v20;
if ( (v21 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "blendFuncSource", 0xFu);
v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
*((_DWORD *)this + 168) = cocos2d::CCString::intValue(v22);
if ( ((unsigned __int8)v211 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "blendFuncDestination", 0x14u);
v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
*((_DWORD *)this + 169) = cocos2d::CCString::intValue(v23);
if ( ((unsigned __int8)v211 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorRed", 0xDu);
v24 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v25 = cocos2d::CCString::floatValue(v24);
v26 = (char)v211;
*((float *)this + 144) = v25;
if ( (v26 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorGreen", 0xFu);
v27 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v28 = cocos2d::CCString::floatValue(v27);
v29 = (char)v211;
*((float *)this + 145) = v28;
if ( (v29 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorBlue", 0xEu);
v30 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v31 = cocos2d::CCString::floatValue(v30);
v32 = (char)v211;
*((float *)this + 146) = v31;
if ( (v32 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorAlpha", 0xFu);
v33 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v34 = cocos2d::CCString::floatValue(v33);
v35 = (char)v211;
*((float *)this + 147) = v34;
if ( (v35 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorVarianceRed", 0x15u);
v36 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v37 = cocos2d::CCString::floatValue(v36);
v38 = (char)v211;
*((float *)this + 148) = v37;
if ( (v38 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorVarianceGreen", 0x17u);
v39 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v40 = cocos2d::CCString::floatValue(v39);
v41 = (char)v211;
*((float *)this + 149) = v40;
if ( (v41 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorVarianceBlue", 0x16u);
v42 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v43 = cocos2d::CCString::floatValue(v42);
v44 = (char)v211;
*((float *)this + 150) = v43;
if ( (v44 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startColorVarianceAlpha", 0x17u);
v45 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v46 = cocos2d::CCString::floatValue(v45);
v47 = (char)v211;
*((float *)this + 151) = v46;
if ( (v47 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorRed", 0xEu);
v48 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v49 = cocos2d::CCString::floatValue(v48);
v50 = (char)v211;
*((float *)this + 152) = v49;
if ( (v50 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorGreen", 0x10u);
v51 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v52 = cocos2d::CCString::floatValue(v51);
v53 = (char)v211;
*((float *)this + 153) = v52;
if ( (v53 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorBlue", 0xFu);
v54 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v55 = cocos2d::CCString::floatValue(v54);
v56 = (char)v211;
*((float *)this + 154) = v55;
if ( (v56 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorAlpha", 0x10u);
v57 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v58 = cocos2d::CCString::floatValue(v57);
v59 = (char)v211;
*((float *)this + 155) = v58;
if ( (v59 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorVarianceRed", 0x16u);
v60 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v61 = cocos2d::CCString::floatValue(v60);
v62 = (char)v211;
*((float *)this + 156) = v61;
if ( (v62 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorVarianceGreen", 0x18u);
v63 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v64 = cocos2d::CCString::floatValue(v63);
v65 = (char)v211;
*((float *)this + 157) = v64;
if ( (v65 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorVarianceBlue", 0x17u);
v66 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v67 = cocos2d::CCString::floatValue(v66);
v68 = (char)v211;
*((float *)this + 158) = v67;
if ( (v68 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishColorVarianceAlpha", 0x18u);
v69 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v70 = cocos2d::CCString::floatValue(v69);
v71 = (char)v211;
*((float *)this + 159) = v70;
if ( (v71 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startParticleSize", 0x11u);
v72 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v73 = cocos2d::CCString::floatValue(v72);
v74 = (char)v211;
*((float *)this + 140) = v73;
if ( (v74 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "startParticleSizeVariance", 0x19u);
v75 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v76 = cocos2d::CCString::floatValue(v75);
v77 = (char)v211;
*((float *)this + 141) = v76;
if ( (v77 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishParticleSize", 0x12u);
v78 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v79 = cocos2d::CCString::floatValue(v78);
v80 = (char)v211;
*((float *)this + 142) = v79;
if ( (v80 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "finishParticleSizeVariance", 0x1Au);
v81 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v82 = cocos2d::CCString::floatValue(v81);
v83 = (char)v211;
*((float *)this + 143) = v82;
if ( (v83 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "sourcePositionx", 0xFu);
v84 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v85 = cocos2d::CCString::floatValue(v84);
if ( ((unsigned __int8)v211 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "sourcePositiony", 0xFu);
v86 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v87 = cocos2d::CCString::floatValue(v86);
if ( ((unsigned __int8)v211 & 1) != 0 )
{
v197 = v87;
operator delete(v213);
v87 = v197;
}
v88 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, float *))(*(_QWORD *)this + 184LL);
cocos2d::CCPoint::CCPoint(&v201, v85, v87);
v88(this, &v201);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "sourcePositionVariancex", 0x17u);
v89 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v90 = cocos2d::CCString::floatValue(v89);
v91 = (char)v211;
*((float *)this + 118) = v90;
if ( (v91 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "sourcePositionVariancey", 0x17u);
v92 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v93 = cocos2d::CCString::floatValue(v92);
v94 = (char)v211;
*((float *)this + 119) = v93;
if ( (v94 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotationStart", 0xDu);
v95 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v96 = cocos2d::CCString::floatValue(v95);
v97 = (char)v211;
*((float *)this + 160) = v96;
if ( (v97 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotationStartVariance", 0x15u);
v98 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v99 = cocos2d::CCString::floatValue(v98);
v100 = (char)v211;
*((float *)this + 161) = v99;
if ( (v100 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotationEnd", 0xBu);
v101 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v102 = cocos2d::CCString::floatValue(v101);
v103 = (char)v211;
*((float *)this + 162) = v102;
if ( (v103 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotationEndVariance", 0x13u);
v104 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v105 = cocos2d::CCString::floatValue(v104);
v106 = (char)v211;
*((float *)this + 163) = v105;
if ( (v106 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "emitterType", 0xBu);
v107 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v108 = cocos2d::CCString::intValue(v107);
*((_DWORD *)this + 173) = v108;
if ( ((unsigned __int8)v211 & 1) != 0 )
{
operator delete(v213);
v108 = *((_DWORD *)this + 173);
}
if ( v108 )
{
if ( v108 != 1 )
goto LABEL_4;
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "maxRadius", 9u);
v109 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v110 = cocos2d::CCString::floatValue(v109);
v111 = (char)v211;
*((float *)this + 98) = v110;
if ( (v111 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "maxRadiusVariance", 0x11u);
v112 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v113 = cocos2d::CCString::floatValue(v112);
v114 = (char)v211;
*((float *)this + 99) = v113;
if ( (v114 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "minRadius", 9u);
v115 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v116 = cocos2d::CCString::floatValue(v115);
v117 = (char)v211;
*((float *)this + 100) = v116;
if ( (v117 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
*((_DWORD *)this + 101) = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotatePerSecond", 0xFu);
v118 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v119 = cocos2d::CCString::floatValue(v118);
v120 = (char)v211;
*((float *)this + 102) = v119;
if ( (v120 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotatePerSecondVariance", 0x17u);
v121 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v122 = cocos2d::CCString::floatValue(v121);
v123 = (char)v211;
*((float *)this + 103) = v122;
if ( (v123 & 1) != 0 )
goto LABEL_90;
}
else
{
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "gravityx", 8u);
v124 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v125 = cocos2d::CCString::floatValue(v124);
v126 = (char)v211;
*((float *)this + 89) = v125;
if ( (v126 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "gravityy", 8u);
v127 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v128 = cocos2d::CCString::floatValue(v127);
v129 = (char)v211;
*((float *)this + 90) = v128;
if ( (v129 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "speed", 5u);
v130 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v131 = cocos2d::CCString::floatValue(v130);
v132 = (char)v211;
*((float *)this + 91) = v131;
if ( (v132 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "speedVariance", 0xDu);
v133 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v134 = cocos2d::CCString::floatValue(v133);
v135 = (char)v211;
*((float *)this + 92) = v134;
if ( (v135 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "radialAcceleration", 0x12u);
v136 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v137 = cocos2d::CCString::floatValue(v136);
v138 = (char)v211;
*((float *)this + 95) = v137;
if ( (v138 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "radialAccelVariance", 0x13u);
v139 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v140 = cocos2d::CCString::floatValue(v139);
v141 = (char)v211;
*((float *)this + 96) = v140;
if ( (v141 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "tangentialAcceleration", 0x16u);
v142 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v143 = cocos2d::CCString::floatValue(v142);
v144 = (char)v211;
*((float *)this + 93) = v143;
if ( (v144 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "tangentialAccelVariance", 0x17u);
v145 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v146 = cocos2d::CCString::floatValue(v145);
v147 = (char)v211;
*((float *)this + 94) = v146;
if ( (v147 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "rotationIsDir", 0xDu);
v148 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
*((_BYTE *)this + 388) = cocos2d::CCString::boolValue(v148);
if ( ((unsigned __int8)v211 & 1) != 0 )
LABEL_90:
operator delete(v213);
}
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "particleLifespan", 0x10u);
v149 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v150 = cocos2d::CCString::floatValue(v149);
v151 = (char)v211;
*((float *)this + 120) = v150;
if ( (v151 & 1) != 0 )
operator delete(v213);
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "particleLifespanVariance", 0x18u);
v152 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v153 = cocos2d::CCString::floatValue(v152);
v154 = (char)v211;
*((float *)this + 121) = v153;
if ( (v154 & 1) != 0 )
operator delete(v213);
v10 = 1;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)this + 1032LL))(this);
cocos2d::CCParticleSystem::saveDefaults(this);
if ( !*((_QWORD *)this + 54) )
{
*((_BYTE *)this + 680) = 0;
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "textureFileName", 0xFu);
v155 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
CString = cocos2d::CCString::getCString(v155);
v202 = nullptr;
v196 = CString;
v203 = 0;
v204 = nullptr;
v157 = strlen(CString);
std::string::__init((__int64 *)&v202, v196, v157);
if ( ((unsigned __int8)v211 & 1) != 0 )
operator delete(v213);
v158 = std::string::rfind((__int64)&v202, 0x2Fu, 0xFFFFFFFFFFFFFFFFLL);
if ( v158 == -1 )
{
if ( a3 )
{
v208 = 0;
v209 = 0;
v210 = nullptr;
v172 = strlen(a3);
std::string::__init(&v208, a3, v172);
if ( ((unsigned __int8)v202 & 1) != 0 )
{
v173 = v204;
v174 = v203;
}
else
{
v174 = (unsigned __int8)v202 >> 1;
v173 = (char *)&v202 + 1;
}
v175 = std::string::append((__int64)&v208, v173, v174);
v176 = *(_QWORD *)(v175 + 8);
v211 = *(cocos2d::CCFileUtils **)v175;
v212 = v176;
v213 = *(void **)(v175 + 16);
*(_QWORD *)v175 = 0;
*(_QWORD *)(v175 + 8) = 0;
v177 = (char)v202;
*(_QWORD *)(v175 + 16) = 0;
if ( (v177 & 1) != 0 )
{
*v204 = 0;
v203 = 0;
}
else
{
LOWORD(v202) = 0;
}
std::string::reserve((__int64 *)&v202, 0);
v204 = (char *)v213;
v202 = v211;
v203 = v212;
if ( (v208 & 1) != 0 )
operator delete(v210);
}
goto LABEL_129;
}
v159 = v158 + 1;
std::string::basic_string(&v205, (__int64)&v202, 0, v158 + 1);
if ( a3 )
{
v160 = strlen(a3);
if ( (v205 & 1) != 0 )
{
v161 = v206;
if ( v206 != v160 )
goto LABEL_119;
v187 = (char *)v207;
}
else
{
v161 = (unsigned __int8)v205 >> 1;
if ( v161 != v160 )
{
LABEL_119:
std::string::basic_string((__int64 *)&v211, (__int64)&v202, v159, 0xFFFFFFFFFFFFFFFFLL);
if ( ((unsigned __int8)v202 & 1) != 0 )
{
*v204 = 0;
v203 = 0;
}
else
{
LOWORD(v202) = 0;
}
std::string::reserve((__int64 *)&v202, 0);
v208 = 0;
v204 = (char *)v213;
v202 = v211;
v203 = v212;
v209 = 0;
v210 = nullptr;
v162 = strlen(a3);
std::string::__init(&v208, a3, v162);
if ( ((unsigned __int8)v202 & 1) != 0 )
{
v163 = v204;
v164 = v203;
}
else
{
v164 = (unsigned __int8)v202 >> 1;
v163 = (char *)&v202 + 1;
}
v165 = std::string::append((__int64)&v208, v163, v164);
v166 = *(_QWORD *)(v165 + 8);
v211 = *(cocos2d::CCFileUtils **)v165;
v212 = v166;
v213 = *(void **)(v165 + 16);
*(_QWORD *)v165 = 0;
*(_QWORD *)(v165 + 8) = 0;
v167 = (char)v202;
*(_QWORD *)(v165 + 16) = 0;
if ( (v167 & 1) != 0 )
{
*v204 = 0;
v203 = 0;
}
else
{
LOWORD(v202) = 0;
}
std::string::reserve((__int64 *)&v202, 0);
v204 = (char *)v213;
v202 = v211;
v203 = v212;
if ( (v208 & 1) != 0 )
operator delete(v210);
goto LABEL_127;
}
v187 = (char *)&v205 + 1;
}
if ( v161 && memcmp(v187, a3, v161) )
goto LABEL_119;
}
LABEL_127:
if ( (v205 & 1) != 0 )
operator delete(v207);
LABEL_129:
v168 = (unsigned __int8)v202 >> 1;
if ( ((unsigned __int8)v202 & 1) != 0 )
v168 = v203;
if ( v168 )
{
v178 = cocos2d::CCFileUtils::sharedFileUtils((cocos2d::CCFileUtils *)(unsigned __int8)v202);
v179 = (cocos2d::CCFileUtils *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v178 + 184LL))(v178);
v180 = (unsigned int)v179;
v181 = cocos2d::CCFileUtils::sharedFileUtils(v179);
v182 = (cocos2d::CCTextureCache *)(*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v181 + 176LL))(v181, 0);
v183 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v182);
v184 = (char *)&v202 + 1;
if ( ((unsigned __int8)v202 & 1) != 0 )
v184 = v204;
v185 = (cocos2d::CCFileUtils *)cocos2d::CCTextureCache::addImage(v183, v184, 0);
v186 = cocos2d::CCFileUtils::sharedFileUtils(v185);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v186 + 176LL))(v186, v180);
if ( v185 )
{
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, cocos2d::CCFileUtils *))(*(_QWORD *)this + 1520LL))(
this,
v185);
LABEL_135:
v10 = 1;
if ( ((unsigned __int8)v202 & 1) != 0 )
operator delete(v204);
goto LABEL_5;
}
}
v211 = nullptr;
v212 = 0;
v213 = nullptr;
std::string::__init((__int64 *)&v211, "textureImageData", 0x10u);
v169 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey((__int64)a2, (__int64)&v211);
v170 = cocos2d::CCString::getCString(v169);
if ( ((unsigned __int8)v211 & 1) != 0 )
operator delete(v213);
v171 = strlen(v170);
if ( !(_DWORD)v171 )
goto LABEL_135;
v188 = (unsigned __int8 *)(unsigned int)base64Decode(v170, v171, &v199, 0);
if ( v199 )
{
v198 = cocos2d::ZipUtils::ccInflateMemory(v199, v188, (unsigned int)&v200, v189);
if ( v200 )
{
v190 = (cocos2d::CCImage *)operator new(0x50u);
cocos2d::CCImage::CCImage(v190);
if ( (unsigned __int8)cocos2d::CCImage::initWithImageData(v190, v200, v198, 5, 0, 0, 8) )
{
v191 = *(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)this + 1520LL);
v192 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(*(cocos2d::CCTextureCache **)this);
v193 = v204;
if ( ((unsigned __int8)v202 & 1) == 0 )
v193 = (char *)&v202 + 1;
v194 = cocos2d::CCTextureCache::addUIImage(v192, v190, v193);
v191(this, v194);
cocos2d::CCObject::release(v190);
goto LABEL_135;
}
}
}
if ( ((unsigned __int8)v202 & 1) != 0 )
operator delete(v204);
LABEL_4:
v10 = 0;
}
LABEL_5:
if ( !v199 )
{
v11 = v200;
if ( !v200 )
return v10;
goto LABEL_7;
}
operator delete[](v199);
v199 = nullptr;
v11 = v200;
if ( v200 )
LABEL_7:
operator delete[](v11);
return v10;
}