//
// PlayerObject::playDeathEffect from 0x1404dd160 to 0x1404e241c (21180 bytes)
//
// 3 xrefs:
// > PlayerObject::playerDestroyed @ 0x1404f60bd
// > ??> @ 0x1408d41b0
// > ??> @ 0x140929ad4
//
// 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:33:09 +0000
//
__int64 __fastcall PlayerObject::playDeathEffect(__int64 *a1)
{
__int64 v2; // rax
int v3; // ebx
__int64 v4; // r12
float v5; // xmm10_4
struct cocos2d::CCAction *v6; // rbx
cocos2d::CCNode *v7; // r14
__int64 v8; // rax
__int64 v9; // rbx
__int64 v10; // rax
__int64 v11; // rbx
float v12; // xmm6_4
__int64 v13; // rcx
cocos2d::CCArray *v14; // r15
int v15; // edi
cocos2d::CCString *v16; // rax
const char *CString; // rbx
__int64 v18; // rdx
__int64 v19; // rcx
cocos2d::CCSpriteFrameCache *v20; // rax
struct cocos2d::CCObject *v21; // rax
float v22; // xmm6_4
struct cocos2d::CCAnimation *v23; // rax
struct cocos2d::CCFiniteTimeAction *v24; // rbx
__int64 v25; // rax
struct cocos2d::CCAction *v26; // rax
float v27; // xmm6_4
struct cocos2d::CCFiniteTimeAction *v28; // rbx
struct cocos2d::CCFadeOut *v29; // rax
struct cocos2d::CCAction *v30; // rax
cocos2d::CCParticleSystem *v31; // rdi
__int64 v32; // rbx
__int64 v33; // rax
__int64 v34; // rax
__int64 v35; // rax
__int64 v36; // rax
__m128i v37; // xmm6
__int64 v38; // rax
__int64 v39; // rbx
__int64 v40; // rdx
__int64 v41; // rcx
__int64 v42; // r8
cocos2d::CCObject *v43; // rdi
__int64 v44; // rbx
__int64 v45; // rax
__int64 v46; // rdx
__int64 v47; // rcx
__int64 v48; // r8
cocos2d::CCObject *v49; // rax
cocos2d::CCObject *v50; // rdi
__int64 v51; // rbx
__int64 v52; // rax
__int64 *v53; // rcx
__int64 v54; // rax
struct cocos2d::CCAction *v55; // rbx
cocos2d::CCNode *v56; // r14
__int64 v57; // rax
__int64 v58; // rbx
__int64 v59; // rax
__int64 v60; // rbx
__int64 v61; // rcx
cocos2d::CCArray *v62; // r15
int i; // edi
cocos2d::CCString *v64; // rax
const char *v65; // rbx
__int64 v66; // rdx
__int64 v67; // rcx
cocos2d::CCSpriteFrameCache *v68; // rax
struct cocos2d::CCObject *v69; // rax
float v70; // xmm6_4
struct cocos2d::CCAnimation *v71; // rax
struct cocos2d::CCFiniteTimeAction *v72; // rbx
__int64 v73; // rax
struct cocos2d::CCAction *v74; // rax
float v75; // xmm6_4
struct cocos2d::CCFiniteTimeAction *v76; // rbx
struct cocos2d::CCFadeOut *v77; // rax
struct cocos2d::CCAction *v78; // rax
cocos2d::CCParticleSystem *v79; // rdi
__int64 v80; // rbx
__int64 v81; // rax
__int64 v82; // rax
__int64 v83; // rax
__int64 v84; // rax
__m128i v85; // xmm6
__int64 v86; // rax
__int64 v87; // rbx
__int64 v88; // rbx
__int64 v89; // rbx
__int64 v90; // rdx
__int64 v91; // rcx
__int64 v92; // r8
cocos2d::CCObject *v93; // rdi
__int64 v94; // rbx
__int64 v95; // rax
__int64 v96; // rdx
__int64 v97; // rcx
__int64 v98; // r8
struct cocos2d::CCAction *v99; // rbx
cocos2d::CCNode *v100; // r14
__int64 v101; // rax
__int64 v102; // rbx
__int64 v103; // rax
__int64 v104; // rbx
__int64 v105; // rcx
cocos2d::CCArray *v106; // r15
int j; // edi
cocos2d::CCString *v108; // rax
const char *v109; // rbx
__int64 v110; // rdx
__int64 v111; // rcx
cocos2d::CCSpriteFrameCache *v112; // rax
struct cocos2d::CCObject *v113; // rax
float v114; // xmm6_4
struct cocos2d::CCAnimation *v115; // rax
struct cocos2d::CCFiniteTimeAction *v116; // rbx
__int64 v117; // rax
struct cocos2d::CCAction *v118; // rax
struct cocos2d::CCFiniteTimeAction *v119; // rbx
struct cocos2d::CCFadeOut *v120; // rax
struct cocos2d::CCAction *v121; // rax
cocos2d::CCParticleSystem *v122; // rdi
__int64 v123; // rbx
__int64 v124; // rax
__int64 v125; // rax
__int64 v126; // rax
__int64 v127; // rax
__int64 v128; // rax
__int64 v129; // rbx
__int64 v130; // rdx
__int64 v131; // rcx
__int64 v132; // r8
cocos2d::CCObject *v133; // rdi
__int64 v134; // rbx
__int64 v135; // rax
__int64 v136; // rdx
__int64 v137; // rcx
__int64 v138; // r8
struct cocos2d::CCAction *v139; // rbx
cocos2d::CCNode *v140; // r14
__int64 v141; // rax
__int64 v142; // rbx
__int64 v143; // rax
__int64 v144; // rbx
float v145; // xmm6_4
__int64 v146; // rcx
cocos2d::CCArray *v147; // r15
int v148; // edi
cocos2d::CCString *v149; // rax
const char *v150; // rbx
__int64 v151; // rdx
__int64 v152; // rcx
cocos2d::CCSpriteFrameCache *v153; // rax
struct cocos2d::CCObject *v154; // rax
float v155; // xmm6_4
float v156; // xmm6_4
struct cocos2d::CCAnimation *v157; // rax
struct cocos2d::CCFiniteTimeAction *v158; // rbx
__int64 v159; // rax
struct cocos2d::CCAction *v160; // rax
struct cocos2d::CCFiniteTimeAction *v161; // rbx
struct cocos2d::CCFadeOut *v162; // rax
struct cocos2d::CCAction *v163; // rax
cocos2d::CCParticleSystem *v164; // rdi
__int64 v165; // rbx
__int64 v166; // rax
__int64 v167; // rax
__int64 v168; // rax
__m128i v169; // xmm6
__int64 v170; // rax
__int64 v171; // rax
__int64 v172; // rbx
__int64 v173; // rdx
__int64 v174; // rcx
__int64 v175; // r8
cocos2d::CCObject *v176; // rdi
__int64 v177; // rbx
__int64 v178; // rax
__int64 v179; // rdx
__int64 v180; // rcx
__int64 v181; // r8
struct cocos2d::CCAction *v182; // rbx
cocos2d::CCNode *v183; // r14
__int64 v184; // rax
__int64 v185; // rbx
__int64 v186; // rax
__int64 v187; // rbx
__int64 v188; // rcx
cocos2d::CCArray *v189; // r15
int v190; // edi
cocos2d::CCString *v191; // rax
const char *v192; // rbx
__int64 v193; // rdx
__int64 v194; // rcx
cocos2d::CCSpriteFrameCache *v195; // rax
struct cocos2d::CCObject *v196; // rax
float v197; // xmm6_4
float v198; // xmm6_4
struct cocos2d::CCAnimation *v199; // rax
struct cocos2d::CCFiniteTimeAction *v200; // rbx
__int64 v201; // rax
struct cocos2d::CCAction *v202; // rax
float v203; // xmm6_4
struct cocos2d::CCFiniteTimeAction *v204; // rbx
struct cocos2d::CCFadeOut *v205; // rax
struct cocos2d::CCAction *v206; // rax
cocos2d::CCParticleSystem *v207; // rdi
__int64 v208; // rbx
__int64 v209; // rax
__int64 v210; // rax
__int64 v211; // rax
__int64 v212; // rax
__m128i v213; // xmm6
__int64 v214; // rax
__int64 v215; // rbx
__int64 v216; // rbx
__int64 v217; // rbx
__int64 v218; // rdx
__int64 v219; // rcx
__int64 v220; // r8
cocos2d::CCObject *v221; // rdi
__int64 v222; // rbx
__int64 v223; // rax
__int64 v224; // rdx
__int64 v225; // rcx
__int64 v226; // r8
struct cocos2d::CCAction *v227; // rbx
cocos2d::CCNode *v228; // r14
__int64 v229; // rax
__int64 v230; // rbx
__int64 v231; // rax
__int64 v232; // rcx
cocos2d::CCArray *v233; // r15
int k; // edi
cocos2d::CCString *v235; // rax
const char *v236; // rbx
__int64 v237; // rdx
__int64 v238; // rcx
cocos2d::CCSpriteFrameCache *v239; // rax
struct cocos2d::CCObject *v240; // rax
struct cocos2d::CCAnimation *v241; // rax
struct cocos2d::CCFiniteTimeAction *v242; // rbx
__int64 v243; // rax
struct cocos2d::CCAction *v244; // rax
struct cocos2d::CCFiniteTimeAction *v245; // rbx
struct cocos2d::CCFadeOut *v246; // rax
struct cocos2d::CCAction *v247; // rax
cocos2d::CCParticleSystem *v248; // rdi
__int64 v249; // rbx
__int64 v250; // rax
__int64 v251; // rax
__int64 v252; // rax
__int64 v253; // rax
__int64 v254; // rax
__int64 v255; // rbx
__int64 v256; // rdx
__int64 v257; // rcx
__int64 v258; // r8
cocos2d::CCObject *v259; // rdi
__int64 v260; // rbx
__int64 v261; // rax
__int64 v262; // r8
struct cocos2d::CCAction *v263; // rbx
cocos2d::CCNode *v264; // r14
__int64 v265; // rax
__int64 v266; // rbx
__int64 v267; // rax
__int64 v268; // rcx
cocos2d::CCArray *v269; // r15
int v270; // edi
cocos2d::CCString *v271; // rax
const char *v272; // rbx
__int64 v273; // rdx
__int64 v274; // rcx
cocos2d::CCSpriteFrameCache *v275; // rax
struct cocos2d::CCObject *v276; // rax
float v277; // xmm6_4
struct cocos2d::CCAnimation *v278; // rax
struct cocos2d::CCFiniteTimeAction *v279; // rbx
__int64 v280; // rax
struct cocos2d::CCAction *v281; // rax
float v282; // xmm6_4
struct cocos2d::CCFiniteTimeAction *v283; // rbx
struct cocos2d::CCFadeOut *v284; // rax
struct cocos2d::CCAction *v285; // rax
cocos2d::CCParticleSystem *v286; // rdi
__int64 v287; // rbx
__int64 v288; // rax
__int64 v289; // rax
__int64 v290; // rax
__int64 v291; // rax
__m128i v292; // xmm6
__int64 v293; // rax
__int64 v294; // rbx
__int64 v295; // rbx
__int64 v296; // rbx
__int64 v297; // rdx
__int64 v298; // rcx
__int64 v299; // r8
cocos2d::CCObject *v300; // rdi
__int64 v301; // rbx
__int64 v302; // rax
__int64 v303; // rdx
__int64 v304; // rcx
__int64 v305; // r8
struct cocos2d::CCAction *v306; // rbx
cocos2d::CCNode *v307; // r14
__int64 v308; // rax
__int64 v309; // rax
__int64 v310; // rbx
__int64 v311; // rax
__int64 v312; // rbx
__int64 v313; // rcx
cocos2d::CCArray *v314; // r15
int m; // edi
cocos2d::CCString *v316; // rax
const char *v317; // rbx
__int64 v318; // rdx
__int64 v319; // rcx
cocos2d::CCSpriteFrameCache *v320; // rax
struct cocos2d::CCObject *v321; // rax
float v322; // xmm8_4
struct cocos2d::CCAnimation *v323; // rax
struct cocos2d::CCFiniteTimeAction *v324; // rbx
__int64 v325; // rax
struct cocos2d::CCAction *v326; // rax
struct cocos2d::CCFiniteTimeAction *v327; // rbx
struct cocos2d::CCFadeOut *v328; // rax
struct cocos2d::CCAction *v329; // rax
cocos2d::CCParticleSystem *v330; // rdi
__int64 v331; // rbx
__int64 v332; // rax
__int64 v333; // rax
__int64 v334; // rax
__m128i v335; // xmm6
__int64 v336; // rax
__int64 v337; // rax
__int64 v338; // rbx
__int64 v339; // rax
__int64 v340; // rbx
__int64 v341; // rbx
__int64 v342; // rdx
__int64 v343; // rcx
__int64 v344; // r8
cocos2d::CCObject *v345; // rdi
__int64 v346; // rbx
__int64 v347; // rax
__int64 v348; // rdx
__int64 v349; // rcx
__int64 v350; // r8
cocos2d::CCObject *v351; // rax
cocos2d::CCObject *v352; // rdi
__int64 v353; // rbx
__int64 v354; // rax
struct cocos2d::CCAction *v355; // rbx
cocos2d::CCNode *v356; // r14
__int64 v357; // rax
__int64 v358; // rbx
__int64 v359; // rax
__int64 v360; // rbx
__int64 v361; // rcx
cocos2d::CCArray *v362; // r15
int n; // edi
cocos2d::CCString *v364; // rax
const char *v365; // rbx
__int64 v366; // rdx
__int64 v367; // rcx
cocos2d::CCSpriteFrameCache *v368; // rax
struct cocos2d::CCObject *v369; // rax
float v370; // xmm6_4
float v371; // xmm6_4
struct cocos2d::CCAnimation *v372; // rax
struct cocos2d::CCFiniteTimeAction *v373; // rbx
__int64 v374; // rax
struct cocos2d::CCAction *v375; // rax
struct cocos2d::CCFiniteTimeAction *v376; // rbx
struct cocos2d::CCFadeOut *v377; // rax
struct cocos2d::CCAction *v378; // rax
cocos2d::CCParticleSystem *v379; // rdi
__int64 v380; // rbx
__int64 v381; // rax
__int64 v382; // rax
__int64 v383; // rax
__int64 v384; // rax
__m128i v385; // xmm6
__int64 v386; // rax
__int64 v387; // rbx
__int64 v388; // rbx
__int64 v389; // rbx
__int64 v390; // rbx
__int64 v391; // rdx
__int64 v392; // rcx
__int64 v393; // r8
cocos2d::CCObject *v394; // rdi
__int64 v395; // rbx
__int64 v396; // rax
struct cocos2d::CCAction *v397; // rbx
cocos2d::CCNode *v398; // r14
__int64 v399; // rax
__int64 v400; // rbx
__int64 v401; // rax
__int64 v402; // rcx
cocos2d::CCArray *v403; // r15
int ii; // edi
cocos2d::CCString *v405; // rax
const char *v406; // rbx
__int64 v407; // rdx
__int64 v408; // rcx
cocos2d::CCSpriteFrameCache *v409; // rax
struct cocos2d::CCObject *v410; // rax
float v411; // xmm6_4
float v412; // xmm6_4
struct cocos2d::CCAnimation *v413; // rax
struct cocos2d::CCFiniteTimeAction *v414; // rbx
__int64 v415; // rax
struct cocos2d::CCAction *v416; // rax
struct cocos2d::CCFiniteTimeAction *v417; // rbx
struct cocos2d::CCFadeOut *v418; // rax
struct cocos2d::CCAction *v419; // rax
struct cocos2d::CCFiniteTimeAction *v420; // rbx
struct cocos2d::CCTintTo *v421; // rax
struct cocos2d::CCAction *v422; // rax
cocos2d::CCParticleSystem *v423; // rdi
__int64 v424; // rbx
__int64 v425; // rax
__int64 v426; // rax
unsigned int v427; // xmm1_4
unsigned int v428; // eax
__m128i v429; // xmm0
__int64 v430; // rax
__int64 v431; // rax
__m128i v432; // xmm6
__int64 v433; // rax
__int64 v434; // rbx
__int64 v435; // rbx
__int64 v436; // rbx
__int64 v437; // rdx
__int64 v438; // rcx
__int64 v439; // r8
cocos2d::CCObject *v440; // rdi
__int64 v441; // rbx
__int64 v442; // rax
__int64 v443; // rdx
__int64 v444; // rcx
__int64 v445; // r8
struct cocos2d::CCAction *v446; // rbx
cocos2d::CCNode *v447; // r14
__int64 v448; // rax
__int64 v449; // rbx
__int64 v450; // rax
__int64 v451; // rcx
cocos2d::CCArray *v452; // r15
int jj; // edi
cocos2d::CCString *v454; // rax
const char *v455; // rbx
__int64 v456; // rdx
__int64 v457; // rcx
cocos2d::CCSpriteFrameCache *v458; // rax
struct cocos2d::CCObject *v459; // rax
float v460; // xmm6_4
float v461; // xmm6_4
struct cocos2d::CCAnimation *v462; // rax
struct cocos2d::CCFiniteTimeAction *v463; // rbx
__int64 v464; // rax
struct cocos2d::CCAction *v465; // rax
struct cocos2d::CCFiniteTimeAction *v466; // rbx
struct cocos2d::CCFadeOut *v467; // rax
cocos2d::CCParticleSystem *v468; // rdi
__int64 v469; // rbx
__int64 v470; // rax
__int64 v471; // rax
__int64 v472; // rax
__m128i v473; // xmm6
__int64 v474; // rax
__int64 v475; // rax
__int64 v476; // rbx
__int64 v477; // rbx
__int64 v478; // rbx
__int64 v479; // rdx
__int64 v480; // rcx
__int64 v481; // r8
cocos2d::CCObject *v482; // rdi
__int64 v483; // rbx
__int64 v484; // rax
__int64 v485; // rdx
__int64 v486; // rcx
__int64 v487; // r8
struct cocos2d::CCAction *v488; // rbx
cocos2d::CCNode *v489; // r14
__int64 v490; // rax
__int64 v491; // rax
__int64 v492; // rbx
__int64 v493; // rax
__int64 v494; // rcx
cocos2d::CCArray *v495; // r15
int kk; // edi
cocos2d::CCString *v497; // rax
const char *v498; // rbx
__int64 v499; // rdx
__int64 v500; // rcx
cocos2d::CCSpriteFrameCache *v501; // rax
struct cocos2d::CCObject *v502; // rax
float v503; // xmm8_4
struct cocos2d::CCAnimation *v504; // rax
struct cocos2d::CCFiniteTimeAction *v505; // rbx
__int64 v506; // rax
struct cocos2d::CCAction *v507; // rax
struct cocos2d::CCFiniteTimeAction *v508; // rbx
struct cocos2d::CCFadeOut *v509; // rax
cocos2d::CCParticleSystem *v510; // rdi
__int64 v511; // rbx
__int64 v512; // rax
__int64 v513; // rax
__int64 v514; // rax
__int64 v515; // rax
__m128i v516; // xmm6
__int64 v517; // rax
__int64 v518; // rbx
__int64 v519; // rax
__int64 v520; // rbx
__int64 v521; // rbx
__int64 v522; // rdx
__int64 v523; // rcx
__int64 v524; // r8
cocos2d::CCObject *v525; // rdi
__int64 v526; // rbx
__int64 v527; // rax
__int64 v528; // rdx
__int64 v529; // rcx
__int64 v530; // r8
struct cocos2d::CCAction *v531; // rbx
cocos2d::CCNode *v532; // r14
__int64 v533; // rax
__int64 v534; // rax
__int64 v535; // rbx
__int64 v536; // rax
__int64 v537; // rcx
cocos2d::CCArray *v538; // r15
int mm; // edi
cocos2d::CCString *v540; // rax
const char *v541; // rbx
__int64 v542; // rdx
__int64 v543; // rcx
cocos2d::CCSpriteFrameCache *v544; // rax
struct cocos2d::CCObject *v545; // rax
float v546; // xmm7_4
struct cocos2d::CCAnimation *v547; // rax
struct cocos2d::CCFiniteTimeAction *v548; // rbx
__int64 v549; // rax
struct cocos2d::CCAction *v550; // rax
struct cocos2d::CCFiniteTimeAction *v551; // rbx
struct cocos2d::CCFadeOut *v552; // rax
cocos2d::CCParticleSystem *v553; // rdi
__int64 v554; // rbx
__int64 v555; // rax
__int64 v556; // rax
__int64 v557; // rax
__int64 v558; // rax
__m128i v559; // xmm6
__int64 v560; // rax
__int64 v561; // rbx
__int64 v562; // rax
__int64 v563; // rbx
__int64 v564; // rbx
__int64 v565; // rdx
__int64 v566; // rcx
__int64 v567; // r8
cocos2d::CCObject *v568; // rdi
__int64 v569; // rbx
__int64 v570; // rax
__int64 v571; // rdx
__int64 v572; // rcx
__int64 v573; // r8
cocos2d::CCObject *v574; // rdi
__int64 v575; // rbx
__int64 v576; // rax
struct cocos2d::CCAction *v577; // rbx
cocos2d::CCNode *v578; // r14
__int64 v579; // rax
__int64 v580; // rax
__int64 v581; // rbx
__int64 v582; // rax
__int64 v583; // rcx
cocos2d::CCArray *v584; // r15
int nn; // edi
cocos2d::CCString *v586; // rax
const char *v587; // rbx
__int64 v588; // rdx
__int64 v589; // rcx
cocos2d::CCSpriteFrameCache *v590; // rax
struct cocos2d::CCObject *v591; // rax
float v592; // xmm8_4
struct cocos2d::CCAnimation *v593; // rax
struct cocos2d::CCFiniteTimeAction *v594; // rbx
__int64 v595; // rax
struct cocos2d::CCAction *v596; // rax
struct cocos2d::CCFiniteTimeAction *v597; // rbx
struct cocos2d::CCFadeOut *v598; // rax
cocos2d::CCParticleSystem *v599; // rdi
__int64 v600; // rbx
__int64 v601; // rax
__int64 v602; // rax
__int64 v603; // rax
__int64 v604; // rax
__m128i v605; // xmm6
__int64 v606; // rax
__int64 v607; // rbx
__int64 v608; // rax
__int64 v609; // rbx
__int64 v610; // rbx
__int64 v611; // rdx
__int64 v612; // rcx
__int64 v613; // r8
cocos2d::CCObject *v614; // rdi
__int64 v615; // rbx
__int64 v616; // rax
__int64 v617; // rdx
__int64 v618; // rcx
__int64 v619; // r8
struct cocos2d::CCAction *v620; // rbx
cocos2d::CCNode *v621; // r14
__int64 v622; // rax
__int64 v623; // rax
__int64 v624; // rbx
__int64 v625; // rax
__int64 v626; // rbx
__int64 v627; // rcx
cocos2d::CCArray *v628; // r15
int i1; // edi
cocos2d::CCString *v630; // rax
const char *v631; // rbx
__int64 v632; // rdx
__int64 v633; // rcx
cocos2d::CCSpriteFrameCache *v634; // rax
struct cocos2d::CCObject *v635; // rax
float v636; // xmm7_4
struct cocos2d::CCAnimation *v637; // rax
struct cocos2d::CCFiniteTimeAction *v638; // rbx
__int64 v639; // rax
struct cocos2d::CCAction *v640; // rax
cocos2d::CCParticleSystem *v641; // rdi
__int64 v642; // rbx
__int64 v643; // rax
__int64 v644; // rax
__int64 v645; // rax
__int64 v646; // rax
__m128i v647; // xmm6
__int64 v648; // rax
__int64 v649; // rbx
__int64 v650; // rax
__int64 v651; // rbx
__int64 v652; // rbx
__int64 v653; // rdx
__int64 v654; // rcx
__int64 v655; // r8
cocos2d::CCObject *v656; // rdi
__int64 v657; // rbx
__int64 v658; // rax
__int64 v659; // rdx
__int64 v660; // rcx
__int64 v661; // r8
__int64 v662; // rbx
__int64 v663; // rax
struct cocos2d::CCAction *v664; // rbx
cocos2d::CCNode *v665; // r14
__int64 v666; // rax
__int64 v667; // rbx
__int64 v668; // rax
__int64 v669; // rcx
cocos2d::CCArray *v670; // r15
int i2; // edi
cocos2d::CCString *v672; // rax
const char *v673; // rbx
__int64 v674; // rdx
__int64 v675; // rcx
cocos2d::CCSpriteFrameCache *v676; // rax
struct cocos2d::CCObject *v677; // rax
float v678; // xmm6_4
struct cocos2d::CCAnimation *v679; // rax
struct cocos2d::CCFiniteTimeAction *v680; // rbx
__int64 v681; // rax
struct cocos2d::CCAction *v682; // rax
struct cocos2d::CCDelayTime *v683; // rax
float v684; // xmm6_4
struct cocos2d::CCFiniteTimeAction *v685; // rbx
struct cocos2d::CCFadeOut *v686; // rax
struct cocos2d::CCAction *v687; // rax
cocos2d::CCParticleSystem *v688; // rdi
__int64 v689; // rbx
__int64 v690; // rax
__int64 v691; // rax
__int64 v692; // rax
__int64 v693; // rax
__int64 v694; // rax
__int64 v695; // rbx
__int64 v696; // rdx
__int64 v697; // rcx
__int64 v698; // r8
__int64 v699; // rbx
__int64 v700; // rax
struct cocos2d::CCAction *v701; // rbx
cocos2d::CCNode *v702; // r14
__int64 v703; // rax
__int64 v704; // rbx
__int64 v705; // rax
__int64 v706; // rcx
cocos2d::CCArray *v707; // r15
int i3; // edi
cocos2d::CCString *v709; // rax
const char *v710; // rbx
__int64 v711; // rdx
__int64 v712; // rcx
cocos2d::CCSpriteFrameCache *v713; // rax
struct cocos2d::CCObject *v714; // rax
float v715; // xmm6_4
struct cocos2d::CCAnimation *v716; // rax
struct cocos2d::CCFiniteTimeAction *v717; // rbx
__int64 v718; // rax
struct cocos2d::CCAction *v719; // rax
struct cocos2d::CCFiniteTimeAction *v720; // rbx
struct cocos2d::CCFadeOut *v721; // rax
struct cocos2d::CCAction *v722; // rax
cocos2d::CCParticleSystem *v723; // rdi
__int64 v724; // rbx
__int64 v725; // rax
__int64 v726; // rax
__int64 v727; // rax
__int64 v728; // rax
__m128i v729; // xmm6
__int64 v730; // rbx
__int64 v731; // rbx
__int64 v732; // rbx
__int64 v733; // rdx
__int64 v734; // rcx
__int64 v735; // r8
cocos2d::CCObject *v736; // rdi
__int64 v737; // rbx
__int64 v738; // rax
struct cocos2d::CCAction *v739; // rbx
__int64 v740; // rax
__int64 v741; // rbx
__int64 v742; // rax
__int64 v743; // rcx
cocos2d::CCArray *v744; // r15
int i4; // edi
cocos2d::CCString *v746; // rax
const char *v747; // rbx
__int64 v748; // rdx
__int64 v749; // rcx
cocos2d::CCSpriteFrameCache *v750; // rax
struct cocos2d::CCObject *v751; // rax
float v752; // xmm6_4
struct cocos2d::CCAnimation *v753; // rax
struct cocos2d::CCFiniteTimeAction *v754; // rbx
__int64 v755; // rax
struct cocos2d::CCAction *v756; // rax
struct cocos2d::CCAction *v757; // rbx
cocos2d::CCNode *v758; // r14
__int64 v759; // rax
__int64 v760; // rbx
__int64 v761; // rax
__int64 v762; // rcx
cocos2d::CCArray *v763; // r15
int i5; // edi
cocos2d::CCString *v765; // rax
const char *v766; // rbx
__int64 v767; // rdx
__int64 v768; // rcx
cocos2d::CCSpriteFrameCache *v769; // rax
struct cocos2d::CCObject *v770; // rax
int v771; // eax
struct cocos2d::CCAnimation *v772; // rax
struct cocos2d::CCFiniteTimeAction *v773; // rbx
__int64 v774; // rax
struct cocos2d::CCAction *v775; // rax
cocos2d::CCParticleSystem *v776; // rdi
__int64 v777; // rbx
__int64 v778; // rax
__int64 v779; // rax
__int64 v780; // rax
__int64 v781; // rax
__int64 v782; // rax
__int64 v783; // rbx
__int64 v784; // rdx
__int64 v785; // rcx
__int64 v786; // r8
cocos2d::CCObject *v787; // rdi
__int64 v788; // rbx
__int64 v789; // rax
__int64 v790; // rdx
__int64 v791; // rcx
__int64 v792; // r8
__int64 v793; // rbx
__int64 v794; // rax
__int64 v795; // r8
struct cocos2d::CCAction *v796; // rbx
cocos2d::CCParticleSystem *v797; // rdi
__int64 v798; // rbx
__int64 v799; // rax
__int64 v800; // rax
unsigned int v801; // xmm1_4
__int64 v802; // rdx
__int64 v803; // rcx
__int64 v804; // r8
__int64 v805; // rbx
__int64 v806; // rax
__int64 v807; // rax
__int64 result; // rax
float v809; // xmm10_4
cocos2d::CCRenderTexture *v810; // rdi
const struct cocos2d::CCPoint *v811; // rax
__int64 v812; // rbx
__int64 v813; // rax
__int64 v814; // rdi
char v815; // al
__m128i v816; // xmm8
double v817; // xmm0_8
float v818; // xmm7_4
int v819; // eax
int v820; // esi
int v821; // eax
int v822; // ebx
int v823; // r9d
float v824; // xmm0_4
_QWORD v825[2]; // [rsp+68h] [rbp-A0h] BYREF
__int16 v826; // [rsp+78h] [rbp-90h] BYREF
char v827; // [rsp+7Ah] [rbp-8Eh]
__m128i v828; // [rsp+88h] [rbp-80h] BYREF
__m128i si128; // [rsp+98h] [rbp-70h] BYREF
v2 = GameManager::sharedState();
v3 = *(_DWORD *)(v2 + 904) - *(_DWORD *)(v2 + 908);
if ( *(_QWORD *)(GameManager::sharedState() + 560)
&& *(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 560) + 13024LL)
&& !*((_BYTE *)a1 + 2099) )
{
v3 = 1;
}
if ( (*(__int64 (__fastcall **)(__int64 *))(*a1 + 504))(a1) )
v4 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 504))(a1);
else
v4 = a1[390];
v5 = *((float *)a1 + 638);
if ( v5 >= 1.0 )
v5 = v5 * 0.89999998;
switch ( v3 )
{
case 2:
v6 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v6 + 64LL))(v6, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v6);
v7 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_01_001.png");
v8 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v8 + 560) + 4296LL) + 456LL))(
*(_QWORD *)(*(_QWORD *)(v8 + 560) + 4296LL),
v7,
10000);
v9 = *(_QWORD *)v7;
v10 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v9 + 184))(v7, v10);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v7 + 160LL))(v7);
v11 = *(_QWORD *)v7;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v7 + 168LL))(v7);
(*(void (__fastcall **)(cocos2d::CCNode *))(v11 + 160))(v7);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v7 + 352LL))(v7);
v12 = (float)rand() / 32767.0;
v14 = (cocos2d::CCArray *)cocos2d::CCArray::create(v13);
v15 = (v12 <= 0.5) + 1;
do
{
v16 = cocos2d::CCString::createWithFormat("playerExplosion_01_%03d.png", v15);
CString = cocos2d::CCString::getCString(v16);
v20 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v19, v18);
v21 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v20, CString);
cocos2d::CCArray::addObject(v14, v21);
++v15;
}
while ( v15 <= 11 );
v22 = (float)((float)((float)rand() / 32767.0) * 0.0099999998) + 0.050000001;
v23 = cocos2d::CCAnimation::createWithSpriteFrames(v14, v22);
v24 = cocos2d::CCAnimate::create(v23);
v25 = cocos2d::CCCallFunc::create(v7, sub_14003F5B0);
v26 = cocos2d::CCSequence::create(v24, v25, 0);
cocos2d::CCNode::runAction(v7, v26);
v27 = v22 * 6.0;
v28 = cocos2d::CCDelayTime::create(v27);
v29 = cocos2d::CCFadeOut::create(v27);
v30 = cocos2d::CCSequence::create(v28, v29, 0);
cocos2d::CCNode::runAction(v7, v30);
v31 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v31 + 1528LL))(v31, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v31,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v31 + 1544LL))(v31, 1);
v32 = *(_QWORD *)v31;
v33 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v32 + 184))(v31, v33);
v34 = *(_QWORD *)v31;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A20);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v34 + 1352))(v31, &si128);
v35 = *(_QWORD *)v31;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836990);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v35 + 1384))(v31, &si128);
v36 = *(_QWORD *)v31;
v37 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v37;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v36 + 1368))(v31, &si128);
v38 = *(_QWORD *)v31;
si128 = v37;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v38 + 1400))(v31, &si128);
v39 = *(_QWORD *)v31;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v31 + 1048LL))(v31);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v39 + 1056))(v31);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v31 + 160LL))(v31);
cocos2d::CCParticleSystem::resetSystem(v31);
v43 = CCCircleWave::create(v41, v40, v42, 0, 1);
*((_WORD *)v43 + 170) = -1;
*((_BYTE *)v43 + 342) = 0;
v44 = *(_QWORD *)v43;
v45 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v44 + 184))(v43, v45);
*((_DWORD *)v43 + 90) = 1058642330;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v43, 1000);
goto LABEL_14;
case 3:
v55 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v55 + 64LL))(v55, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v55);
v56 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_02_001.png");
v57 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v57 + 560) + 4296LL) + 456LL))(
*(_QWORD *)(*(_QWORD *)(v57 + 560) + 4296LL),
v56,
10000);
v58 = *(_QWORD *)v56;
v59 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v58 + 184))(v56, v59);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v56 + 160LL))(v56);
v60 = *(_QWORD *)v56;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v56 + 168LL))(v56);
(*(void (__fastcall **)(cocos2d::CCNode *))(v60 + 160))(v56);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v56 + 352LL))(v56);
v62 = (cocos2d::CCArray *)cocos2d::CCArray::create(v61);
for ( i = 2; i <= 10; ++i )
{
v64 = cocos2d::CCString::createWithFormat("playerExplosion_02_%03d.png", i);
v65 = cocos2d::CCString::getCString(v64);
v68 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v67, v66);
v69 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v68, v65);
cocos2d::CCArray::addObject(v62, v69);
}
v70 = (float)((float)((float)rand() / 32767.0) * 0.0099999998) + 0.050000001;
v71 = cocos2d::CCAnimation::createWithSpriteFrames(v62, v70);
v72 = cocos2d::CCAnimate::create(v71);
v73 = cocos2d::CCCallFunc::create(v56, sub_14003F5B0);
v74 = cocos2d::CCSequence::create(v72, v73, 0);
cocos2d::CCNode::runAction(v56, v74);
v75 = v70 * 6.0;
v76 = cocos2d::CCDelayTime::create(v75);
v77 = cocos2d::CCFadeOut::create(v75);
v78 = cocos2d::CCSequence::create(v76, v77, 0);
cocos2d::CCNode::runAction(v56, v78);
v79 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v79 + 1528LL))(v79, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v79,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v79 + 1544LL))(v79, 1);
v80 = *(_QWORD *)v79;
v81 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v80 + 184))(v79, v81);
v82 = *(_QWORD *)v79;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836BC0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v82 + 1352))(v79, &si128);
v83 = *(_QWORD *)v79;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836BD0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v83 + 1384))(v79, &si128);
v84 = *(_QWORD *)v79;
v85 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v85;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v84 + 1368))(v79, &si128);
v86 = *(_QWORD *)v79;
si128 = v85;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v86 + 1400))(v79, &si128);
v87 = *(_QWORD *)v79;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v79 + 1048LL))(v79);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v87 + 1056))(v79);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v79 + 160LL))(v79);
v88 = *(_QWORD *)v79;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v79 + 1280LL))(v79);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v88 + 1288))(v79);
v89 = *(_QWORD *)v79;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v79 + 1312LL))(v79);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v89 + 1320))(v79);
cocos2d::CCParticleSystem::resetSystem(v79);
v93 = CCCircleWave::create(v91, v90, v92, 0, 1);
*((_WORD *)v93 + 170) = -131;
*((_BYTE *)v93 + 342) = -1;
v94 = *(_QWORD *)v93;
v95 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v94 + 184))(v93, v95);
*((_DWORD *)v93 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v93, 1000);
goto LABEL_20;
case 4:
v99 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v99 + 64LL))(v99, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v99);
v100 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_03_001.png");
v101 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v101 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v101 + 560) + 4296LL),
v100,
10000);
v102 = *(_QWORD *)v100;
v103 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v102 + 184))(v100, v103);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v100 + 160LL))(v100);
v104 = *(_QWORD *)v100;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v100 + 168LL))(v100);
(*(void (__fastcall **)(cocos2d::CCNode *))(v104 + 160))(v100);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v100 + 352LL))(v100);
v106 = (cocos2d::CCArray *)cocos2d::CCArray::create(v105);
for ( j = 1; j <= 10; ++j )
{
v108 = cocos2d::CCString::createWithFormat("playerExplosion_03_%03d.png", j);
v109 = cocos2d::CCString::getCString(v108);
v112 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v111, v110);
v113 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v112, v109);
cocos2d::CCArray::addObject(v106, v113);
}
v114 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.039999999;
v115 = cocos2d::CCAnimation::createWithSpriteFrames(v106, v114);
v116 = cocos2d::CCAnimate::create(v115);
v117 = cocos2d::CCCallFunc::create(v100, sub_14003F5B0);
v118 = cocos2d::CCSequence::create(v116, v117, 0);
cocos2d::CCNode::runAction(v100, v118);
v119 = cocos2d::CCDelayTime::create(v114 * 5.0);
v120 = cocos2d::CCFadeOut::create(v114 * 10.0);
v121 = cocos2d::CCSequence::create(v119, v120, 0);
cocos2d::CCNode::runAction(v100, v121);
v122 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v122 + 1528LL))(v122, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v122,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v122 + 1544LL))(v122, 1);
v123 = *(_QWORD *)v122;
v124 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v123 + 184))(v122, v124);
v125 = *(_QWORD *)v122;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A10);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v125 + 1352))(v122, &si128);
v126 = *(_QWORD *)v122;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A10);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v126 + 1384))(v122, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v122 + 1272LL))(v122, 0);
v127 = *(_QWORD *)v122;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836970);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v127 + 1368))(v122, &si128);
v128 = *(_QWORD *)v122;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836960);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v128 + 1400))(v122, &si128);
v129 = *(_QWORD *)v122;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v122 + 1048LL))(v122);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v129 + 1056))(v122);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v122 + 160LL))(v122);
cocos2d::CCParticleSystem::resetSystem(v122);
v133 = CCCircleWave::create(v131, v130, v132, 0, 1);
*((_WORD *)v133 + 170) = -106;
*((_BYTE *)v133 + 342) = 0;
v134 = *(_QWORD *)v133;
v135 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v134 + 184))(v133, v135);
*((_DWORD *)v133 + 90) = 1065353216;
*((_DWORD *)v133 + 89) = 10;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v133, 1000);
v49 = CCCircleWave::create(v137, v136, v138, 0, 1);
*((_WORD *)v49 + 170) = -256;
goto LABEL_15;
case 5:
v139 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v139 + 64LL))(v139, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v139);
v140 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_04_001.png");
v141 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v141 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v141 + 560) + 4296LL),
v140,
10000);
v142 = *(_QWORD *)v140;
v143 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v142 + 184))(v140, v143);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v140 + 160LL))(v140);
v144 = *(_QWORD *)v140;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v140 + 168LL))(v140);
(*(void (__fastcall **)(cocos2d::CCNode *))(v144 + 160))(v140);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v140 + 352LL))(v140);
v145 = (float)rand() / 32767.0;
v147 = (cocos2d::CCArray *)cocos2d::CCArray::create(v146);
v148 = (v145 <= 0.5) + 1;
do
{
v149 = cocos2d::CCString::createWithFormat("playerExplosion_04_%03d.png", v148);
v150 = cocos2d::CCString::getCString(v149);
v153 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v152, v151);
v154 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v153, v150);
cocos2d::CCArray::addObject(v147, v154);
++v148;
}
while ( v148 <= 9 );
v155 = (float)rand();
v156 = (float)((float)((float)((float)(v155 / 32767.0) + (float)(v155 / 32767.0)) - 1.0) * 0.0049999999)
+ 0.050000001;
v157 = cocos2d::CCAnimation::createWithSpriteFrames(v147, v156);
v158 = cocos2d::CCAnimate::create(v157);
v159 = cocos2d::CCCallFunc::create(v140, sub_14003F5B0);
v160 = cocos2d::CCSequence::create(v158, v159, 0);
cocos2d::CCNode::runAction(v140, v160);
v161 = cocos2d::CCDelayTime::create(v156 * 8.0);
v162 = cocos2d::CCFadeOut::create(v156 * 6.0);
v163 = cocos2d::CCSequence::create(v161, v162, 0);
cocos2d::CCNode::runAction(v140, v163);
v164 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v164 + 1528LL))(v164, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v164,
101);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v164 + 1544LL))(v164, 1);
v165 = *(_QWORD *)v164;
v166 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v165 + 184))(v164, v166);
v167 = *(_QWORD *)v164;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B90);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v167 + 1352))(v164, &si128);
v168 = *(_QWORD *)v164;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836AC0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v168 + 1384))(v164, &si128);
v169 = _mm_load_si128((const __m128i *)&xmmword_140836960);
v170 = *(_QWORD *)v164;
si128 = v169;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v170 + 1368))(v164, &si128);
v171 = *(_QWORD *)v164;
si128 = v169;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v171 + 1400))(v164, &si128);
v172 = *(_QWORD *)v164;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v164 + 1048LL))(v164);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v172 + 1056))(v164);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v164 + 160LL))(v164);
cocos2d::CCParticleSystem::resetSystem(v164);
v176 = CCCircleWave::create(v174, v173, v175, 0, 1);
*((_WORD *)v176 + 170) = 25855;
*((_BYTE *)v176 + 342) = -1;
v177 = *(_QWORD *)v176;
v178 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v177 + 184))(v176, v178);
*((_DWORD *)v176 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v176, 1000);
v49 = CCCircleWave::create(v180, v179, v181, 0, 1);
*((_WORD *)v49 + 170) = 255;
*((_BYTE *)v49 + 342) = -1;
goto LABEL_16;
case 6:
v182 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v182 + 64LL))(v182, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v182);
v183 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_05_001.png");
v184 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v184 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v184 + 560) + 4296LL),
v183,
10000);
v185 = *(_QWORD *)v183;
v186 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v185 + 184))(v183, v186);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v183 + 160LL))(v183);
v187 = *(_QWORD *)v183;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v183 + 168LL))(v183);
(*(void (__fastcall **)(cocos2d::CCNode *))(v187 + 160))(v183);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v183 + 352LL))(v183);
v189 = (cocos2d::CCArray *)cocos2d::CCArray::create(v188);
v190 = ((float)((float)rand() / 32767.0) <= 0.5) + 2;
do
{
v191 = cocos2d::CCString::createWithFormat("playerExplosion_05_%03d.png", v190);
v192 = cocos2d::CCString::getCString(v191);
v195 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v194, v193);
v196 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v195, v192);
cocos2d::CCArray::addObject(v189, v196);
++v190;
}
while ( v190 <= 10 );
v197 = (float)rand();
v198 = (float)((float)((float)((float)(v197 / 32767.0) + (float)(v197 / 32767.0)) - 1.0) * 0.0049999999)
+ 0.050000001;
v199 = cocos2d::CCAnimation::createWithSpriteFrames(v189, v198);
v200 = cocos2d::CCAnimate::create(v199);
v201 = cocos2d::CCCallFunc::create(v183, sub_14003F5B0);
v202 = cocos2d::CCSequence::create(v200, v201, 0);
cocos2d::CCNode::runAction(v183, v202);
v203 = v198 * 6.0;
v204 = cocos2d::CCDelayTime::create(v203);
v205 = cocos2d::CCFadeOut::create(v203);
v206 = cocos2d::CCSequence::create(v204, v205, 0);
cocos2d::CCNode::runAction(v183, v206);
v207 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v207 + 1528LL))(v207, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v207,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v207 + 1544LL))(v207, 1);
v208 = *(_QWORD *)v207;
v209 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v208 + 184))(v207, v209);
v210 = *(_QWORD *)v207;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A00);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v210 + 1352))(v207, &si128);
v211 = *(_QWORD *)v207;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369E0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v211 + 1384))(v207, &si128);
v212 = *(_QWORD *)v207;
v213 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v213;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v212 + 1368))(v207, &si128);
v214 = *(_QWORD *)v207;
si128 = v213;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v214 + 1400))(v207, &si128);
v215 = *(_QWORD *)v207;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v207 + 1048LL))(v207);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v215 + 1056))(v207);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v207 + 160LL))(v207);
v216 = *(_QWORD *)v207;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v207 + 1280LL))(v207);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v216 + 1288))(v207);
v217 = *(_QWORD *)v207;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v207 + 1312LL))(v207);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v217 + 1320))(v207);
cocos2d::CCParticleSystem::resetSystem(v207);
v221 = CCCircleWave::create(v219, v218, v220, 0, 1);
*((_WORD *)v221 + 170) = -14081;
*((_BYTE *)v221 + 342) = 0;
v222 = *(_QWORD *)v221;
v223 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v222 + 184))(v221, v223);
*((_DWORD *)v221 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v221, 1000);
v49 = CCCircleWave::create(v225, v224, v226, 0, 1);
*((_WORD *)v49 + 170) = -1;
goto LABEL_15;
case 7:
v227 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v227 + 64LL))(v227, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v227);
v228 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_06_001.png");
v229 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v229 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v229 + 560) + 4296LL),
v228,
10000);
rand();
v230 = *(_QWORD *)v228;
v231 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v230 + 184))(v228, v231);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v228 + 160LL))(v228);
v233 = (cocos2d::CCArray *)cocos2d::CCArray::create(v232);
for ( k = 1; k <= 13; ++k )
{
v235 = cocos2d::CCString::createWithFormat("playerExplosion_06_%03d.png", k);
v236 = cocos2d::CCString::getCString(v235);
v239 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v238, v237);
v240 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v239, v236);
cocos2d::CCArray::addObject(v233, v240);
}
v241 = cocos2d::CCAnimation::createWithSpriteFrames(v233, 0.055);
v242 = cocos2d::CCAnimate::create(v241);
v243 = cocos2d::CCCallFunc::create(v228, sub_14003F5B0);
v244 = cocos2d::CCSequence::create(v242, v243, 0);
cocos2d::CCNode::runAction(v228, v244);
v245 = cocos2d::CCDelayTime::create(0.44);
v246 = cocos2d::CCFadeOut::create(0.32999998);
v247 = cocos2d::CCSequence::create(v245, v246, 0);
cocos2d::CCNode::runAction(v228, v247);
v248 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v248 + 1528LL))(v248, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v248,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v248 + 1544LL))(v248, 1);
v249 = *(_QWORD *)v248;
v250 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v249 + 184))(v248, v250);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v248 + 1016LL))(v248);
v251 = *(_QWORD *)v248;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A00);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v251 + 1352))(v248, &si128);
v252 = *(_QWORD *)v248;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369B0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v252 + 1384))(v248, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v248 + 1272LL))(v248, 0);
v253 = *(_QWORD *)v248;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369A0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v253 + 1368))(v248, &si128);
v254 = *(_QWORD *)v248;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836960);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v254 + 1400))(v248, &si128);
v255 = *(_QWORD *)v248;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v248 + 1048LL))(v248);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v255 + 1056))(v248);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v248 + 160LL))(v248);
cocos2d::CCParticleSystem::resetSystem(v248);
v259 = CCCircleWave::create(v257, v256, v258, 0, 1);
*((_WORD *)v259 + 170) = -14081;
*((_BYTE *)v259 + 342) = 0;
v260 = *(_QWORD *)v259;
v261 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v260 + 184))(v259, v261);
v262 = 1000;
goto LABEL_33;
case 8:
v263 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v263 + 64LL))(v263, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v263);
v264 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_07_001.png");
v265 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v265 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v265 + 560) + 4296LL),
v264,
10000);
rand();
v266 = *(_QWORD *)v264;
v267 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v266 + 184))(v264, v267);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v264 + 160LL))(v264);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v264 + 352LL))(v264);
v269 = (cocos2d::CCArray *)cocos2d::CCArray::create(v268);
v270 = ((float)((float)rand() / 32767.0) <= 0.5) + 1;
do
{
v271 = cocos2d::CCString::createWithFormat("playerExplosion_07_%03d.png", v270);
v272 = cocos2d::CCString::getCString(v271);
v275 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v274, v273);
v276 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v275, v272);
cocos2d::CCArray::addObject(v269, v276);
++v270;
}
while ( v270 <= 11 );
v277 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.039999999;
v278 = cocos2d::CCAnimation::createWithSpriteFrames(v269, v277);
v279 = cocos2d::CCAnimate::create(v278);
v280 = cocos2d::CCCallFunc::create(v264, sub_14003F5B0);
v281 = cocos2d::CCSequence::create(v279, v280, 0);
cocos2d::CCNode::runAction(v264, v281);
v282 = v277 * 6.0;
v283 = cocos2d::CCDelayTime::create(v282);
v284 = cocos2d::CCFadeOut::create(v282);
v285 = cocos2d::CCSequence::create(v283, v284, 0);
cocos2d::CCNode::runAction(v264, v285);
v286 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v286 + 1528LL))(v286, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v286,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v286 + 1544LL))(v286, 1);
v287 = *(_QWORD *)v286;
v288 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v287 + 184))(v286, v288);
v289 = *(_QWORD *)v286;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B40);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v289 + 1352))(v286, &si128);
v290 = *(_QWORD *)v286;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B10);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v290 + 1384))(v286, &si128);
v291 = *(_QWORD *)v286;
v292 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v292;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v291 + 1368))(v286, &si128);
v293 = *(_QWORD *)v286;
si128 = v292;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v293 + 1400))(v286, &si128);
v294 = *(_QWORD *)v286;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v286 + 1048LL))(v286);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v294 + 1056))(v286);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v286 + 160LL))(v286);
v295 = *(_QWORD *)v286;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v286 + 1280LL))(v286);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v295 + 1288))(v286);
v296 = *(_QWORD *)v286;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v286 + 1312LL))(v286);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v296 + 1320))(v286);
cocos2d::CCParticleSystem::resetSystem(v286);
v300 = CCCircleWave::create(v298, v297, v299, 0, 1);
*((_WORD *)v300 + 170) = 255;
*((_BYTE *)v300 + 342) = -1;
v301 = *(_QWORD *)v300;
v302 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v301 + 184))(v300, v302);
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v300, 1000);
v49 = CCCircleWave::create(v304, v303, v305, 0, 1);
*((_WORD *)v49 + 170) = 255;
*((_BYTE *)v49 + 342) = -56;
goto LABEL_16;
case 9:
v306 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v306 + 64LL))(v306, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v306);
v307 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_08_001.png");
v308 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v308 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v308 + 560) + 4296LL),
v307,
10000);
v825[0] = 0x100000302LL;
(**((void (__fastcall ***)(__int64, __int64))v307 + 43))((__int64)v307 + 344, 0x100000302LL);
rand();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&si128, 0.0, 6.0);
v310 = v309;
v311 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
cocos2d::CCPoint::operator+(v311, v825, v310);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD *))(*(_QWORD *)v307 + 184LL))(v307, v825);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v307 + 160LL))(v307);
v312 = *(_QWORD *)v307;
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(v312 + 352))(v307);
v314 = (cocos2d::CCArray *)cocos2d::CCArray::create(v313);
rand();
for ( m = 2; m <= 11; ++m )
{
v316 = cocos2d::CCString::createWithFormat("playerExplosion_08_%03d.png", m);
v317 = cocos2d::CCString::getCString(v316);
v320 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v319, v318);
v321 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v320, v317);
cocos2d::CCArray::addObject(v314, v321);
}
v322 = (float)((float)((float)rand() / 32767.0) * 0.0099999998) + 0.045000002;
v323 = cocos2d::CCAnimation::createWithSpriteFrames(v314, v322);
v324 = cocos2d::CCAnimate::create(v323);
v325 = cocos2d::CCCallFunc::create(v307, sub_14003F5B0);
v326 = cocos2d::CCSequence::create(v324, v325, 0);
cocos2d::CCNode::runAction(v307, v326);
v327 = cocos2d::CCDelayTime::create(v322 * 5.0);
v328 = cocos2d::CCFadeOut::create(v322 * 8.0);
v329 = cocos2d::CCSequence::create(v327, v328, 0);
cocos2d::CCNode::runAction(v307, v329);
v330 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v330 + 1528LL))(v330, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v330,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v330 + 1544LL))(v330, 1);
v331 = *(_QWORD *)v330;
v332 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v331 + 184))(v330, v332);
v333 = *(_QWORD *)v330;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836BD0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v333 + 1352))(v330, &si128);
v334 = *(_QWORD *)v330;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836BB0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v334 + 1384))(v330, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v330 + 1272LL))(v330, 1);
v335 = _mm_load_si128((const __m128i *)&xmmword_140836960);
v336 = *(_QWORD *)v330;
si128 = v335;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v336 + 1368))(v330, &si128);
v337 = *(_QWORD *)v330;
si128 = v335;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v337 + 1400))(v330, &si128);
v338 = *(_QWORD *)v330;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v330 + 1048LL))(v330);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v338 + 1056))(v330);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v330 + 160LL))(v330);
v339 = (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v330 + 944LL))(v330);
cocos2d::CCPoint::operator*(v339, v825);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD *))(*(_QWORD *)v330 + 952LL))(v330, v825);
v340 = *(_QWORD *)v330;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v330 + 1280LL))(v330);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v340 + 1288))(v330);
v341 = *(_QWORD *)v330;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v330 + 1312LL))(v330);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v341 + 1320))(v330);
cocos2d::CCParticleSystem::resetSystem(v330);
v345 = CCCircleWave::create(v343, v342, v344, 0, 1);
*((_WORD *)v345 + 170) = -181;
*((_BYTE *)v345 + 342) = -1;
v346 = *(_QWORD *)v345;
v347 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v346 + 184))(v345, v347);
*((_DWORD *)v345 + 90) = 1061997773;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v345, 1000);
v351 = CCCircleWave::create(v349, v348, v350, 0, 1);
*((_WORD *)v351 + 170) = -256;
goto LABEL_40;
case 10:
v355 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v355 + 64LL))(v355, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v355);
v356 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_09_001.png");
v357 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v357 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v357 + 560) + 4296LL),
v356,
10000);
v358 = *(_QWORD *)v356;
v359 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v358 + 184))(v356, v359);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v356 + 160LL))(v356);
v360 = *(_QWORD *)v356;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v356 + 168LL))(v356);
(*(void (__fastcall **)(cocos2d::CCNode *))(v360 + 160))(v356);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v356 + 352LL))(v356);
v362 = (cocos2d::CCArray *)cocos2d::CCArray::create(v361);
for ( n = 2; n <= 13; ++n )
{
v364 = cocos2d::CCString::createWithFormat("playerExplosion_09_%03d.png", n);
v365 = cocos2d::CCString::getCString(v364);
v368 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v367, v366);
v369 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v368, v365);
cocos2d::CCArray::addObject(v362, v369);
}
v370 = (float)rand();
v371 = (float)((float)((float)((float)(v370 / 32767.0) + (float)(v370 / 32767.0)) - 1.0) * 0.0049999999)
+ 0.045000002;
v372 = cocos2d::CCAnimation::createWithSpriteFrames(v362, v371);
v373 = cocos2d::CCAnimate::create(v372);
v374 = cocos2d::CCCallFunc::create(v356, sub_14003F5B0);
v375 = cocos2d::CCSequence::create(v373, v374, 0);
cocos2d::CCNode::runAction(v356, v375);
v376 = cocos2d::CCDelayTime::create(v371 * 10.0);
v377 = cocos2d::CCFadeOut::create(v371 * 3.0);
v378 = cocos2d::CCSequence::create(v376, v377, 0);
cocos2d::CCNode::runAction(v356, v378);
v379 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v379 + 1528LL))(v379, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v379,
101);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v379 + 1544LL))(v379, 1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v379 + 1272LL))(v379, 1);
v380 = *(_QWORD *)v379;
v381 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v380 + 184))(v379, v381);
v382 = *(_QWORD *)v379;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836C10);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v382 + 1352))(v379, &si128);
v383 = *(_QWORD *)v379;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B80);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v383 + 1384))(v379, &si128);
v384 = *(_QWORD *)v379;
v385 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v385;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v384 + 1368))(v379, &si128);
v386 = *(_QWORD *)v379;
si128 = v385;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v386 + 1400))(v379, &si128);
v387 = *(_QWORD *)v379;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v379 + 1048LL))(v379);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v387 + 1056))(v379);
v388 = *(_QWORD *)v379;
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v356 + 168LL))(v356);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v388 + 160))(v379);
v389 = *(_QWORD *)v379;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v379 + 1280LL))(v379);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v389 + 1288))(v379);
v390 = *(_QWORD *)v379;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v379 + 1312LL))(v379);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v390 + 1320))(v379);
cocos2d::CCParticleSystem::resetSystem(v379);
v394 = CCCircleWave::create(v392, v391, v393, 0, 1);
*((_WORD *)v394 + 170) = -14336;
*((_BYTE *)v394 + 342) = -1;
v395 = *(_QWORD *)v394;
v396 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v395 + 184))(v394, v396);
*((_DWORD *)v394 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v394, 1000);
goto LABEL_20;
case 11:
v397 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v397 + 64LL))(v397, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v397);
v398 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_10_001.png");
v399 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v399 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v399 + 560) + 4296LL),
v398,
10000);
v825[0] = 0x100000302LL;
(**((void (__fastcall ***)(__int64, __int64))v398 + 43))((__int64)v398 + 344, 0x100000302LL);
rand();
v400 = *(_QWORD *)v398;
v401 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v400 + 184))(v398, v401);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v398 + 160LL))(v398);
v403 = (cocos2d::CCArray *)cocos2d::CCArray::create(v402);
for ( ii = 1; ii <= 12; ++ii )
{
v405 = cocos2d::CCString::createWithFormat("playerExplosion_10_%03d.png", ii);
v406 = cocos2d::CCString::getCString(v405);
v409 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v408, v407);
v410 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v409, v406);
cocos2d::CCArray::addObject(v403, v410);
}
v411 = (float)rand();
v412 = (float)((float)((float)((float)(v411 / 32767.0) + (float)(v411 / 32767.0)) - 1.0) * 0.0049999999) + 0.035;
v413 = cocos2d::CCAnimation::createWithSpriteFrames(v403, v412);
v414 = cocos2d::CCAnimate::create(v413);
v415 = cocos2d::CCCallFunc::create(v398, sub_14003F5B0);
v416 = cocos2d::CCSequence::create(v414, v415, 0);
cocos2d::CCNode::runAction(v398, v416);
v417 = cocos2d::CCDelayTime::create(v412 * 7.0);
v418 = cocos2d::CCFadeOut::create(v412 * 6.0);
v419 = cocos2d::CCSequence::create(v417, v418, 0);
cocos2d::CCNode::runAction(v398, v419);
v420 = cocos2d::CCTintTo::create(v412 + v412, *((_BYTE *)a1 + 2706), *((_BYTE *)a1 + 2707), *((_BYTE *)a1 + 2708));
v421 = cocos2d::CCTintTo::create(v412 * 8.0, *((_BYTE *)a1 + 2709), *((_BYTE *)a1 + 2710), *((_BYTE *)a1 + 2711));
v422 = cocos2d::CCSequence::create(v420, v421, 0);
cocos2d::CCNode::runAction(v398, v422);
v423 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v423 + 1528LL))(v423, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v423,
101);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v423 + 1544LL))(v423, 1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v423 + 1272LL))(v423, 1);
v424 = *(_QWORD *)v423;
v425 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v424 + 184))(v423, v425);
v826 = *((_WORD *)a1 + 1353);
*(float *)si128.m128i_i32 = (float)(unsigned __int8)v826 / 255.0;
v426 = *(_QWORD *)v423;
*(float *)&v427 = (float)*((unsigned __int8 *)a1 + 2708) / 255.0;
*(float *)&si128.m128i_i32[1] = (float)HIBYTE(v826) / 255.0;
si128.m128i_i64[1] = v427 | 0x3F80000000000000LL;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v426 + 1352))(v423, &si128);
v826 = *(_WORD *)((char *)a1 + 2709);
si128.m128i_i32[3] = 1065353216;
v428 = *((unsigned __int8 *)a1 + 2711);
*(float *)si128.m128i_i32 = (float)(unsigned __int8)v826 / 255.0;
v429 = _mm_cvtsi32_si128(v428);
v430 = *(_QWORD *)v423;
*(float *)&si128.m128i_i32[1] = (float)HIBYTE(v826) / 255.0;
*(float *)&si128.m128i_i32[2] = _mm_cvtepi32_ps(v429).m128_f32[0] / 255.0;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v430 + 1384))(v423, &si128);
v431 = *(_QWORD *)v423;
v432 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v432;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v431 + 1368))(v423, &si128);
v433 = *(_QWORD *)v423;
si128 = v432;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v433 + 1400))(v423, &si128);
v434 = *(_QWORD *)v423;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v423 + 1048LL))(v423);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v434 + 1056))(v423);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v423 + 160LL))(v423);
v435 = *(_QWORD *)v423;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v423 + 1280LL))(v423);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v435 + 1288))(v423);
v436 = *(_QWORD *)v423;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v423 + 1312LL))(v423);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v436 + 1320))(v423);
cocos2d::CCParticleSystem::resetSystem(v423);
v440 = CCCircleWave::create(v438, v437, v439, 0, 1);
v441 = *(_QWORD *)v440;
*((_WORD *)v440 + 170) = *((_WORD *)a1 + 1353);
*((_BYTE *)v440 + 342) = *((_BYTE *)a1 + 2708);
v442 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v441 + 184))(v440, v442);
*((_DWORD *)v440 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v440, 1000);
v49 = CCCircleWave::create(v444, v443, v445, 0, 1);
*((_WORD *)v49 + 170) = *((_WORD *)a1 + 1353);
*((_BYTE *)v49 + 342) = *((_BYTE *)a1 + 2708);
goto LABEL_16;
case 12:
v446 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v446 + 64LL))(v446, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v446);
v447 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_11_001.png");
v448 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v448 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v448 + 560) + 4296LL),
v447,
10000);
rand();
v449 = *(_QWORD *)v447;
v450 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v449 + 184))(v447, v450);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v447 + 160LL))(v447);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v447 + 352LL))(v447);
v452 = (cocos2d::CCArray *)cocos2d::CCArray::create(v451);
for ( jj = 1; jj <= 12; ++jj )
{
v454 = cocos2d::CCString::createWithFormat("playerExplosion_11_%03d.png", jj);
v455 = cocos2d::CCString::getCString(v454);
v458 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v457, v456);
v459 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v458, v455);
cocos2d::CCArray::addObject(v452, v459);
}
v460 = (float)rand();
v461 = (float)((float)((float)((float)(v460 / 32767.0) + (float)(v460 / 32767.0)) - 1.0) * 0.0049999999)
+ 0.039999999;
v462 = cocos2d::CCAnimation::createWithSpriteFrames(v452, v461);
v463 = cocos2d::CCAnimate::create(v462);
v464 = cocos2d::CCCallFunc::create(v447, sub_14003F5B0);
v465 = cocos2d::CCSequence::create(v463, v464, 0);
cocos2d::CCNode::runAction(v447, v465);
v466 = cocos2d::CCDelayTime::create(v461 * 7.0);
v467 = cocos2d::CCFadeOut::create(v461 * 6.0);
cocos2d::CCSequence::create(v466, v467, 0);
v468 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v468 + 1528LL))(v468, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v468,
101);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v468 + 1544LL))(v468, 1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v468 + 1272LL))(v468, 1);
v469 = *(_QWORD *)v468;
v470 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v469 + 184))(v468, v470);
v471 = *(_QWORD *)v468;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A20);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v471 + 1352))(v468, &si128);
v472 = *(_QWORD *)v468;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836990);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v472 + 1384))(v468, &si128);
v473 = _mm_load_si128((const __m128i *)&xmmword_140836960);
v474 = *(_QWORD *)v468;
si128 = v473;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v474 + 1368))(v468, &si128);
v475 = *(_QWORD *)v468;
si128 = v473;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v475 + 1400))(v468, &si128);
v476 = *(_QWORD *)v468;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v468 + 1048LL))(v468);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v476 + 1056))(v468);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v468 + 160LL))(v468);
v477 = *(_QWORD *)v468;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v468 + 1280LL))(v468);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v477 + 1288))(v468);
v478 = *(_QWORD *)v468;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v468 + 1312LL))(v468);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v478 + 1320))(v468);
cocos2d::CCParticleSystem::resetSystem(v468);
v482 = CCCircleWave::create(v480, v479, v481, 0, 1);
*((_WORD *)v482 + 170) = 25855;
*((_BYTE *)v482 + 342) = 0;
v483 = *(_QWORD *)v482;
v484 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v483 + 184))(v482, v484);
*((_DWORD *)v482 + 90) = 1061997773;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v482, 1000);
v49 = CCCircleWave::create(v486, v485, v487, 0, 1);
*((_WORD *)v49 + 170) = -20481;
goto LABEL_15;
case 13:
v488 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v488 + 64LL))(v488, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v488);
v489 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_12_001.png");
v490 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v490 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v490 + 560) + 4296LL),
v489,
10000);
rand();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&si128, 0.0, 6.0);
v492 = v491;
v493 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
cocos2d::CCPoint::operator+(v493, v825, v492);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD *))(*(_QWORD *)v489 + 184LL))(v489, v825);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v489 + 160LL))(v489);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v489 + 352LL))(v489);
v495 = (cocos2d::CCArray *)cocos2d::CCArray::create(v494);
for ( kk = 1; kk <= 12; ++kk )
{
v497 = cocos2d::CCString::createWithFormat("playerExplosion_12_%03d.png", kk);
v498 = cocos2d::CCString::getCString(v497);
v501 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v500, v499);
v502 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v501, v498);
cocos2d::CCArray::addObject(v495, v502);
}
v503 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.039999999;
v504 = cocos2d::CCAnimation::createWithSpriteFrames(v495, v503);
v505 = cocos2d::CCAnimate::create(v504);
v506 = cocos2d::CCCallFunc::create(v489, sub_14003F5B0);
v507 = cocos2d::CCSequence::create(v505, v506, 0);
cocos2d::CCNode::runAction(v489, v507);
v508 = cocos2d::CCDelayTime::create(v503 * 5.0);
v509 = cocos2d::CCFadeOut::create(v503 * 8.0);
cocos2d::CCSequence::create(v508, v509, 0);
v510 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v510 + 1528LL))(v510, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v510,
1000);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v510 + 1544LL))(v510, 1);
v511 = *(_QWORD *)v510;
v512 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v511 + 184))(v510, v512);
v513 = *(_QWORD *)v510;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A20);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v513 + 1352))(v510, &si128);
v514 = *(_QWORD *)v510;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A10);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v514 + 1384))(v510, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v510 + 1272LL))(v510, 1);
v515 = *(_QWORD *)v510;
v516 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v516;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v515 + 1368))(v510, &si128);
v517 = *(_QWORD *)v510;
si128 = v516;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v517 + 1400))(v510, &si128);
v518 = *(_QWORD *)v510;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v510 + 1048LL))(v510);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v518 + 1056))(v510);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v510 + 160LL))(v510);
v519 = (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v510 + 944LL))(v510);
cocos2d::CCPoint::operator*(v519, v825);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD *))(*(_QWORD *)v510 + 952LL))(v510, v825);
v520 = *(_QWORD *)v510;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v510 + 1280LL))(v510);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v520 + 1288))(v510);
v521 = *(_QWORD *)v510;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v510 + 1312LL))(v510);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v521 + 1320))(v510);
cocos2d::CCParticleSystem::resetSystem(v510);
v525 = CCCircleWave::create(v523, v522, v524, 0, 1);
*((_WORD *)v525 + 170) = -206;
*((_BYTE *)v525 + 342) = 50;
v526 = *(_QWORD *)v525;
v527 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v526 + 184))(v525, v527);
*((_DWORD *)v525 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v525, 1000);
v351 = CCCircleWave::create(v529, v528, v530, 0, 1);
*((_WORD *)v351 + 170) = -256;
*((_BYTE *)v351 + 342) = 0;
goto LABEL_41;
case 14:
v531 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v531 + 64LL))(v531, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v531);
v532 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_13_001.png");
v533 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v533 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v533 + 560) + 4296LL),
v532,
10000);
v825[0] = 0x100000302LL;
(**((void (__fastcall ***)(__int64, __int64))v532 + 43))((__int64)v532 + 344, 0x100000302LL);
rand();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&si128, 0.0, 6.0);
v535 = v534;
v536 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
cocos2d::CCPoint::operator+(v536, v825, v535);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD *))(*(_QWORD *)v532 + 184LL))(v532, v825);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v532 + 160LL))(v532);
if ( (float)((float)rand() / 32767.0) < 0.25
|| (float)((float)rand() / 32767.0) < 0.25
|| (float)((float)rand() / 32767.0) < 0.25 )
{
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v532 + 352LL))(v532);
}
v538 = (cocos2d::CCArray *)cocos2d::CCArray::create(v537);
for ( mm = 3; mm <= 12; ++mm )
{
v540 = cocos2d::CCString::createWithFormat("playerExplosion_13_%03d.png", mm);
v541 = cocos2d::CCString::getCString(v540);
v544 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v543, v542);
v545 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v544, v541);
cocos2d::CCArray::addObject(v538, v545);
}
v546 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.045000002;
v547 = cocos2d::CCAnimation::createWithSpriteFrames(v538, v546);
v548 = cocos2d::CCAnimate::create(v547);
v549 = cocos2d::CCCallFunc::create(v532, sub_14003F5B0);
v550 = cocos2d::CCSequence::create(v548, v549, 0);
cocos2d::CCNode::runAction(v532, v550);
v551 = cocos2d::CCDelayTime::create(v546 * 5.0);
v552 = cocos2d::CCFadeOut::create(v546 * 8.0);
cocos2d::CCSequence::create(v551, v552, 0);
v553 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v553 + 1528LL))(v553, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v553,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v553 + 1544LL))(v553, 1);
v554 = *(_QWORD *)v553;
v555 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v554 + 184))(v553, v555);
v556 = *(_QWORD *)v553;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B40);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v556 + 1352))(v553, &si128);
v557 = *(_QWORD *)v553;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B20);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v557 + 1384))(v553, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v553 + 1272LL))(v553, 1);
v558 = *(_QWORD *)v553;
v559 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v559;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v558 + 1368))(v553, &si128);
v560 = *(_QWORD *)v553;
si128 = v559;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v560 + 1400))(v553, &si128);
v561 = *(_QWORD *)v553;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v553 + 1048LL))(v553);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v561 + 1056))(v553);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v553 + 160LL))(v553);
v562 = (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v553 + 944LL))(v553);
cocos2d::CCPoint::operator*(v562, v825);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD *))(*(_QWORD *)v553 + 952LL))(v553, v825);
v563 = *(_QWORD *)v553;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v553 + 1280LL))(v553);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v563 + 1288))(v553);
v564 = *(_QWORD *)v553;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v553 + 1312LL))(v553);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v564 + 1320))(v553);
cocos2d::CCParticleSystem::resetSystem(v553);
v568 = CCCircleWave::create(v566, v565, v567, 0, 1);
*((_WORD *)v568 + 170) = -14336;
*((_BYTE *)v568 + 342) = -1;
v569 = *(_QWORD *)v568;
v570 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v569 + 184))(v568, v570);
*((_DWORD *)v568 + 90) = 1061997773;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v568, 1000);
v574 = CCCircleWave::create(v572, v571, v573, 0, 1);
*((_WORD *)v574 + 170) = -27136;
*((_BYTE *)v574 + 342) = -1;
v575 = *(_QWORD *)v574;
v576 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v575 + 184))(v574, v576);
*((_DWORD *)v574 + 88) = 1;
*((_DWORD *)v574 + 89) = 10;
goto LABEL_61;
case 15:
v577 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v577 + 64LL))(v577, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v577);
v578 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_14_002.png");
v579 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v579 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v579 + 560) + 4296LL),
v578,
10000);
v825[0] = 0x100000302LL;
(**((void (__fastcall ***)(__int64, __int64))v578 + 43))((__int64)v578 + 344, 0x100000302LL);
rand();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&si128, 0.0, 6.0);
v581 = v580;
v582 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
cocos2d::CCPoint::operator+(v582, v825, v581);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD *))(*(_QWORD *)v578 + 184LL))(v578, v825);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v578 + 160LL))(v578);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v578 + 352LL))(v578);
v584 = (cocos2d::CCArray *)cocos2d::CCArray::create(v583);
for ( nn = 3; nn <= 15; ++nn )
{
v586 = cocos2d::CCString::createWithFormat("playerExplosion_14_%03d.png", nn);
v587 = cocos2d::CCString::getCString(v586);
v590 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v589, v588);
v591 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v590, v587);
cocos2d::CCArray::addObject(v584, v591);
}
v592 = (float)((float)((float)rand() / 32767.0) * 0.0040000002) + 0.033;
v593 = cocos2d::CCAnimation::createWithSpriteFrames(v584, v592);
v594 = cocos2d::CCAnimate::create(v593);
v595 = cocos2d::CCCallFunc::create(v578, sub_14003F5B0);
v596 = cocos2d::CCSequence::create(v594, v595, 0);
cocos2d::CCNode::runAction(v578, v596);
v597 = cocos2d::CCDelayTime::create(v592 * 5.0);
v598 = cocos2d::CCFadeOut::create(v592 * 8.0);
cocos2d::CCSequence::create(v597, v598, 0);
v599 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v599 + 1528LL))(v599, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v599,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v599 + 1544LL))(v599, 1);
v600 = *(_QWORD *)v599;
v601 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v600 + 184))(v599, v601);
v602 = *(_QWORD *)v599;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836BD0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v602 + 1352))(v599, &si128);
v603 = *(_QWORD *)v599;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A90);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v603 + 1384))(v599, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v599 + 1272LL))(v599, 1);
v604 = *(_QWORD *)v599;
v605 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v605;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v604 + 1368))(v599, &si128);
v606 = *(_QWORD *)v599;
si128 = v605;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v606 + 1400))(v599, &si128);
v607 = *(_QWORD *)v599;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v599 + 1048LL))(v599);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v607 + 1056))(v599);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v599 + 160LL))(v599);
v608 = (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v599 + 944LL))(v599);
cocos2d::CCPoint::operator*(v608, v825);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD *))(*(_QWORD *)v599 + 952LL))(v599, v825);
v609 = *(_QWORD *)v599;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v599 + 1280LL))(v599);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v609 + 1288))(v599);
v610 = *(_QWORD *)v599;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v599 + 1312LL))(v599);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v610 + 1320))(v599);
cocos2d::CCParticleSystem::resetSystem(v599);
v614 = CCCircleWave::create(v612, v611, v613, 0, 1);
*((_WORD *)v614 + 170) = -14336;
*((_BYTE *)v614 + 342) = -1;
v615 = *(_QWORD *)v614;
v616 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v615 + 184))(v614, v616);
*((_DWORD *)v614 + 90) = 1061997773;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v614, 1000);
v351 = CCCircleWave::create(v618, v617, v619, 0, 1);
*((_WORD *)v351 + 170) = -27136;
LABEL_40:
*((_BYTE *)v351 + 342) = -1;
LABEL_41:
v352 = v351;
v353 = *(_QWORD *)v351;
v354 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v353 + 184))(v352, v354);
*((_DWORD *)v352 + 88) = 1;
*((_DWORD *)v352 + 89) = 10;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v352, 99);
goto LABEL_84;
case 16:
v620 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v620 + 64LL))(v620, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v620);
v621 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_15_001.png");
v622 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v622 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v622 + 560) + 4296LL),
v621,
10000);
rand();
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&si128, 0.0, 6.0);
v624 = v623;
v625 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
cocos2d::CCPoint::operator+(v625, v825, v624);
(*(void (__fastcall **)(cocos2d::CCNode *, _QWORD *))(*(_QWORD *)v621 + 184LL))(v621, v825);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v621 + 160LL))(v621);
v626 = *(_QWORD *)v621;
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(v626 + 352))(v621);
v628 = (cocos2d::CCArray *)cocos2d::CCArray::create(v627);
for ( i1 = 2; i1 <= 16; ++i1 )
{
v630 = cocos2d::CCString::createWithFormat("playerExplosion_15_%03d.png", i1);
v631 = cocos2d::CCString::getCString(v630);
v634 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v633, v632);
v635 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v634, v631);
cocos2d::CCArray::addObject(v628, v635);
}
v636 = (float)((float)((float)rand() / 32767.0) * 0.0040000002) + 0.039999999;
v637 = cocos2d::CCAnimation::createWithSpriteFrames(v628, v636);
v638 = cocos2d::CCAnimate::create(v637);
v639 = cocos2d::CCCallFunc::create(v621, sub_14003F5B0);
v640 = cocos2d::CCSequence::create(v638, v639, 0);
cocos2d::CCNode::runAction(v621, v640);
v641 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v641 + 1528LL))(v641, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v641,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v641 + 1544LL))(v641, 1);
v642 = *(_QWORD *)v641;
v643 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v642 + 184))(v641, v643);
v644 = *(_QWORD *)v641;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836C00);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v644 + 1352))(v641, &si128);
v645 = *(_QWORD *)v641;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B20);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v645 + 1384))(v641, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v641 + 1272LL))(v641, 1);
v646 = *(_QWORD *)v641;
v647 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v647;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v646 + 1368))(v641, &si128);
v648 = *(_QWORD *)v641;
si128 = v647;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v648 + 1400))(v641, &si128);
v649 = *(_QWORD *)v641;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v641 + 1048LL))(v641);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v649 + 1056))(v641);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v641 + 160LL))(v641);
v650 = (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v641 + 944LL))(v641);
cocos2d::CCPoint::operator*(v650, v825);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD *))(*(_QWORD *)v641 + 952LL))(v641, v825);
v651 = *(_QWORD *)v641;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v641 + 1280LL))(v641);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v651 + 1288))(v641);
v652 = *(_QWORD *)v641;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v641 + 1312LL))(v641);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v652 + 1320))(v641);
cocos2d::CCParticleSystem::resetSystem(v641);
v656 = CCCircleWave::create(v654, v653, v655, 0, 1);
*((_WORD *)v656 + 170) = 25600;
*((_BYTE *)v656 + 342) = -1;
v657 = *(_QWORD *)v656;
v658 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v657 + 184))(v656, v658);
*((_DWORD *)v656 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v656, 1000);
v574 = CCCircleWave::create(v660, v659, v661, 0, 1);
*((_WORD *)v574 + 170) = 25600;
*((_BYTE *)v574 + 342) = -1;
v662 = *(_QWORD *)v574;
v663 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v662 + 184))(v574, v663);
*((_DWORD *)v574 + 90) = 1065353216;
LABEL_61:
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v574, 99);
goto LABEL_84;
case 17:
v664 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v664 + 64LL))(v664, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v664);
v665 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_16_002.png");
v666 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v666 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v666 + 560) + 4296LL),
v665,
10000);
rand();
v667 = *(_QWORD *)v665;
v668 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v667 + 184))(v665, v668);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v665 + 160LL))(v665);
v670 = (cocos2d::CCArray *)cocos2d::CCArray::create(v669);
for ( i2 = 2; i2 <= 19; ++i2 )
{
v672 = cocos2d::CCString::createWithFormat("playerExplosion_16_%03d.png", i2);
v673 = cocos2d::CCString::getCString(v672);
v676 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v675, v674);
v677 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v676, v673);
cocos2d::CCArray::addObject(v670, v677);
}
v678 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.039999999;
v679 = cocos2d::CCAnimation::createWithSpriteFrames(v670, v678);
v680 = cocos2d::CCAnimate::create(v679);
v681 = cocos2d::CCCallFunc::create(v665, sub_14003F5B0);
v682 = cocos2d::CCSequence::create(v680, v681, 0);
cocos2d::CCNode::runAction(v665, v682);
v683 = cocos2d::CCDelayTime::create(v678 * 12.0);
v684 = v678 * 6.0;
goto LABEL_71;
case 18:
v701 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v701 + 64LL))(v701, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v701);
v702 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_17_002.png");
v703 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v703 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v703 + 560) + 4296LL),
v702,
10000);
v825[0] = 0x100000302LL;
(**((void (__fastcall ***)(__int64, __int64))v702 + 43))((__int64)v702 + 344, 0x100000302LL);
rand();
v704 = *(_QWORD *)v702;
v705 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v704 + 184))(v702, v705);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v702 + 160LL))(v702);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v702 + 352LL))(v702);
v707 = (cocos2d::CCArray *)cocos2d::CCArray::create(v706);
for ( i3 = 2; i3 <= 15; ++i3 )
{
v709 = cocos2d::CCString::createWithFormat("playerExplosion_17_%03d.png", i3);
v710 = cocos2d::CCString::getCString(v709);
v713 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v712, v711);
v714 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v713, v710);
cocos2d::CCArray::addObject(v707, v714);
}
v715 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.035;
v716 = cocos2d::CCAnimation::createWithSpriteFrames(v707, v715);
v717 = cocos2d::CCAnimate::create(v716);
v718 = cocos2d::CCCallFunc::create(v702, sub_14003F5B0);
v719 = cocos2d::CCSequence::create(v717, v718, 0);
cocos2d::CCNode::runAction(v702, v719);
v720 = cocos2d::CCDelayTime::create(v715 * 12.0);
v721 = cocos2d::CCFadeOut::create(v715 * 6.0);
v722 = cocos2d::CCSequence::create(v720, v721, 0);
cocos2d::CCNode::runAction(v702, v722);
v723 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v723 + 1528LL))(v723, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v723,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v723 + 1544LL))(v723, 1);
v724 = *(_QWORD *)v723;
v725 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v724 + 184))(v723, v725);
v726 = *(_QWORD *)v723;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836C20);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v726 + 1352))(v723, &si128);
v727 = *(_QWORD *)v723;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836B80);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v727 + 1384))(v723, &si128);
v728 = *(_QWORD *)v723;
v729 = _mm_load_si128((const __m128i *)&xmmword_140836960);
si128 = v729;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v728 + 1368))(v723, &si128);
si128 = v729;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(*(_QWORD *)v723 + 1400LL))(v723, &si128);
v730 = *(_QWORD *)v723;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v723 + 1048LL))(v723);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v730 + 1056))(v723);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v723 + 160LL))(v723);
v731 = *(_QWORD *)v723;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v723 + 1280LL))(v723);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v731 + 1288))(v723);
v732 = *(_QWORD *)v723;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v723 + 1312LL))(v723);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v732 + 1320))(v723);
cocos2d::CCParticleSystem::resetSystem(v723);
v736 = CCCircleWave::create(v734, v733, v735, 0, 1);
*((_WORD *)v736 + 170) = -256;
*((_BYTE *)v736 + 342) = -1;
v737 = *(_QWORD *)v736;
v738 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v737 + 184))(v736, v738);
*((_DWORD *)v736 + 90) = 1065353216;
*((_DWORD *)v736 + 88) = 1;
*((_DWORD *)v736 + 89) = 10;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v736, 1000);
LABEL_20:
v49 = CCCircleWave::create(v97, v96, v98, 0, 1);
*((_WORD *)v49 + 170) = -256;
*((_BYTE *)v49 + 342) = -1;
goto LABEL_16;
case 19:
v739 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v739 + 64LL))(v739, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v739);
v665 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_18_002.png");
v740 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v740 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v740 + 560) + 4296LL),
v665,
10000);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v665 + 352LL))(v665);
rand();
v741 = *(_QWORD *)v665;
v742 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v741 + 184))(v665, v742);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v665 + 160LL))(v665);
v744 = (cocos2d::CCArray *)cocos2d::CCArray::create(v743);
for ( i4 = 2; i4 <= 23; ++i4 )
{
v746 = cocos2d::CCString::createWithFormat("playerExplosion_18_%03d.png", i4);
v747 = cocos2d::CCString::getCString(v746);
v750 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v749, v748);
v751 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v750, v747);
cocos2d::CCArray::addObject(v744, v751);
}
v752 = (float)((float)((float)rand() / 32767.0) * 0.0049999999) + 0.035;
v753 = cocos2d::CCAnimation::createWithSpriteFrames(v744, v752);
v754 = cocos2d::CCAnimate::create(v753);
v755 = cocos2d::CCCallFunc::create(v665, sub_14003F5B0);
v756 = cocos2d::CCSequence::create(v754, v755, 0);
cocos2d::CCNode::runAction(v665, v756);
v683 = cocos2d::CCDelayTime::create(v752 * 18.0);
v684 = v752 * 5.0;
LABEL_71:
v685 = v683;
v686 = cocos2d::CCFadeOut::create(v684);
v687 = cocos2d::CCSequence::create(v685, v686, 0);
cocos2d::CCNode::runAction(v665, v687);
v688 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v688 + 1528LL))(v688, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v688,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v688 + 1544LL))(v688, 1);
v689 = *(_QWORD *)v688;
v690 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v689 + 184))(v688, v690);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v688 + 1016LL))(v688);
v691 = *(_QWORD *)v688;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A00);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v691 + 1352))(v688, &si128);
v692 = *(_QWORD *)v688;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369B0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v692 + 1384))(v688, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v688 + 1272LL))(v688, 0);
v693 = *(_QWORD *)v688;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369A0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v693 + 1368))(v688, &si128);
v694 = *(_QWORD *)v688;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836960);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v694 + 1400))(v688, &si128);
v695 = *(_QWORD *)v688;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v688 + 1048LL))(v688);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v695 + 1056))(v688);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v688 + 160LL))(v688);
cocos2d::CCParticleSystem::resetSystem(v688);
v259 = CCCircleWave::create(v697, v696, v698, 0, 1);
*((_WORD *)v259 + 170) = -14081;
*((_BYTE *)v259 + 342) = 0;
v699 = *(_QWORD *)v259;
v700 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v699 + 184))(v259, v700);
v262 = 99;
LABEL_33:
*((_DWORD *)v259 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v259, v262);
LABEL_14:
v49 = CCCircleWave::create(v47, v46, v48, 0, 1);
*((_WORD *)v49 + 170) = -26881;
LABEL_15:
*((_BYTE *)v49 + 342) = 0;
LABEL_16:
v50 = v49;
v51 = *(_QWORD *)v49;
v52 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v51 + 184))(v50, v52);
*((_DWORD *)v50 + 88) = 1;
*((_DWORD *)v50 + 89) = 10;
v53 = (__int64 *)a1[390];
v54 = *v53;
goto LABEL_82;
case 20:
v757 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v757 + 64LL))(v757, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v757);
v758 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_19_002.png");
v759 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)(*(_QWORD *)(v759 + 560) + 4296LL)
+ 456LL))(
*(_QWORD *)(*(_QWORD *)(v759 + 560) + 4296LL),
v758,
10000);
rand();
v760 = *(_QWORD *)v758;
v761 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v760 + 184))(v758, v761);
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v758 + 160LL))(v758);
rand();
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v758 + 352LL))(v758);
v763 = (cocos2d::CCArray *)cocos2d::CCArray::create(v762);
for ( i5 = 2; i5 <= 13; ++i5 )
{
v765 = cocos2d::CCString::createWithFormat("playerExplosion_19_%03d.png", i5);
v766 = cocos2d::CCString::getCString(v765);
v769 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v768, v767);
v770 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v769, v766);
cocos2d::CCArray::addObject(v763, v770);
}
v771 = rand();
v772 = cocos2d::CCAnimation::createWithSpriteFrames(
v763,
(float)((float)((float)v771 / 32767.0) * 0.0049999999) + 0.039999999);
v773 = cocos2d::CCAnimate::create(v772);
v774 = cocos2d::CCCallFunc::create(v758, sub_14003F5B0);
v775 = cocos2d::CCSequence::create(v773, v774, 0);
cocos2d::CCNode::runAction(v758, v775);
v776 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v776 + 1528LL))(v776, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)a1[390] + 456LL))(
a1[390],
v776,
99);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v776 + 1544LL))(v776, 1);
v777 = *(_QWORD *)v776;
v778 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v777 + 184))(v776, v778);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v776 + 1016LL))(v776);
v779 = *(_QWORD *)v776;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836A00);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v779 + 1352))(v776, &si128);
v780 = *(_QWORD *)v776;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369B0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v780 + 1384))(v776, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v776 + 1272LL))(v776, 0);
v781 = *(_QWORD *)v776;
si128 = _mm_load_si128((const __m128i *)&xmmword_1408369A0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v781 + 1368))(v776, &si128);
v782 = *(_QWORD *)v776;
si128 = _mm_load_si128((const __m128i *)&xmmword_140836960);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v782 + 1400))(v776, &si128);
v783 = *(_QWORD *)v776;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v776 + 1048LL))(v776);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v783 + 1056))(v776);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v776 + 160LL))(v776);
cocos2d::CCParticleSystem::resetSystem(v776);
v787 = CCCircleWave::create(v785, v784, v786, 0, 1);
*((_WORD *)v787 + 170) = -14081;
*((_BYTE *)v787 + 342) = 0;
v788 = *(_QWORD *)v787;
v789 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v788 + 184))(v787, v789);
*((_DWORD *)v787 + 90) = 1065353216;
(*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)a1[390] + 456LL))(a1[390], v787, 99);
v50 = CCCircleWave::create(v791, v790, v792, 0, 1);
*((_WORD *)v50 + 170) = -26881;
*((_BYTE *)v50 + 342) = 0;
v793 = *(_QWORD *)v50;
v794 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v793 + 184))(v50, v794);
*((_DWORD *)v50 + 88) = 1;
v795 = 101;
*((_DWORD *)v50 + 89) = 10;
v53 = (__int64 *)a1[390];
v54 = *v53;
goto LABEL_83;
default:
v796 = cocos2d::CCFadeTo::create(0.050000001, 0);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v796 + 64LL))(v796, 4);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v796);
v797 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v797 + 1528LL))(v797, 2);
(*(void (__fastcall **)(__int64, cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v4 + 456LL))(v4, v797, 100);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v797 + 1544LL))(v797, 1);
v798 = *(_QWORD *)v797;
v799 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v798 + 184))(v797, v799);
v826 = *((_WORD *)a1 + 1353);
*(float *)si128.m128i_i32 = (float)(unsigned __int8)v826 / 255.0;
v800 = *(_QWORD *)v797;
*(float *)&v801 = (float)*((unsigned __int8 *)a1 + 2708) / 255.0;
*(float *)&si128.m128i_i32[1] = (float)HIBYTE(v826) / 255.0;
si128.m128i_i64[1] = v801 | 0x3F80000000000000LL;
(*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v800 + 1352))(v797, &si128);
(*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v797 + 160LL))(v797);
cocos2d::CCParticleSystem::resetSystem(v797);
v50 = CCCircleWave::create(v803, v802, v804, 0, 1);
*((_WORD *)v50 + 170) = *((_WORD *)a1 + 1353);
*((_BYTE *)v50 + 342) = *((_BYTE *)a1 + 2708);
v805 = *(_QWORD *)v50;
v806 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v805 + 184))(v50, v806);
v54 = *(_QWORD *)v4;
v53 = (__int64 *)v4;
LABEL_82:
v795 = 99;
LABEL_83:
(*(void (__fastcall **)(__int64 *, cocos2d::CCObject *, __int64))(v54 + 456))(v53, v50, v795);
LABEL_84:
v807 = GameManager::sharedState();
result = GameManager::getGameVariable(v807, "0153");
if ( !(_BYTE)result )
{
v809 = v5 * 40.0;
v810 = cocos2d::CCRenderTexture::create((int)v809, (int)v809);
v811 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64 *))(*a1 + 200))(a1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v825, v811);
v812 = *a1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&si128, v809 * 0.5, v809 * 0.5);
(*(void (__fastcall **)(__int64 *, __int64))(v812 + 184))(a1, v813);
cocos2d::CCRenderTexture::beginWithClear(v810, 0.0, 0.0, 0.0, 0.0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1[244] + 744LL))(a1[244]);
(*(void (__fastcall **)(__int64 *))(*a1 + 744))(a1);
cocos2d::CCRenderTexture::end(v810);
(*(void (__fastcall **)(__int64 *, _QWORD *))(*a1 + 184))(a1, v825);
v814 = ExplodeItemNode::create(v810);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v4 + 456LL))(v4, v814, 101);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v814 + 184LL))(v814, v825);
v815 = *((_BYTE *)a1 + 2708);
v826 = *((_WORD *)a1 + 1353);
v827 = v815;
v816 = *(__m128i *)sub_1404DD060((__int64)&v828, (unsigned __int8 *)&v826);
if ( *((_BYTE *)a1 + 2936) )
v817 = *((double *)a1 + 352);
else
v817 = *((float *)a1 + 639) * *((double *)a1 + 248);
v818 = v817 * 0.8999999761581421 * 0.800000011920929;
v819 = rand();
v820 = (int)(float)(roundf((float)((float)v819 / 32767.0) + (float)((float)v819 / 32767.0)) + 2.0);
v821 = rand();
v822 = (int)(float)(roundf((float)((float)v821 / 32767.0) + (float)((float)v821 / 32767.0)) + 2.0);
v824 = (float)rand() / 32767.0;
if ( v824 <= 0.94999999 )
{
if ( v824 > 0.89999998 )
v822 = 1;
}
else
{
v820 = 1;
}
si128 = v816;
v828 = v816;
return ExplodeItemNode::createSprites(
v814,
v820,
v822,
v823,
LODWORD(v818),
1086324736,
1077936128,
1068708659,
0,
(__int64)&v828,
(__int64)&si128,
0);
}
return result;
}
}