//
// PlayerObject::playDeathEffect from 0x566cf0 to 0x56b3ec (18172 bytes)
//
// 1 xrefs:
// > PlayerObject::playerDestroyed @ 0x344180
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void PlayerObject::playDeathEffect(PlayerObject *a1)
{
GameManager *v2; // r0
int v3; // r5
cocos2d::CCLayer *m_parentLayer; // r6
int v5; // r5
float m_vehicleSize; // s17
cocos2d::CCFadeTo *v7; // r5
cocos2d::CCSprite *v8; // r5
GameManager *v9; // r0
void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v11; // r0
void (__fastcall *setScale)(cocos2d::CCSprite *__hidden, float); // r8
int v13; // r0
void (__fastcall *v14)(cocos2d::CCSprite *__hidden, float); // r8
float v15; // r0
void (__fastcall *setRotation)(cocos2d::CCSprite *__hidden, float); // r8
int v17; // r0
cocos2d::CCArray *v18; // r0
int v19; // r8
cocos2d::CCArray *v20; // r9
cocos2d::CCSpriteFrameCache *v21; // r0
const char *v22; // r1
cocos2d::CCSpriteFrameCache *v23; // r11
cocos2d::CCString *v24; // r0
const char *CString; // r0
cocos2d::CCSpriteFrame *v26; // r0
float v27; // s19
cocos2d::CCAnimation *v28; // r0
cocos2d::CCSequence *v29; // r8
cocos2d::CCFiniteTimeAction *v30; // r0
cocos2d::CCAction *v31; // r0
cocos2d::CCSequence *v32; // r8
cocos2d::CCFadeOut *v33; // r0
cocos2d::CCAction *v34; // r0
bool v35; // r2
cocos2d::CCParticleSystem *v36; // r5
void (__fastcall *v37)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v38; // r0
void (__fastcall *setStartColor)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *setEndColor)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *setStartColorVar)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *setEndColorVar)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *setSpeed)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v44; // r0
char v45; // r8
CCCircleWave *v46; // r0
CCCircleWave_vtbl *v47; // r3
cocos2d::CCNode *v48; // r5
void (__fastcall *v49)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r11
const cocos2d::CCPoint *v50; // r0
cocos2d::CCLayer *v51; // r0
float v52; // r0
float v53; // s15
cocos2d::CCFadeTo *v54; // r5
cocos2d::CCSprite *v55; // r5
GameManager *v56; // r0
void (__fastcall *v57)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v58; // r0
void (__fastcall *v59)(cocos2d::CCSprite *__hidden, float); // r8
int v60; // r0
void (__fastcall *v61)(cocos2d::CCSprite *__hidden, float); // r8
float v62; // r0
void (__fastcall *v63)(cocos2d::CCSprite *__hidden, float); // r8
int v64; // r0
cocos2d::CCArray *v65; // r0
int v66; // r8
cocos2d::CCArray *v67; // r9
cocos2d::CCSpriteFrameCache *v68; // r0
const char *v69; // r1
cocos2d::CCSpriteFrameCache *v70; // r11
cocos2d::CCString *v71; // r0
const char *v72; // r0
cocos2d::CCSpriteFrame *v73; // r0
float v74; // s18
cocos2d::CCAnimation *v75; // r0
cocos2d::CCSequence *v76; // r8
cocos2d::CCFiniteTimeAction *v77; // r0
cocos2d::CCAction *v78; // r0
float v79; // s18
cocos2d::CCSequence *v80; // r8
cocos2d::CCFadeOut *v81; // r0
cocos2d::CCAction *v82; // r0
bool v83; // r2
cocos2d::CCParticleSystem *v84; // r5
void (__fastcall *v85)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v86; // r0
void (__fastcall *v87)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v88)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v89)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v90)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v91)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v92; // r0
void (__fastcall *setStartSize)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v94; // r0
void (__fastcall *setEndSize)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v96; // r0
CCCircleWave *v97; // r0
CCCircleWave *v98; // r5
CCCircleWave_vtbl *v99; // r3
void (__fastcall *v100)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v101; // r0
cocos2d::CCLayer *v102; // r0
float v103; // r0
float v104; // r1
cocos2d::CCFadeTo *v105; // r5
cocos2d::CCSprite *v106; // r5
GameManager *v107; // r0
void (__fastcall *v108)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v109; // r0
void (__fastcall *v110)(cocos2d::CCSprite *__hidden, float); // r8
int v111; // r0
void (__fastcall *v112)(cocos2d::CCSprite *__hidden, float); // r8
float v113; // r0
void (__fastcall *v114)(cocos2d::CCSprite *__hidden, float); // r8
int v115; // r0
cocos2d::CCArray *v116; // r0
int v117; // r8
cocos2d::CCArray *v118; // r9
cocos2d::CCSpriteFrameCache *v119; // r0
const char *v120; // r1
cocos2d::CCSpriteFrameCache *v121; // r11
cocos2d::CCString *v122; // r0
const char *v123; // r0
cocos2d::CCSpriteFrame *v124; // r0
float v125; // s19
cocos2d::CCAnimation *v126; // r0
cocos2d::CCSequence *v127; // r8
cocos2d::CCFiniteTimeAction *v128; // r0
cocos2d::CCAction *v129; // r0
cocos2d::CCSequence *v130; // r8
cocos2d::CCFadeOut *v131; // r0
cocos2d::CCAction *v132; // r0
bool v133; // r2
cocos2d::CCParticleSystem *v134; // r5
void (__fastcall *v135)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v136; // r0
void (__fastcall *v137)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v138)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v139)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v140)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v141)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v142; // r0
char v143; // r8
CCCircleWave *v144; // r0
CCCircleWave *v145; // r5
CCCircleWave_vtbl *v146; // r3
void (__fastcall *v147)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v148; // r0
cocos2d::CCLayer *v149; // r0
cocos2d::CCLayer_vtbl *v150; // r3
CCCircleWave *v151; // r5
cocos2d::CCFadeTo *v152; // r5
cocos2d::CCSprite *v153; // r5
GameManager *v154; // r0
void (__fastcall *v155)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v156; // r0
void (__fastcall *v157)(cocos2d::CCSprite *__hidden, float); // r8
int v158; // r0
void (__fastcall *v159)(cocos2d::CCSprite *__hidden, float); // r8
float v160; // r0
void (__fastcall *v161)(cocos2d::CCSprite *__hidden, float); // r8
int v162; // r0
cocos2d::CCArray *v163; // r0
int v164; // r9
cocos2d::CCArray *v165; // r8
cocos2d::CCSpriteFrameCache *v166; // r0
const char *v167; // r1
cocos2d::CCSpriteFrameCache *v168; // r11
cocos2d::CCString *v169; // r0
const char *v170; // r0
cocos2d::CCSpriteFrame *v171; // r0
int v172; // r0
float v173; // s18
cocos2d::CCAnimation *v174; // r0
cocos2d::CCSequence *v175; // r8
cocos2d::CCFiniteTimeAction *v176; // r0
cocos2d::CCAction *v177; // r0
cocos2d::CCSequence *v178; // r8
cocos2d::CCFadeOut *v179; // r0
cocos2d::CCAction *v180; // r0
bool v181; // r2
cocos2d::CCParticleSystem *v182; // r5
void (__fastcall *v183)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v184; // r0
void (__fastcall *v185)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v186)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v187)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v188)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v189)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v190; // r0
CCCircleWave *v191; // r0
CCCircleWave *v192; // r5
CCCircleWave_vtbl *v193; // r3
void (__fastcall *v194)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v195; // r0
cocos2d::CCLayer *v196; // r0
CCCircleWave_vtbl *v197; // r3
void (__fastcall *v198)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v199; // r0
cocos2d::CCFadeTo *v200; // r5
cocos2d::CCSprite *v201; // r5
GameManager *v202; // r0
void (__fastcall *v203)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v204; // r0
void (__fastcall *v205)(cocos2d::CCSprite *__hidden, float); // r8
int v206; // r0
void (__fastcall *v207)(cocos2d::CCSprite *__hidden, float); // r8
float v208; // r0
void (__fastcall *v209)(cocos2d::CCSprite *__hidden, float); // r8
int v210; // r0
cocos2d::CCArray *v211; // r0
cocos2d::CCArray *v212; // r9
int v213; // r8
cocos2d::CCSpriteFrameCache *v214; // r0
const char *v215; // r1
cocos2d::CCSpriteFrameCache *v216; // r11
cocos2d::CCString *v217; // r0
const char *v218; // r0
cocos2d::CCSpriteFrame *v219; // r0
int v220; // r0
float v221; // s18
cocos2d::CCAnimation *v222; // r0
cocos2d::CCSequence *v223; // r8
cocos2d::CCFiniteTimeAction *v224; // r0
cocos2d::CCAction *v225; // r0
float v226; // s18
cocos2d::CCSequence *v227; // r8
cocos2d::CCFadeOut *v228; // r0
cocos2d::CCAction *v229; // r0
bool v230; // r2
cocos2d::CCParticleSystem *v231; // r5
void (__fastcall *v232)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v233; // r0
void (__fastcall *v234)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v235)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v236)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v237)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v238)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v239; // r0
void (__fastcall *v240)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v241; // r0
void (__fastcall *v242)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v243; // r0
CCCircleWave *v244; // r0
CCCircleWave *v245; // r5
CCCircleWave_vtbl *v246; // r3
void (__fastcall *v247)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v248; // r0
cocos2d::CCLayer *v249; // r0
CCCircleWave *v250; // r5
cocos2d::CCFadeTo *v251; // r5
cocos2d::CCSprite *v252; // r8
GameManager *v253; // r0
unsigned int v254; // r0
void (__fastcall *v255)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5
float v256; // s15
const cocos2d::CCPoint *v257; // r0
float v258; // s18
int v259; // r5
cocos2d::CCArray *v260; // r0
cocos2d::CCArray *v261; // r9
cocos2d::CCSpriteFrameCache *v262; // r0
const char *v263; // r1
cocos2d::CCSpriteFrameCache *v264; // r11
cocos2d::CCString *v265; // r0
const char *v266; // r0
cocos2d::CCSpriteFrame *v267; // r0
cocos2d::CCAnimation *v268; // r0
cocos2d::CCSequence *v269; // r5
cocos2d::CCFiniteTimeAction *v270; // r0
cocos2d::CCAction *v271; // r0
cocos2d::CCSequence *v272; // r5
cocos2d::CCFadeOut *v273; // r0
cocos2d::CCAction *v274; // r0
bool v275; // r2
cocos2d::CCParticleSystem *v276; // r5
void (__fastcall *v277)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v278; // r0
void (__fastcall *v279)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v280)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v281)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v282)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v283)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v284; // r0
CCCircleWave *v285; // r0
CCCircleWave *v286; // r5
CCCircleWave_vtbl *v287; // r3
void (__fastcall *v288)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v289; // r0
cocos2d::CCLayer *v290; // r0
cocos2d::CCFadeTo *v291; // r5
cocos2d::CCSprite *v292; // r5
GameManager *v293; // r0
int v294; // r0
void (__fastcall *v295)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
int v296; // s15
const cocos2d::CCPoint *v297; // r0
float v298; // s20
void (__fastcall *v299)(cocos2d::CCSprite *__hidden, float); // r8
int v300; // r0
cocos2d::CCArray *v301; // r0
cocos2d::CCArray *v302; // r9
int v303; // r8
cocos2d::CCSpriteFrameCache *v304; // r0
const char *v305; // r1
cocos2d::CCSpriteFrameCache *v306; // r11
cocos2d::CCString *v307; // r0
const char *v308; // r0
cocos2d::CCSpriteFrame *v309; // r0
float v310; // s14
cocos2d::CCAnimation *v311; // r0
cocos2d::CCSequence *v312; // r8
cocos2d::CCFiniteTimeAction *v313; // r0
cocos2d::CCAction *v314; // r0
cocos2d::CCSequence *v315; // r8
cocos2d::CCFadeOut *v316; // r0
cocos2d::CCAction *v317; // r0
bool v318; // r2
cocos2d::CCParticleSystem *v319; // r5
void (__fastcall *v320)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v321; // r0
void (__fastcall *v322)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v323)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v324)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v325)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v326)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v327; // r0
void (__fastcall *v328)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v329; // r0
void (__fastcall *v330)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v331; // r0
CCCircleWave *v332; // r0
CCCircleWave_vtbl *v333; // r3
cocos2d::CCNode *v334; // r5
void (__fastcall *v335)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v336; // r0
CCCircleWave *v337; // r0
GLubyte b; // r3
cocos2d::CCFadeTo *v339; // r5
cocos2d::CCSprite *v340; // r5
GameManager *v341; // r0
void (__fastcall *setBlendFunc)(cocos2d::CCSprite *__hidden, cocos2d::ccBlendFunc); // r12
int v343; // r0
void (__fastcall *v344)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r10
float v345; // s20
const cocos2d::CCPoint *v346; // r11
void (__fastcall *v347)(cocos2d::CCSprite *__hidden, float); // r9
int v348; // r0
cocos2d::CCArray *v349; // r0
int v350; // r9
cocos2d::CCArray *v351; // r10
cocos2d::CCSpriteFrameCache *v352; // r0
const char *v353; // r1
cocos2d::CCString *v354; // r0
const char *v355; // r0
cocos2d::CCSpriteFrame *v356; // r0
float v357; // s18
cocos2d::CCAnimation *v358; // r0
cocos2d::CCSequence *v359; // r9
cocos2d::CCFiniteTimeAction *v360; // r0
cocos2d::CCAction *v361; // r0
cocos2d::CCSequence *v362; // r9
cocos2d::CCFadeOut *v363; // r0
cocos2d::CCAction *v364; // r0
bool v365; // r2
cocos2d::CCParticleSystem *v366; // r5
void (__fastcall *v367)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v368; // r0
void (__fastcall *v369)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v370)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v371)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v372)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v373)(cocos2d::CCParticleSystem *__hidden, float); // r9
float v374; // r0
void (__fastcall *setPosVar)(cocos2d::CCParticleSystem *__hidden, const cocos2d::CCPoint *); // r9
int v376; // r0
void (__fastcall *v377)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v378; // r0
void (__fastcall *v379)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v380; // r0
CCCircleWave *v381; // r0
cocos2d::CCNode *v382; // r5
CCCircleWave_vtbl *v383; // r3
void (__fastcall *v384)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v385; // r0
cocos2d::CCLayer *v386; // r0
cocos2d::CCFadeTo *v387; // r5
cocos2d::CCSprite *v388; // r8
GameManager *v389; // r0
void (__fastcall *v390)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5
const cocos2d::CCPoint *v391; // r0
void (__fastcall *v392)(cocos2d::CCSprite *__hidden, float); // r5
int v393; // r0
void (__fastcall *v394)(cocos2d::CCSprite *__hidden, float); // r5
float v395; // r0
void (__fastcall *v396)(cocos2d::CCSprite *__hidden, float); // r5
int v397; // r0
cocos2d::CCArray *v398; // r0
int v399; // r5
cocos2d::CCArray *v400; // r9
cocos2d::CCSpriteFrameCache *v401; // r0
const char *v402; // r1
cocos2d::CCSpriteFrameCache *v403; // r11
cocos2d::CCString *v404; // r0
const char *v405; // r0
cocos2d::CCSpriteFrame *v406; // r0
int v407; // r0
float v408; // s19
cocos2d::CCAnimation *v409; // r0
cocos2d::CCSequence *v410; // r5
cocos2d::CCFiniteTimeAction *v411; // r0
cocos2d::CCAction *v412; // r0
cocos2d::CCSequence *v413; // r5
cocos2d::CCFadeOut *v414; // r0
cocos2d::CCAction *v415; // r0
bool v416; // r2
cocos2d::CCParticleSystem *v417; // r5
void (__fastcall *v418)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v419; // r0
void (__fastcall *v420)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v421)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v422)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v423)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v424)(cocos2d::CCParticleSystem *__hidden, float); // r9
int v425; // r0
void (__fastcall *v426)(cocos2d::CCParticleSystem *__hidden, float); // r9
float v427; // r0
void (__fastcall *v428)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v429; // r0
void (__fastcall *v430)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v431; // r0
CCCircleWave *v432; // r0
CCCircleWave *v433; // r5
CCCircleWave_vtbl *v434; // r3
void (__fastcall *v435)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v436; // r0
cocos2d::CCLayer *v437; // r0
cocos2d::CCFadeTo *v438; // r5
cocos2d::CCSprite *v439; // r5
GameManager *v440; // r0
void (__fastcall *v441)(cocos2d::CCSprite *__hidden, cocos2d::ccBlendFunc); // r12
int v442; // r0
void (__fastcall *v443)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
float v444; // s19
const cocos2d::CCPoint *v445; // r0
float v446; // s18
int v447; // r8
cocos2d::CCArray *v448; // r0
cocos2d::CCArray *v449; // r9
cocos2d::CCSpriteFrameCache *v450; // r0
const char *v451; // r1
cocos2d::CCSpriteFrameCache *v452; // r11
cocos2d::CCString *v453; // r0
const char *v454; // r0
cocos2d::CCSpriteFrame *v455; // r0
int v456; // r0
float v457; // s19
cocos2d::CCAnimation *v458; // r0
cocos2d::CCSequence *v459; // r8
cocos2d::CCFiniteTimeAction *v460; // r0
cocos2d::CCAction *v461; // r0
cocos2d::CCSequence *v462; // r8
cocos2d::CCFadeOut *v463; // r0
cocos2d::CCAction *v464; // r0
cocos2d::CCSequence *v465; // r8
cocos2d::CCTintTo *v466; // r0
cocos2d::CCAction *v467; // r0
bool v468; // r2
cocos2d::CCParticleSystem *v469; // r5
void (__fastcall *v470)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v471; // r0
void (__fastcall *v472)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v473)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v474)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v475)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v476)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v477; // r0
void (__fastcall *v478)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v479; // r0
void (__fastcall *v480)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v481; // r0
CCCircleWave *v482; // r0
GLubyte g; // r2
GLubyte r; // r1
CCCircleWave *v485; // r5
CCCircleWave_vtbl *v486; // r3
void (__fastcall *v487)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v488; // r0
cocos2d::CCLayer *v489; // r0
CCCircleWave *v490; // r0
GLubyte v491; // r2
cocos2d::CCFadeTo *v492; // r5
cocos2d::CCSprite *v493; // r5
GameManager *v494; // r0
int v495; // r0
void (__fastcall *v496)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
int v497; // s15
const cocos2d::CCPoint *v498; // r0
float v499; // s19
void (__fastcall *v500)(cocos2d::CCSprite *__hidden, float); // r8
int v501; // r0
cocos2d::CCArray *v502; // r0
int v503; // r8
cocos2d::CCArray *v504; // r9
cocos2d::CCSpriteFrameCache *v505; // r0
const char *v506; // r1
cocos2d::CCSpriteFrameCache *v507; // r11
cocos2d::CCString *v508; // r0
const char *v509; // r0
cocos2d::CCSpriteFrame *v510; // r0
int v511; // r0
float v512; // s18
cocos2d::CCAnimation *v513; // r0
cocos2d::CCSequence *v514; // r8
cocos2d::CCFiniteTimeAction *v515; // r0
cocos2d::CCAction *v516; // r0
cocos2d::CCSequence *v517; // r5
cocos2d::CCFadeOut *v518; // r0
bool v519; // r2
cocos2d::CCParticleSystem *v520; // r5
void (__fastcall *v521)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v522; // r0
void (__fastcall *v523)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v524)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v525)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v526)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v527)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v528; // r0
void (__fastcall *v529)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v530; // r0
void (__fastcall *v531)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v532; // r0
CCCircleWave *v533; // r0
cocos2d::CCNode *v534; // r5
CCCircleWave_vtbl *v535; // r3
void (__fastcall *v536)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v537; // r0
cocos2d::CCLayer *v538; // r0
CCCircleWave *v539; // r0
char v540; // r3
cocos2d::CCFadeTo *v541; // r5
cocos2d::CCSprite *v542; // r5
GameManager *v543; // r0
int v544; // r0
void (__fastcall *v545)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r10
float v546; // s21
const cocos2d::CCPoint *v547; // r11
void (__fastcall *v548)(cocos2d::CCSprite *__hidden, float); // r9
int v549; // r0
cocos2d::CCArray *v550; // r0
int v551; // r9
cocos2d::CCArray *v552; // r10
cocos2d::CCSpriteFrameCache *v553; // r0
const char *v554; // r1
cocos2d::CCString *v555; // r0
const char *v556; // r0
cocos2d::CCSpriteFrame *v557; // r0
float v558; // s18
cocos2d::CCAnimation *v559; // r0
cocos2d::CCSequence *v560; // r9
cocos2d::CCFiniteTimeAction *v561; // r0
cocos2d::CCAction *v562; // r0
cocos2d::CCSequence *v563; // r5
cocos2d::CCFadeOut *v564; // r0
bool v565; // r2
cocos2d::CCParticleSystem *v566; // r5
void (__fastcall *v567)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v568; // r0
void (__fastcall *v569)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v570)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v571)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v572)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v573)(cocos2d::CCParticleSystem *__hidden, float); // r9
float v574; // r0
void (__fastcall *v575)(cocos2d::CCParticleSystem *__hidden, const cocos2d::CCPoint *); // r9
int v576; // r0
void (__fastcall *v577)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v578; // r0
void (__fastcall *v579)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v580; // r0
CCCircleWave *v581; // r0
CCCircleWave *v582; // r5
CCCircleWave_vtbl *v583; // r3
void (__fastcall *v584)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v585; // r0
cocos2d::CCLayer *v586; // r0
CCCircleWave *v587; // r0
cocos2d::CCFadeTo *v588; // r5
cocos2d::CCSprite *v589; // r5
GameManager *v590; // r0
void (__fastcall *v591)(cocos2d::CCSprite *__hidden, cocos2d::ccBlendFunc); // r12
int v592; // r0
void (__fastcall *v593)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r10
float v594; // s18
const cocos2d::CCPoint *v595; // r11
cocos2d::CCArray *v596; // r0
int v597; // r9
float v598; // s18
cocos2d::CCArray *v599; // r10
cocos2d::CCSpriteFrameCache *v600; // r0
const char *v601; // r1
cocos2d::CCString *v602; // r0
const char *v603; // r0
cocos2d::CCSpriteFrame *v604; // r0
float v605; // s19
cocos2d::CCAnimation *v606; // r0
cocos2d::CCSequence *v607; // r9
cocos2d::CCFiniteTimeAction *v608; // r0
cocos2d::CCAction *v609; // r0
cocos2d::CCSequence *v610; // r5
cocos2d::CCFadeOut *v611; // r0
bool v612; // r2
cocos2d::CCParticleSystem *v613; // r5
void (__fastcall *v614)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v615; // r0
void (__fastcall *v616)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v617)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v618)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v619)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v620)(cocos2d::CCParticleSystem *__hidden, float); // r9
float v621; // r0
void (__fastcall *v622)(cocos2d::CCParticleSystem *__hidden, const cocos2d::CCPoint *); // r9
int v623; // r0
void (__fastcall *v624)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v625; // r0
void (__fastcall *v626)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v627; // r0
CCCircleWave *v628; // r0
cocos2d::CCNode *v629; // r5
CCCircleWave_vtbl *v630; // r3
void (__fastcall *v631)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v632; // r0
cocos2d::CCLayer *v633; // r0
float v634; // r0
float v635; // r1
cocos2d::CCFadeTo *v636; // r5
cocos2d::CCSprite *v637; // r5
GameManager *v638; // r0
void (__fastcall *v639)(cocos2d::CCSprite *__hidden, cocos2d::ccBlendFunc); // r12
int v640; // r0
void (__fastcall *v641)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r10
int v642; // s15
const cocos2d::CCPoint *v643; // r11
void (__fastcall *v644)(cocos2d::CCSprite *__hidden, float); // r9
int v645; // r0
cocos2d::CCArray *v646; // r0
float v647; // s18
int v648; // r9
cocos2d::CCArray *v649; // r10
cocos2d::CCSpriteFrameCache *v650; // r0
const char *v651; // r1
cocos2d::CCString *v652; // r0
const char *v653; // r0
cocos2d::CCSpriteFrame *v654; // r0
float v655; // s19
cocos2d::CCAnimation *v656; // r0
cocos2d::CCSequence *v657; // r10
cocos2d::CCFiniteTimeAction *v658; // r0
cocos2d::CCAction *v659; // r0
cocos2d::CCSequence *v660; // r5
cocos2d::CCFadeOut *v661; // r0
bool v662; // r2
cocos2d::CCParticleSystem *v663; // r5
void (__fastcall *v664)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v665; // r0
void (__fastcall *v666)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v667)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v668)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v669)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v670)(cocos2d::CCParticleSystem *__hidden, float); // r9
int v671; // r0
void (__fastcall *v672)(cocos2d::CCParticleSystem *__hidden, const cocos2d::CCPoint *); // r9
int v673; // r0
void (__fastcall *v674)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v675; // r0
void (__fastcall *v676)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v677; // r0
CCCircleWave *v678; // r0
cocos2d::CCNode *v679; // r5
CCCircleWave_vtbl *v680; // r3
void (__fastcall *v681)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v682; // r0
cocos2d::CCLayer *v683; // r0
cocos2d::CCFadeTo *v684; // r5
cocos2d::CCSprite *v685; // r5
GameManager *v686; // r0
int v687; // r0
void (__fastcall *v688)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r10
int v689; // s15
const cocos2d::CCPoint *v690; // r11
void (__fastcall *v691)(cocos2d::CCSprite *__hidden, float); // r9
int v692; // r0
cocos2d::CCArray *v693; // r0
float v694; // s18
int v695; // r9
cocos2d::CCArray *v696; // r10
cocos2d::CCSpriteFrameCache *v697; // r0
const char *v698; // r1
cocos2d::CCString *v699; // r0
const char *v700; // r0
cocos2d::CCSpriteFrame *v701; // r0
float v702; // s21
cocos2d::CCAnimation *v703; // r0
cocos2d::CCSequence *v704; // r9
cocos2d::CCFiniteTimeAction *v705; // r0
cocos2d::CCAction *v706; // r0
bool v707; // r2
cocos2d::CCParticleSystem *v708; // r5
void (__fastcall *v709)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v710; // r0
void (__fastcall *v711)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v712)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v713)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v714)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v715)(cocos2d::CCParticleSystem *__hidden, float); // r9
int v716; // r0
void (__fastcall *v717)(cocos2d::CCParticleSystem *__hidden, const cocos2d::CCPoint *); // r9
int v718; // r0
void (__fastcall *v719)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v720; // r0
void (__fastcall *v721)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v722; // r0
CCCircleWave *v723; // r0
CCCircleWave_vtbl *v724; // r3
CCCircleWave *v725; // r5
void (__fastcall *v726)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r11
const cocos2d::CCPoint *v727; // r0
cocos2d::CCLayer *v728; // r0
CCCircleWave *v729; // r0
CCCircleWave_vtbl *v730; // r3
CCCircleWave *v731; // r5
void (__fastcall *v732)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v733; // r0
cocos2d::CCFadeTo *v734; // r5
cocos2d::CCSprite *v735; // r8
GameManager *v736; // r0
int v737; // r0
void (__fastcall *v738)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5
int v739; // s15
const cocos2d::CCPoint *v740; // r0
float v741; // s19
int v742; // r5
cocos2d::CCArray *v743; // r0
cocos2d::CCArray *v744; // r9
cocos2d::CCSpriteFrameCache *v745; // r0
const char *v746; // r1
cocos2d::CCSpriteFrameCache *v747; // r11
cocos2d::CCString *v748; // r0
const char *v749; // r0
cocos2d::CCSpriteFrame *v750; // r0
float v751; // s18
cocos2d::CCAnimation *v752; // r0
cocos2d::CCSequence *v753; // r5
cocos2d::CCFiniteTimeAction *v754; // r0
cocos2d::CCAction *v755; // r0
cocos2d::CCSequence *v756; // r5
cocos2d::CCFadeOut *v757; // r0
cocos2d::CCAction *v758; // r0
bool v759; // r2
cocos2d::CCParticleSystem *v760; // r5
void (__fastcall *v761)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v762; // r0
void (__fastcall *v763)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v764)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v765)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v766)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v767)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v768; // r0
CCCircleWave *v769; // r0
CCCircleWave *v770; // r5
CCCircleWave_vtbl *v771; // r3
void (__fastcall *v772)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v773; // r0
cocos2d::CCLayer *v774; // r0
cocos2d::CCFadeTo *v775; // r5
cocos2d::CCSprite *v776; // r5
GameManager *v777; // r0
void (__fastcall *v778)(cocos2d::CCSprite *__hidden, cocos2d::ccBlendFunc); // r12
int v779; // r0
void (__fastcall *v780)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
int v781; // s15
const cocos2d::CCPoint *v782; // r0
void (__fastcall *v783)(cocos2d::CCSprite *__hidden, float); // r8
int v784; // r0
cocos2d::CCArray *v785; // r0
int v786; // r8
cocos2d::CCArray *v787; // r9
cocos2d::CCSpriteFrameCache *v788; // r0
const char *v789; // r1
cocos2d::CCSpriteFrameCache *v790; // r11
cocos2d::CCString *v791; // r0
const char *v792; // r0
cocos2d::CCSpriteFrame *v793; // r0
float v794; // s18
cocos2d::CCAnimation *v795; // r0
cocos2d::CCSequence *v796; // r9
cocos2d::CCFiniteTimeAction *v797; // r0
cocos2d::CCAction *v798; // r0
cocos2d::CCSequence *v799; // r9
cocos2d::CCFadeOut *v800; // r0
cocos2d::CCAction *v801; // r0
bool v802; // r2
cocos2d::CCParticleSystem *v803; // r5
void (__fastcall *v804)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
const cocos2d::CCPoint *v805; // r0
void (__fastcall *v806)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v807)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v808)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v809)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r10
void (__fastcall *v810)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v811; // r0
void (__fastcall *v812)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v813; // r0
void (__fastcall *v814)(cocos2d::CCParticleSystem *__hidden, float); // r8
float v815; // r0
CCCircleWave *v816; // r0
CCCircleWave_vtbl *v817; // r3
CCCircleWave *v818; // r5
void (__fastcall *v819)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v820; // r0
cocos2d::CCLayer *v821; // r0
cocos2d::CCLayer_vtbl *v822; // r3
CCCircleWave *v823; // r0
CCCircleWave_vtbl *v824; // r3
CCCircleWave *v825; // r5
void (__fastcall *v826)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v827; // r0
cocos2d::CCFadeTo *v828; // r5
cocos2d::CCSprite *v829; // r5
GameManager *v830; // r0
void (__fastcall *v831)(cocos2d::CCSprite *__hidden, float); // r8
int v832; // r0
int v833; // r0
void (__fastcall *v834)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
int v835; // s15
const cocos2d::CCPoint *v836; // r0
float v837; // s20
int v838; // r8
cocos2d::CCArray *v839; // r0
cocos2d::CCArray *v840; // r9
cocos2d::CCSpriteFrameCache *v841; // r0
const char *v842; // r1
cocos2d::CCSpriteFrameCache *v843; // r11
cocos2d::CCString *v844; // r0
const char *v845; // r0
cocos2d::CCSpriteFrame *v846; // r0
float v847; // s18
cocos2d::CCAnimation *v848; // r0
cocos2d::CCSequence *v849; // r8
cocos2d::CCFiniteTimeAction *v850; // r0
cocos2d::CCAction *v851; // r0
cocos2d::CCSequence *v852; // r8
cocos2d::CCFadeOut *v853; // r0
cocos2d::CCAction *v854; // r0
bool v855; // r2
cocos2d::CCParticleSystem *v856; // r5
void (__fastcall *v857)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v858; // r0
void (__fastcall *v859)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v860)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v861)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v862)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v863)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v864; // r0
CCCircleWave *v865; // r0
CCCircleWave *v866; // r5
CCCircleWave_vtbl *v867; // r3
void (__fastcall *v868)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v869; // r0
cocos2d::CCLayer *v870; // r0
CCCircleWave *v871; // r0
void (__fastcall *v872)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v873; // r0
void (*addChild_0)(void); // r3
cocos2d::CCFadeTo *v875; // r5
cocos2d::CCSprite *v876; // r5
GameManager *v877; // r0
int v878; // r0
void (__fastcall *v879)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8
int v880; // s15
const cocos2d::CCPoint *v881; // r0
float v882; // s19
void (__fastcall *v883)(cocos2d::CCSprite *__hidden, float); // r8
int v884; // r0
cocos2d::CCArray *v885; // r0
int v886; // r8
cocos2d::CCArray *v887; // r9
cocos2d::CCSpriteFrameCache *v888; // r0
const char *v889; // r1
cocos2d::CCSpriteFrameCache *v890; // r11
cocos2d::CCString *v891; // r0
const char *v892; // r0
cocos2d::CCSpriteFrame *v893; // r0
int v894; // r0
cocos2d::CCAnimation *v895; // r0
cocos2d::CCSequence *v896; // r8
cocos2d::CCFiniteTimeAction *v897; // r0
cocos2d::CCAction *v898; // r0
bool v899; // r2
cocos2d::CCParticleSystem *v900; // r5
void (__fastcall *v901)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v902; // r0
void (__fastcall *v903)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v904)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v905)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v906)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
void (__fastcall *v907)(cocos2d::CCParticleSystem *__hidden, float); // r8
int v908; // r0
CCCircleWave *v909; // r0
CCCircleWave *v910; // r5
CCCircleWave_vtbl *v911; // r3
void (__fastcall *v912)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r10
const cocos2d::CCPoint *v913; // r0
cocos2d::CCLayer *v914; // r0
CCCircleWave *v915; // r0
CCCircleWave *v916; // r5
CCCircleWave_vtbl *v917; // r3
void (__fastcall *v918)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v919; // r0
cocos2d::CCLayer *v920; // r0
cocos2d::CCFadeTo *v921; // r5
bool v922; // r2
cocos2d::CCParticleSystem *v923; // r5
void (__fastcall *v924)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v925; // r0
void (__fastcall *v926)(cocos2d::CCParticleSystem *__hidden, const cocos2d::ccColor4F *); // r9
CCCircleWave *v927; // r0
GLubyte v928; // r1
GLubyte v929; // r2
CCCircleWave *v930; // r5
CCCircleWave_vtbl *v931; // r3
void (__fastcall *v932)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8
const cocos2d::CCPoint *v933; // r0
GameManager *v934; // r0
int v935; // r2
float v936; // s17
cocos2d::CCRenderTexture *v937; // r8
const cocos2d::CCPoint *v938; // r0
void (__fastcall *v939)(PlayerObject *__hidden, const cocos2d::CCPoint *); // r9
ExplodeItemNode *v940; // r8
float v941; // s16
int v942; // r10
int v943; // r6
float v944; // s14
cocos2d::CCSpriteFrameCache *v945; // [sp+3Ch] [bp-C0h]
cocos2d::CCSpriteFrameCache *v946; // [sp+3Ch] [bp-C0h]
cocos2d::CCSpriteFrameCache *v947; // [sp+3Ch] [bp-C0h]
cocos2d::CCSpriteFrameCache *v948; // [sp+3Ch] [bp-C0h]
cocos2d::CCSpriteFrameCache *v949; // [sp+3Ch] [bp-C0h]
cocos2d::CCPoint v950; // [sp+44h] [bp-B8h] BYREF
int v951; // [sp+4Ch] [bp-B0h]
int v952; // [sp+50h] [bp-ACh]
int v953; // [sp+54h] [bp-A8h]
int v954; // [sp+58h] [bp-A4h]
int v955; // [sp+5Ch] [bp-A0h]
int v956; // [sp+60h] [bp-9Ch]
int v957; // [sp+64h] [bp-98h]
int v958; // [sp+68h] [bp-94h]
int v959; // [sp+6Ch] [bp-90h]
int v960; // [sp+70h] [bp-8Ch]
int v961; // [sp+74h] [bp-88h]
int v962; // [sp+78h] [bp-84h]
int v963; // [sp+7Ch] [bp-80h]
int v964; // [sp+80h] [bp-7Ch]
int v965; // [sp+84h] [bp-78h]
int v966; // [sp+88h] [bp-74h]
int v967; // [sp+8Ch] [bp-70h]
int v968; // [sp+90h] [bp-6Ch]
int v969; // [sp+94h] [bp-68h]
int v970; // [sp+98h] [bp-64h]
int v971; // [sp+9Ch] [bp-60h]
int v972; // [sp+A0h] [bp-5Ch]
int v973; // [sp+A4h] [bp-58h]
int v974; // [sp+A8h] [bp-54h]
int v975; // [sp+ACh] [bp-50h]
int v976; // [sp+B0h] [bp-4Ch]
int v977; // [sp+B4h] [bp-48h]
int v978; // [sp+B8h] [bp-44h]
int v979; // [sp+BCh] [bp-40h]
int v980; // [sp+C0h] [bp-3Ch]
int v981; // [sp+C4h] [bp-38h]
int v982; // [sp+C8h] [bp-34h]
int v983; // [sp+CCh] [bp-30h]
int v984; // [sp+D0h] [bp-2Ch]
int v985; // [sp+D4h] [bp-28h] BYREF
int v986; // [sp+D8h] [bp-24h]
cocos2d::CCPoint v987; // [sp+DCh] [bp-20h] BYREF
cocos2d::ccColor4F v988; // [sp+E4h] [bp-18h] BYREF
v2 = GameManager::sharedState();
v3 = v2->m_playerDeathEffect.random - v2->m_playerDeathEffect.seed;
if ( GameManager::sharedState()->m_playLayer
&& GameManager::sharedState()->m_playLayer->m_isPracticeMode
&& !a1->m_practiceDeathEffect )
{
v3 = 1;
}
if ( a1->getParent(a1) )
m_parentLayer = (cocos2d::CCLayer *)a1->getParent(a1);
else
m_parentLayer = a1->m_parentLayer;
v5 = v3 - 2;
m_vehicleSize = a1->m_vehicleSize;
if ( m_vehicleSize >= 1.0 )
m_vehicleSize = m_vehicleSize * 0.9;
switch ( v5 )
{
case 0:
v7 = cocos2d::CCFadeTo::create(0.05, 0);
v7->setTag(v7, 4);
cocos2d::CCNode::runAction(a1, v7);
v8 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_01_001.png");
v9 = GameManager::sharedState();
v9->m_playLayer->m_objectLayer->addChild_0(v9->m_playLayer->m_objectLayer, v8, 10000);
setPosition = v8->setPosition;
v11 = a1->getPosition(a1);
setPosition(v8, v11);
setScale = v8->setScale;
v13 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))setScale)(
v8,
(float)((float)((float)((float)((float)v13 * 4.6566e-10) + (float)((float)v13 * 4.6566e-10)) - 1.0) * 0.2) + 1.5);
v14 = v8->setScale;
v15 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v8->getScale)(v8));
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v14)(v8, v15 * m_vehicleSize);
setRotation = v8->setRotation;
v17 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))setRotation)(
v8,
(float)((float)((float)((float)v17 * 4.6566e-10) + (float)((float)v17 * 4.6566e-10)) - 1.0) * 45.0);
v18 = (cocos2d::CCArray *)rand();
if ( (float)((float)(int)v18 * 4.6566e-10) <= 0.5 )
v19 = 2;
else
v19 = 1;
v20 = (cocos2d::CCArray *)cocos2d::CCArray::create(v18);
do
{
v21 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v22 = (const char *)v19++;
v23 = v21;
v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_01_%03d.png",
v22);
CString = cocos2d::CCString::getCString(v24);
v26 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v23, CString);
cocos2d::CCArray::addObject(v20, v26);
}
while ( v19 != 12 );
v27 = (float)rand() * 4.6566e-10;
v28 = cocos2d::CCAnimation::createWithSpriteFrames(v20, (float)(v27 * 0.01) + 0.05);
v29 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v28);
v951 = 260;
v952 = 1;
v30 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v8, 260, 1);
v31 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v29, v30, 0);
cocos2d::CCNode::runAction(v8, v31);
v32 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((float)((float)(v27 * 0.01) + 0.05) * 6.0);
v33 = cocos2d::CCFadeOut::create((float)((float)(v27 * 0.01) + 0.05) * 6.0);
v34 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v32, v33, 0);
cocos2d::CCNode::runAction(v8, v34);
v36 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v35);
v36->setPositionType(v36, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v36, 99);
v36->setAutoRemoveOnFinish(v36, 1);
v37 = v36->setPosition;
v38 = a1->getPosition(a1);
v37(v36, v38);
setStartColor = v36->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
v988.g = 1.0;
setStartColor(v36, &v988);
setEndColor = v36->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
setEndColor(v36, &v988);
setStartColorVar = v36->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
setStartColorVar(v36, &v988);
setEndColorVar = v36->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
setEndColorVar(v36, &v988);
setSpeed = v36->setSpeed;
v44 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v36->getSpeed)(v36));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))setSpeed)(v36, v44 * 0.8);
v45 = 0;
v36->setScale(v36, COERCE_FLOAT(LODWORD(m_vehicleSize)));
cocos2d::CCParticleSystem::resetSystem(v36);
v46 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 110.0, 0.6, 0);
v47 = v46->__vftable;
v48 = v46;
v46->m_color.r = -1;
v46->m_color.g = -1;
v46->m_color.b = 0;
v49 = v47->setPosition;
v50 = a1->getPosition(a1);
v49((CCCircleWave *)v48, v50);
v51 = a1->m_parentLayer;
v48[1].m_unknown2 = 1058642330;
v51->addChild_0(v51, v48, 1000);
v52 = m_vehicleSize * 10.0;
v53 = m_vehicleSize * 115.0;
goto LABEL_86;
case 1:
v54 = cocos2d::CCFadeTo::create(0.05, 0);
v54->setTag(v54, 4);
cocos2d::CCNode::runAction(a1, v54);
v55 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_02_001.png");
v56 = GameManager::sharedState();
v56->m_playLayer->m_objectLayer->addChild_0(v56->m_playLayer->m_objectLayer, v55, 10000);
v57 = v55->setPosition;
v58 = a1->getPosition(a1);
v57(v55, v58);
v59 = v55->setScale;
v60 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v59)(
v55,
(float)((float)((float)((float)((float)v60 * 4.6566e-10) + (float)((float)v60 * 4.6566e-10)) - 1.0) * 0.2) + 1.2);
v61 = v55->setScale;
v62 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v55->getScale)(v55));
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v61)(v55, v62 * m_vehicleSize);
v63 = v55->setRotation;
v64 = rand();
v65 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v63)(
v55,
(float)((float)((float)((float)v64 * 4.6566e-10) + (float)((float)v64 * 4.6566e-10))
- 1.0)
* 45.0);
v66 = 2;
v67 = (cocos2d::CCArray *)cocos2d::CCArray::create(v65);
do
{
v68 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v69 = (const char *)v66++;
v70 = v68;
v71 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_02_%03d.png",
v69);
v72 = cocos2d::CCString::getCString(v71);
v73 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v70, v72);
cocos2d::CCArray::addObject(v67, v73);
}
while ( v66 != 11 );
v74 = (float)((float)((float)rand() * 4.6566e-10) * 0.01) + 0.05;
v75 = cocos2d::CCAnimation::createWithSpriteFrames(v67, v74);
v76 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v75);
v953 = 260;
v954 = 1;
v77 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v55, 260, 1);
v78 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v76, v77, 0);
cocos2d::CCNode::runAction(v55, v78);
v79 = v74 * 6.0;
v80 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v79);
v81 = cocos2d::CCFadeOut::create(v79);
v82 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v80, v81, 0);
cocos2d::CCNode::runAction(v55, v82);
v84 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v83);
v84->setPositionType(v84, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v84, 99);
v84->setAutoRemoveOnFinish(v84, 1);
v85 = v84->setPosition;
v86 = a1->getPosition(a1);
v85(v84, v86);
v87 = v84->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.78431;
v988.b = 1.0;
v87(v84, &v988);
v88 = v84->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 1.0;
v988.b = 1.0;
v88(v84, &v988);
v89 = v84->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v89(v84, &v988);
v90 = v84->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v90(v84, &v988);
v91 = v84->setSpeed;
v92 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v84->getSpeed)(v84));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v91)(v84, v92 * 0.8);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v84->setScale)(v84, m_vehicleSize * 0.8);
setStartSize = v84->setStartSize;
v94 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v84->getStartSize)(v84));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))setStartSize)(v84, v94 * 0.5);
setEndSize = v84->setEndSize;
v96 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v84->getEndSize)(v84));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))setEndSize)(v84, v96 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v84);
v45 = -1;
v97 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 110.0, 0.5, 0);
v97->m_color.r = 125;
v98 = v97;
v99 = v97->__vftable;
v97->m_color.g = -1;
v97->m_color.b = -1;
v100 = v99->setPosition;
v101 = a1->getPosition(a1);
v100(v98, v101);
v102 = a1->m_parentLayer;
v98->m_opacityMod = 1.0;
v102->addChild_0(v102, v98, 1000);
v103 = m_vehicleSize * 10.0;
v104 = m_vehicleSize * 115.0;
goto LABEL_46;
case 2:
v105 = cocos2d::CCFadeTo::create(0.05, 0);
v105->setTag(v105, 4);
cocos2d::CCNode::runAction(a1, v105);
v106 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_03_001.png");
v107 = GameManager::sharedState();
v107->m_playLayer->m_objectLayer->addChild_0(v107->m_playLayer->m_objectLayer, v106, 10000);
v108 = v106->setPosition;
v109 = a1->getPosition(a1);
v108(v106, v109);
v110 = v106->setScale;
v111 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v110)(
v106,
(float)((float)((float)((float)((float)v111 * 4.6566e-10) + (float)((float)v111 * 4.6566e-10)) - 1.0) * 0.2)
+ 1.4);
v112 = v106->setScale;
v113 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v106->getScale)(v106));
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v112)(v106, v113 * m_vehicleSize);
v114 = v106->setRotation;
v115 = rand();
v116 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v114)(
v106,
(float)((float)((float)((float)v115 * 4.6566e-10) + (float)((float)v115 * 4.6566e-10))
- 1.0)
* 45.0);
v117 = 1;
v118 = (cocos2d::CCArray *)cocos2d::CCArray::create(v116);
do
{
v119 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v120 = (const char *)v117++;
v121 = v119;
v122 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_03_%03d.png",
v120);
v123 = cocos2d::CCString::getCString(v122);
v124 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v121, v123);
cocos2d::CCArray::addObject(v118, v124);
}
while ( v117 != 11 );
v125 = (float)((float)((float)rand() * 4.6566e-10) * 0.005) + 0.04;
v126 = cocos2d::CCAnimation::createWithSpriteFrames(v118, v125);
v127 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v126);
v955 = 260;
v956 = 1;
v128 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v106, 260, 1);
v129 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v127, v128, 0);
cocos2d::CCNode::runAction(v106, v129);
v130 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v125 * 5.0);
v131 = cocos2d::CCFadeOut::create(v125 * 10.0);
v132 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v130, v131, 0);
cocos2d::CCNode::runAction(v106, v132);
v134 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectGrav.plist",
nullptr,
v133);
v134->setPositionType(v134, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v134, 99);
v134->setAutoRemoveOnFinish(v134, 1);
v135 = v134->setPosition;
v136 = a1->getPosition(a1);
v135(v134, v136);
v137 = v134->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 1.0;
v137(v134, &v988);
v138 = v134->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 1.0;
v138(v134, &v988);
v134->setBlendAdditive(v134, 0);
v139 = v134->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 0.39216;
v139(v134, &v988);
v140 = v134->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v140(v134, &v988);
v141 = v134->setSpeed;
v142 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v134->getSpeed)(v134));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v141)(v134, v142 * 0.9);
v143 = 0;
v134->setScale(v134, COERCE_FLOAT(LODWORD(m_vehicleSize)));
cocos2d::CCParticleSystem::resetSystem(v134);
v144 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 100.0, 0.5, 0);
v144->m_color.r = -106;
v145 = v144;
v146 = v144->__vftable;
v144->m_color.g = -1;
v144->m_color.b = 0;
v147 = v146->setPosition;
v148 = a1->getPosition(a1);
v147(v145, v148);
v149 = a1->m_parentLayer;
v145->m_opacityMod = 1.0;
v150 = v149->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v145->m_lineWidth = 10;
v150->addChild_0(v149, v145, 1000);
v151 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 115.0, 0.4, 0);
v151->m_color.r = 0;
v151->m_color.g = -1;
goto LABEL_29;
case 3:
v152 = cocos2d::CCFadeTo::create(0.05, 0);
v152->setTag(v152, 4);
cocos2d::CCNode::runAction(a1, v152);
v153 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_04_001.png");
v154 = GameManager::sharedState();
v154->m_playLayer->m_objectLayer->addChild_0(v154->m_playLayer->m_objectLayer, v153, 10000);
v155 = v153->setPosition;
v156 = a1->getPosition(a1);
v155(v153, v156);
v157 = v153->setScale;
v158 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v157)(
v153,
(float)((float)((float)((float)((float)v158 * 4.6566e-10) + (float)((float)v158 * 4.6566e-10)) - 1.0) * 0.1)
+ 1.2);
v159 = v153->setScale;
v160 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v153->getScale)(v153));
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v159)(v153, v160 * m_vehicleSize);
v161 = v153->setRotation;
v162 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v161)(
v153,
(float)((float)((float)((float)v162 * 4.6566e-10) + (float)((float)v162 * 4.6566e-10)) - 1.0) * 45.0);
v163 = (cocos2d::CCArray *)rand();
if ( (float)((float)(int)v163 * 4.6566e-10) <= 0.5 )
v164 = 2;
else
v164 = 1;
v165 = (cocos2d::CCArray *)cocos2d::CCArray::create(v163);
do
{
v166 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v167 = (const char *)v164++;
v168 = v166;
v169 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_04_%03d.png",
v167);
v170 = cocos2d::CCString::getCString(v169);
v171 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v168, v170);
cocos2d::CCArray::addObject(v165, v171);
}
while ( v164 != 10 );
v172 = rand();
v173 = (float)((float)((float)((float)((float)v172 * 4.6566e-10) + (float)((float)v172 * 4.6566e-10)) - 1.0)
* 0.005)
+ 0.05;
v174 = cocos2d::CCAnimation::createWithSpriteFrames(v165, v173);
v175 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v174);
v957 = 260;
v958 = 1;
v176 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v153, 260, 1);
v177 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v175, v176, 0);
cocos2d::CCNode::runAction(v153, v177);
v178 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v173 * 8.0);
v179 = cocos2d::CCFadeOut::create(v173 * 6.0);
v180 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v178, v179, 0);
cocos2d::CCNode::runAction(v153, v180);
v182 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v181);
v182->setPositionType(v182, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v182, 101);
v182->setAutoRemoveOnFinish(v182, 1);
v183 = v182->setPosition;
v184 = a1->getPosition(a1);
v183(v182, v184);
v185 = v182->setStartColor;
v988.a = 1.0;
v988.g = 0.39216;
v988.r = 1.0;
v988.b = 1.0;
v185(v182, &v988);
v186 = v182->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.b = 0.58824;
v988.r = 1.0;
v186(v182, &v988);
v187 = v182->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v187(v182, &v988);
v188 = v182->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v188(v182, &v988);
v189 = v182->setSpeed;
v190 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v182->getSpeed)(v182);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v189)(v182, v190);
v143 = -1;
v182->setScale(v182, COERCE_FLOAT(LODWORD(m_vehicleSize)));
cocos2d::CCParticleSystem::resetSystem(v182);
v191 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 110.0, 0.5, 0);
v191->m_color.g = 100;
v192 = v191;
v193 = v191->__vftable;
v191->m_color.r = -1;
v191->m_color.b = -1;
v194 = v193->setPosition;
v195 = a1->getPosition(a1);
v194(v192, v195);
v196 = a1->m_parentLayer;
v192->m_opacityMod = 1.0;
v196->addChild_0(v196, v192, 1000);
v151 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 115.0, 0.4, 0);
*(_WORD *)&v151->m_color.r = 255;
LABEL_29:
v197 = v151->__vftable;
v151->m_color.b = v143;
v198 = v197->setPosition;
v199 = a1->getPosition(a1);
v198(v151, v199);
v151->m_lineWidth = 10;
v151->m_circleMode = Outline;
goto LABEL_90;
case 4:
v200 = cocos2d::CCFadeTo::create(0.05, 0);
v200->setTag(v200, 4);
cocos2d::CCNode::runAction(a1, v200);
v201 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_05_001.png");
v202 = GameManager::sharedState();
v202->m_playLayer->m_objectLayer->addChild_0(v202->m_playLayer->m_objectLayer, v201, 10000);
v203 = v201->setPosition;
v204 = a1->getPosition(a1);
v203(v201, v204);
v205 = v201->setScale;
v206 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v205)(
v201,
(float)((float)((float)((float)((float)v206 * 4.6566e-10) + (float)((float)v206 * 4.6566e-10)) - 1.0) * 0.15)
+ 1.25);
v207 = v201->setScale;
v208 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v201->getScale)(v201));
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v207)(v201, v208 * m_vehicleSize);
v209 = v201->setRotation;
v210 = rand();
v211 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v209)(
v201,
(float)((float)((float)((float)v210 * 4.6566e-10) + (float)((float)v210 * 4.6566e-10))
- 1.0)
* 45.0);
v212 = (cocos2d::CCArray *)cocos2d::CCArray::create(v211);
if ( (float)((float)rand() * 4.6566e-10) <= 0.5 )
v213 = 3;
else
v213 = 2;
do
{
v214 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v215 = (const char *)v213++;
v216 = v214;
v217 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_05_%03d.png",
v215);
v218 = cocos2d::CCString::getCString(v217);
v219 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v216, v218);
cocos2d::CCArray::addObject(v212, v219);
}
while ( v213 != 11 );
v220 = rand();
v221 = (float)((float)((float)((float)((float)v220 * 4.6566e-10) + (float)((float)v220 * 4.6566e-10)) - 1.0)
* 0.005)
+ 0.05;
v222 = cocos2d::CCAnimation::createWithSpriteFrames(v212, v221);
v223 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v222);
v959 = 260;
v960 = 1;
v224 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v201, 260, 1);
v225 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v223, v224, 0);
cocos2d::CCNode::runAction(v201, v225);
v226 = v221 * 6.0;
v227 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v226);
v228 = cocos2d::CCFadeOut::create(v226);
v229 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v227, v228, 0);
cocos2d::CCNode::runAction(v201, v229);
v231 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v230);
v231->setPositionType(v231, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v231, 99);
v231->setAutoRemoveOnFinish(v231, 1);
v232 = v231->setPosition;
v233 = a1->getPosition(a1);
v232(v231, v233);
v234 = v231->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.78431;
v988.r = 1.0;
v234(v231, &v988);
v235 = v231->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.58824;
v988.r = 1.0;
v235(v231, &v988);
v236 = v231->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v236(v231, &v988);
v237 = v231->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v237(v231, &v988);
v238 = v231->setSpeed;
v239 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v231->getSpeed)(v231));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v238)(v231, v239 * 0.8);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v231->setScale)(v231, m_vehicleSize * 0.8);
v240 = v231->setStartSize;
v241 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v231->getStartSize)(v231));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v240)(v231, v241 * 0.5);
v242 = v231->setEndSize;
v243 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v231->getEndSize)(v231));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v242)(v231, v243 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v231);
v45 = 0;
v244 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 110.0, 0.5, 0);
v244->m_color.g = -56;
v245 = v244;
v246 = v244->__vftable;
v244->m_color.r = -1;
v244->m_color.b = 0;
v247 = v246->setPosition;
v248 = a1->getPosition(a1);
v247(v245, v248);
v249 = a1->m_parentLayer;
v245->m_opacityMod = 1.0;
v249->addChild_0(v249, v245, 1000);
v250 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 115.0, 0.4, 0);
v250->m_color.r = -1;
v250->m_color.g = -1;
goto LABEL_88;
case 5:
v251 = cocos2d::CCFadeTo::create(0.05, 0);
v251->setTag(v251, 4);
cocos2d::CCNode::runAction(a1, v251);
v252 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_06_001.png");
v253 = GameManager::sharedState();
v253->m_playLayer->m_objectLayer->addChild_0(v253->m_playLayer->m_objectLayer, v252, 10000);
v254 = rand();
v255 = v252->setPosition;
v256 = vcvts_n_f32_s32(v254, 0x1Fu);
v257 = a1->getPosition(a1);
v258 = (float)((float)((float)((float)(v256 + v256) - 1.0) * 0.15) + 1.3) * m_vehicleSize;
v255(v252, v257);
v259 = 1;
v260 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, float))v252->setScale)(
v252,
COERCE_FLOAT(LODWORD(v258)));
v261 = (cocos2d::CCArray *)cocos2d::CCArray::create(v260);
do
{
v262 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v263 = (const char *)v259++;
v264 = v262;
v265 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_06_%03d.png",
v263);
v266 = cocos2d::CCString::getCString(v265);
v267 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v264, v266);
cocos2d::CCArray::addObject(v261, v267);
}
while ( v259 != 14 );
v268 = cocos2d::CCAnimation::createWithSpriteFrames(v261, 0.055);
v269 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v268);
v961 = 260;
v962 = 1;
v270 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v252, 260, 1);
v271 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v269, v270, 0);
cocos2d::CCNode::runAction(v252, v271);
v272 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.44);
v273 = cocos2d::CCFadeOut::create(0.33);
v274 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v272, v273, 0);
cocos2d::CCNode::runAction(v252, v274);
v276 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectGrav.plist",
nullptr,
v275);
v276->setPositionType(v276, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v276, 99);
v276->setAutoRemoveOnFinish(v276, 1);
v277 = v276->setPosition;
v278 = a1->getPosition(a1);
v277(v276, v278);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v276->setAngleVar)(v276, 1106247680);
v279 = v276->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.78431;
v988.r = 1.0;
v279(v276, &v988);
v280 = v276->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.19608;
v988.r = 1.0;
v280(v276, &v988);
v276->setBlendAdditive(v276, 0);
v281 = v276->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
*(_QWORD *)&v988.r = 0x3D20A0A13D20A0A1LL;
v281(v276, &v988);
v282 = v276->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v282(v276, &v988);
v283 = v276->setSpeed;
v284 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v276->getSpeed)(v276);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v283)(v276, v284);
v45 = 0;
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v276->setScale)(
v276,
(float)((float)((float)((float)(v256 + v256) - 1.0) * 0.15) + 1.3) * m_vehicleSize);
cocos2d::CCParticleSystem::resetSystem(v276);
v285 = CCCircleWave::create(v258 * 10.0, v258 * 110.0, 0.6, 0);
v285->m_color.g = -56;
v286 = v285;
v287 = v285->__vftable;
v285->m_color.r = -1;
v285->m_color.b = 0;
v288 = v287->setPosition;
v289 = a1->getPosition(a1);
v288(v286, v289);
v290 = a1->m_parentLayer;
v286->m_opacityMod = 1.0;
v290->addChild_0(v290, v286, 1000);
v52 = v258 * 10.0;
v53 = v258 * 115.0;
goto LABEL_86;
case 6:
v291 = cocos2d::CCFadeTo::create(0.05, 0);
v291->setTag(v291, 4);
cocos2d::CCNode::runAction(a1, v291);
v292 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_07_001.png");
v293 = GameManager::sharedState();
v293->m_playLayer->m_objectLayer->addChild_0(v293->m_playLayer->m_objectLayer, v292, 10000);
v294 = rand();
v295 = v292->setPosition;
v296 = v294;
v297 = a1->getPosition(a1);
v298 = (float)((float)((float)((float)((float)((float)v296 * 4.6566e-10) + (float)((float)v296 * 4.6566e-10)) - 1.0)
* 0.2)
+ 1.3)
* m_vehicleSize;
v295(v292, v297);
v292->setScale(v292, COERCE_FLOAT(LODWORD(v298)));
v299 = v292->setRotation;
v300 = rand();
v301 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v299)(
v292,
(float)((float)((float)((float)v300 * 4.6566e-10) + (float)((float)v300 * 4.6566e-10))
- 1.0)
* 90.0);
v302 = (cocos2d::CCArray *)cocos2d::CCArray::create(v301);
if ( (float)((float)rand() * 4.6566e-10) <= 0.5 )
v303 = 2;
else
v303 = 1;
do
{
v304 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v305 = (const char *)v303++;
v306 = v304;
v307 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_07_%03d.png",
v305);
v308 = cocos2d::CCString::getCString(v307);
v309 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v306, v308);
cocos2d::CCArray::addObject(v302, v309);
}
while ( v303 != 12 );
v310 = (float)rand() * 4.6566e-10;
v311 = cocos2d::CCAnimation::createWithSpriteFrames(v302, (float)(v310 * 0.005) + 0.04);
v312 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v311);
v963 = 260;
v964 = 1;
v313 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v292, 260, 1);
v314 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v312, v313, 0);
cocos2d::CCNode::runAction(v292, v314);
v315 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((float)((float)(v310 * 0.005) + 0.04) * 6.0);
v316 = cocos2d::CCFadeOut::create((float)((float)(v310 * 0.005) + 0.04) * 6.0);
v317 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v315, v316, 0);
cocos2d::CCNode::runAction(v292, v317);
v319 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v318);
v319->setPositionType(v319, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v319, 99);
v319->setAutoRemoveOnFinish(v319, 1);
v320 = v319->setPosition;
v321 = a1->getPosition(a1);
v320(v319, v321);
v322 = v319->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
v988.b = 1.0;
v322(v319, &v988);
v323 = v319->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.b = 0.78431;
v988.r = 1.0;
v323(v319, &v988);
v324 = v319->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v324(v319, &v988);
v325 = v319->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v325(v319, &v988);
v326 = v319->setSpeed;
v327 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v319->getSpeed)(v319));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v326)(v319, v327 * 0.8);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v319->setScale)(v319, v298 * 0.8);
v328 = v319->setStartSize;
v329 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v319->getStartSize)(v319));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v328)(v319, v329 * 0.5);
v330 = v319->setEndSize;
v331 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v319->getEndSize)(v319));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v330)(v319, v331 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v319);
v332 = CCCircleWave::create(v298 * 10.0, v298 * 85.0, 0.5, 0);
v333 = v332->__vftable;
v334 = v332;
v332->m_color.r = -1;
v332->m_color.g = 0;
v332->m_color.b = -1;
v335 = v333->setPosition;
v336 = a1->getPosition(a1);
v335((CCCircleWave *)v334, v336);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v334, 1000);
v337 = CCCircleWave::create(v298 * 10.0, v298 * 90.0, 0.4, 0);
b = -56;
v250 = v337;
v337->m_color.r = -1;
v337->m_color.g = 0;
goto LABEL_54;
case 7:
v339 = cocos2d::CCFadeTo::create(0.05, 0);
v339->setTag(v339, 4);
cocos2d::CCNode::runAction(a1, v339);
v340 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_08_001.png");
v341 = GameManager::sharedState();
v341->m_playLayer->m_objectLayer->addChild_0(v341->m_playLayer->m_objectLayer, v340, 10000);
setBlendFunc = v340->setBlendFunc;
v985 = 770;
v986 = 1;
((void (__fastcall *)(cocos2d::CCSprite *, int, int, int *))setBlendFunc)(v340, 770, 1, &v985);
v343 = rand();
v344 = v340->setPosition;
v345 = (float)((float)((float)((float)v343 * 4.6566e-10) * 0.1) + 0.8) * m_vehicleSize;
v346 = a1->getPosition(a1);
cocos2d::CCPoint::CCPoint(&v987, 0.0, 6.0);
cocos2d::CCPoint::operator+(&v988, v346, &v987);
v344(v340, (const cocos2d::CCPoint *)&v988);
v340->setScale(v340, COERCE_FLOAT(LODWORD(v345)));
v347 = v340->setRotation;
v348 = rand();
v349 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v347)(
v340,
(float)-(float)(4.6566e-10 * (float)v348) * 45.0);
v350 = 2;
v351 = (cocos2d::CCArray *)cocos2d::CCArray::create(v349);
rand();
do
{
v352 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v353 = (const char *)v350++;
v945 = v352;
v354 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_08_%03d.png",
v353);
v355 = cocos2d::CCString::getCString(v354);
v356 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v945, v355);
cocos2d::CCArray::addObject(v351, v356);
}
while ( v350 != 12 );
v357 = (float)((float)((float)rand() * 4.6566e-10) * 0.01) + 0.045;
v358 = cocos2d::CCAnimation::createWithSpriteFrames(v351, v357);
v359 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v358);
v965 = 260;
v966 = 1;
v360 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v340, 260, 1);
v361 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v359, v360, 0);
cocos2d::CCNode::runAction(v340, v361);
v362 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v357 * 5.0);
v363 = cocos2d::CCFadeOut::create(v357 * 8.0);
v364 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v362, v363, 0);
cocos2d::CCNode::runAction(v340, v364);
v366 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v365);
v366->setPositionType(v366, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v366, 99);
v366->setAutoRemoveOnFinish(v366, 1);
v367 = v366->setPosition;
v368 = a1->getPosition(a1);
v367(v366, v368);
v369 = v366->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 1.0;
v988.b = 1.0;
v369(v366, &v988);
v370 = v366->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.58824;
v988.b = 1.0;
v370(v366, &v988);
v366->setBlendAdditive(v366, 1);
v371 = v366->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v371(v366, &v988);
v372 = v366->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v372(v366, &v988);
v373 = v366->setSpeed;
v374 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v366->getSpeed)(v366));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v373)(v366, v374 * 0.9);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v366->setScale)(v366, v345 * 1.4);
setPosVar = v366->setPosVar;
v376 = (int)v366->getPosVar(v366);
cocos2d::CCPoint::operator*(&v988, v376, 1067030938);
setPosVar(v366, (const cocos2d::CCPoint *)&v988);
v377 = v366->setStartSize;
v378 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v366->getStartSize)(v366));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v377)(v366, v378 * 0.8);
v379 = v366->setEndSize;
v380 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v366->getEndSize)(v366));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v379)(v366, v380 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v366);
v45 = -1;
v381 = CCCircleWave::create(v345 * 10.0, v345 * 120.0, v357 * 10.0, 0);
v381->m_color.r = 75;
v382 = v381;
v383 = v381->__vftable;
v381->m_color.g = -1;
v381->m_color.b = -1;
v384 = v383->setPosition;
v385 = a1->getPosition(a1);
v384((CCCircleWave *)v382, v385);
v386 = a1->m_parentLayer;
v382[1].m_unknown2 = 1061997773;
v386->addChild_0(v386, v382, 1000);
v103 = v345 * 10.0;
v104 = v345 * 115.0;
LABEL_46:
v250 = CCCircleWave::create(v103, v104, 0.4, 0);
v250->m_color.r = 0;
goto LABEL_47;
case 8:
v387 = cocos2d::CCFadeTo::create(0.05, 0);
v387->setTag(v387, 4);
cocos2d::CCNode::runAction(a1, v387);
v388 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_09_001.png");
v389 = GameManager::sharedState();
v389->m_playLayer->m_objectLayer->addChild_0(v389->m_playLayer->m_objectLayer, v388, 10000);
v390 = v388->setPosition;
v391 = a1->getPosition(a1);
v390(v388, v391);
v392 = v388->setScale;
v393 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v392)(
v388,
(float)((float)((float)((float)((float)v393 * 4.6566e-10) + (float)((float)v393 * 4.6566e-10)) - 1.0) * 0.1)
+ 1.0);
v394 = v388->setScale;
v395 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v388->getScale)(v388));
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v394)(v388, v395 * m_vehicleSize);
v396 = v388->setRotation;
v397 = rand();
v398 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v396)(
v388,
(float)((float)((float)((float)v397 * 4.6566e-10) + (float)((float)v397 * 4.6566e-10))
- 1.0)
* 45.0);
v399 = 2;
v400 = (cocos2d::CCArray *)cocos2d::CCArray::create(v398);
do
{
v401 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v402 = (const char *)v399++;
v403 = v401;
v404 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_09_%03d.png",
v402);
v405 = cocos2d::CCString::getCString(v404);
v406 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v403, v405);
cocos2d::CCArray::addObject(v400, v406);
}
while ( v399 != 14 );
v407 = rand();
v408 = (float)((float)((float)((float)((float)v407 * 4.6566e-10) + (float)((float)v407 * 4.6566e-10)) - 1.0)
* 0.005)
+ 0.045;
v409 = cocos2d::CCAnimation::createWithSpriteFrames(v400, v408);
v410 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v409);
v967 = 260;
v968 = 1;
v411 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v388, 260, 1);
v412 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v410, v411, 0);
cocos2d::CCNode::runAction(v388, v412);
v413 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v408 * 10.0);
v414 = cocos2d::CCFadeOut::create(v408 * 3.0);
v415 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v413, v414, 0);
cocos2d::CCNode::runAction(v388, v415);
v417 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v416);
v417->setPositionType(v417, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v417, 101);
v417->setAutoRemoveOnFinish(v417, 1);
v417->setBlendAdditive(v417, 1);
v418 = v417->setPosition;
v419 = a1->getPosition(a1);
v418(v417, v419);
v420 = v417->setStartColor;
v988.a = 1.0;
v988.r = 0.78431;
v988.g = 1.0;
v988.b = 1.0;
v420(v417, &v988);
v421 = v417->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.39216;
v988.b = 1.0;
v421(v417, &v988);
v422 = v417->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v422(v417, &v988);
v423 = v417->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v423(v417, &v988);
v424 = v417->setSpeed;
v425 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v417->getSpeed)(v417);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v424)(v417, v425);
v426 = v417->setScale;
v427 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCSprite *))v388->getScale)(v388));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v426)(v417, (float)(m_vehicleSize * 1.2) * v427);
v428 = v417->setStartSize;
v429 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v417->getStartSize)(v417));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v428)(v417, v429 * 1.2);
v430 = v417->setEndSize;
v431 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v417->getEndSize)(v417));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v430)(v417, v431 * 0.5);
cocos2d::CCParticleSystem::resetSystem(v417);
v45 = -1;
v432 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 120.0, 0.5, 0);
v432->m_color.g = -56;
v433 = v432;
v434 = v432->__vftable;
v432->m_color.r = 0;
v432->m_color.b = -1;
v435 = v434->setPosition;
v436 = a1->getPosition(a1);
v435(v433, v436);
v437 = a1->m_parentLayer;
v433->m_opacityMod = 1.0;
v437->addChild_0(v437, v433, 1000);
v250 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 125.0, 0.4, 0);
v250->m_color.r = 0;
LABEL_47:
v250->m_color.g = -1;
goto LABEL_88;
case 9:
v438 = cocos2d::CCFadeTo::create(0.05, 0);
v438->setTag(v438, 4);
cocos2d::CCNode::runAction(a1, v438);
v439 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_10_001.png");
v440 = GameManager::sharedState();
v440->m_playLayer->m_objectLayer->addChild_0(v440->m_playLayer->m_objectLayer, v439, 10000);
v441 = v439->setBlendFunc;
LODWORD(v987.x) = 770;
LODWORD(v987.y) = 1;
((void (__fastcall *)(cocos2d::CCSprite *, int, int, cocos2d::CCPoint *))v441)(v439, 770, 1, &v987);
v442 = rand();
v443 = v439->setPosition;
v444 = (float)v442;
v445 = a1->getPosition(a1);
v446 = (float)((float)((float)((float)((float)(v444 * 4.6566e-10) + (float)(v444 * 4.6566e-10)) - 1.0) * 0.3) + 1.5)
* m_vehicleSize;
v443(v439, v445);
v447 = 1;
v448 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, float))v439->setScale)(
v439,
COERCE_FLOAT(LODWORD(v446)));
v449 = (cocos2d::CCArray *)cocos2d::CCArray::create(v448);
do
{
v450 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v451 = (const char *)v447++;
v452 = v450;
v453 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_10_%03d.png",
v451);
v454 = cocos2d::CCString::getCString(v453);
v455 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v452, v454);
cocos2d::CCArray::addObject(v449, v455);
}
while ( v447 != 13 );
v456 = rand();
v457 = (float)((float)((float)((float)((float)v456 * 4.6566e-10) + (float)((float)v456 * 4.6566e-10)) - 1.0)
* 0.005)
+ 0.035;
v458 = cocos2d::CCAnimation::createWithSpriteFrames(v449, v457);
v459 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v458);
v969 = 260;
v970 = 1;
v460 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v439, 260, 1);
v461 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v459, v460, 0);
cocos2d::CCNode::runAction(v439, v461);
v462 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v457 * 7.0);
v463 = cocos2d::CCFadeOut::create(v457 * 6.0);
v464 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v462, v463, 0);
cocos2d::CCNode::runAction(v439, v464);
v465 = (cocos2d::CCSequence *)cocos2d::CCTintTo::create(
v457 + v457,
a1->m_playerColor1.r,
a1->m_playerColor1.g,
a1->m_playerColor1.b);
v466 = cocos2d::CCTintTo::create(v457 * 8.0, a1->m_playerColor2.r, a1->m_playerColor2.g, a1->m_playerColor2.b);
v467 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v465, v466, 0);
cocos2d::CCNode::runAction(v439, v467);
v469 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v468);
v469->setPositionType(v469, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v469, 101);
v469->setAutoRemoveOnFinish(v469, 1);
v469->setBlendAdditive(v469, 1);
v470 = v469->setPosition;
v471 = a1->getPosition(a1);
v470(v469, v471);
v472 = v469->setStartColor;
sub_565FC0(&v988.r, *(unsigned __int16 *)&a1->m_playerColor1.r | (a1->m_playerColor1.b << 16));
v472(v469, &v988);
v473 = v469->setEndColor;
sub_565FC0(&v988.r, a1->m_playerColor2.r | (a1->m_playerColor2.g << 8) | (a1->m_playerColor2.b << 16));
v473(v469, &v988);
v474 = v469->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v474(v469, &v988);
v475 = v469->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v475(v469, &v988);
v476 = v469->setSpeed;
v477 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v469->getSpeed)(v469);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v476)(v469, v477);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v469->setScale)(v469, v446 * 1.1);
v478 = v469->setStartSize;
v479 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v469->getStartSize)(v469));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v478)(v469, v479 * 1.2);
v480 = v469->setEndSize;
v481 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v469->getEndSize)(v469));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v480)(v469, v481 * 0.5);
cocos2d::CCParticleSystem::resetSystem(v469);
v482 = CCCircleWave::create(v446 * 10.0, v446 * 80.0, 0.5, 0);
g = a1->m_playerColor1.g;
r = a1->m_playerColor1.r;
v482->m_color.b = a1->m_playerColor1.b;
v485 = v482;
v486 = v482->__vftable;
v482->m_color.g = g;
v482->m_color.r = r;
v487 = v486->setPosition;
v488 = a1->getPosition(a1);
v487(v485, v488);
v489 = a1->m_parentLayer;
v485->m_opacityMod = 1.0;
v489->addChild_0(v489, v485, 1000);
v490 = CCCircleWave::create(v446 * 10.0, v446 * 90.0, 0.4, 0);
v491 = a1->m_playerColor1.g;
b = a1->m_playerColor1.b;
v250 = v490;
v490->m_color.r = a1->m_playerColor1.r;
v490->m_color.g = v491;
goto LABEL_54;
case 10:
v492 = cocos2d::CCFadeTo::create(0.05, 0);
v492->setTag(v492, 4);
cocos2d::CCNode::runAction(a1, v492);
v493 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_11_001.png");
v494 = GameManager::sharedState();
v494->m_playLayer->m_objectLayer->addChild_0(v494->m_playLayer->m_objectLayer, v493, 10000);
v495 = rand();
v496 = v493->setPosition;
v497 = v495;
v498 = a1->getPosition(a1);
v499 = (float)((float)((float)((float)((float)((float)v497 * 4.6566e-10) + (float)((float)v497 * 4.6566e-10)) - 1.0)
* 0.1)
+ 1.25)
* m_vehicleSize;
v496(v493, v498);
v493->setScale(v493, COERCE_FLOAT(LODWORD(v499)));
v500 = v493->setRotation;
v501 = rand();
v502 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v500)(
v493,
(float)((float)((float)((float)v501 * 4.6566e-10) + (float)((float)v501 * 4.6566e-10))
- 1.0)
* 45.0);
v503 = 1;
v504 = (cocos2d::CCArray *)cocos2d::CCArray::create(v502);
do
{
v505 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v506 = (const char *)v503++;
v507 = v505;
v508 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_11_%03d.png",
v506);
v509 = cocos2d::CCString::getCString(v508);
v510 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v507, v509);
cocos2d::CCArray::addObject(v504, v510);
}
while ( v503 != 13 );
v511 = rand();
v512 = (float)((float)((float)((float)((float)v511 * 4.6566e-10) + (float)((float)v511 * 4.6566e-10)) - 1.0)
* 0.005)
+ 0.04;
v513 = cocos2d::CCAnimation::createWithSpriteFrames(v504, v512);
v514 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v513);
v971 = 260;
v972 = 1;
v515 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v493, 260, 1);
v516 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v514, v515, 0);
cocos2d::CCNode::runAction(v493, v516);
v517 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v512 * 7.0);
v518 = cocos2d::CCFadeOut::create(v512 * 6.0);
cocos2d::CCSequence::create(v517, v518, 0);
v520 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v519);
v520->setPositionType(v520, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v520, 101);
v520->setAutoRemoveOnFinish(v520, 1);
v520->setBlendAdditive(v520, 1);
v521 = v520->setPosition;
v522 = a1->getPosition(a1);
v521(v520, v522);
v523 = v520->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
v988.g = 1.0;
v523(v520, &v988);
v524 = v520->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
v524(v520, &v988);
v525 = v520->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v525(v520, &v988);
v526 = v520->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v526(v520, &v988);
v527 = v520->setSpeed;
v528 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v520->getSpeed)(v520));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v527)(v520, v528 * 1.2);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v520->setScale)(v520, v499 * 1.2);
v529 = v520->setStartSize;
v530 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v520->getStartSize)(v520);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v529)(v520, v530);
v531 = v520->setEndSize;
v532 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v520->getEndSize)(v520));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v531)(v520, v532 * 0.5);
cocos2d::CCParticleSystem::resetSystem(v520);
v45 = 0;
v533 = CCCircleWave::create(v499 * 10.0, v499 * 125.0, 0.5, 0);
v533->m_color.g = 100;
v534 = v533;
v535 = v533->__vftable;
v533->m_color.r = -1;
v533->m_color.b = 0;
v536 = v535->setPosition;
v537 = a1->getPosition(a1);
v536((CCCircleWave *)v534, v537);
v538 = a1->m_parentLayer;
v534[1].m_unknown2 = 1061997773;
v538->addChild_0(v538, v534, 1000);
v539 = CCCircleWave::create(v499 * 10.0, v499 * 135.0, 0.4, 0);
v540 = -81;
v250 = v539;
v539->m_color.r = -1;
goto LABEL_87;
case 11:
v541 = cocos2d::CCFadeTo::create(0.05, 0);
v541->setTag(v541, 4);
cocos2d::CCNode::runAction(a1, v541);
v542 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_12_001.png");
v543 = GameManager::sharedState();
v543->m_playLayer->m_objectLayer->addChild_0(v543->m_playLayer->m_objectLayer, v542, 10000);
v544 = rand();
v545 = v542->setPosition;
v546 = (float)((float)((float)((float)v544 * 4.6566e-10) * 0.2) + 0.9) * m_vehicleSize;
v547 = a1->getPosition(a1);
cocos2d::CCPoint::CCPoint(&v987, 0.0, 6.0);
cocos2d::CCPoint::operator+(&v988, v547, &v987);
v545(v542, (const cocos2d::CCPoint *)&v988);
v542->setScale(v542, COERCE_FLOAT(LODWORD(v546)));
v548 = v542->setRotation;
v549 = rand();
v550 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v548)(
v542,
(float)((float)((float)((float)v549 * 4.6566e-10) + (float)((float)v549 * 4.6566e-10))
- 1.0)
* 45.0);
v551 = 1;
v552 = (cocos2d::CCArray *)cocos2d::CCArray::create(v550);
do
{
v553 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v554 = (const char *)v551++;
v946 = v553;
v555 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_12_%03d.png",
v554);
v556 = cocos2d::CCString::getCString(v555);
v557 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v946, v556);
cocos2d::CCArray::addObject(v552, v557);
}
while ( v551 != 13 );
v558 = (float)((float)((float)rand() * 4.6566e-10) * 0.005) + 0.04;
v559 = cocos2d::CCAnimation::createWithSpriteFrames(v552, v558);
v560 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v559);
v973 = 260;
v974 = 1;
v561 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v542, 260, 1);
v562 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v560, v561, 0);
cocos2d::CCNode::runAction(v542, v562);
v563 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v558 * 5.0);
v564 = cocos2d::CCFadeOut::create(v558 * 8.0);
cocos2d::CCSequence::create(v563, v564, 0);
v566 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v565);
v566->setPositionType(v566, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v566, 1000);
v566->setAutoRemoveOnFinish(v566, 1);
v567 = v566->setPosition;
v568 = a1->getPosition(a1);
v567(v566, v568);
v569 = v566->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
v988.g = 1.0;
v569(v566, &v988);
v570 = v566->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 1.0;
v570(v566, &v988);
v566->setBlendAdditive(v566, 1);
v571 = v566->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v571(v566, &v988);
v572 = v566->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v572(v566, &v988);
v573 = v566->setSpeed;
v574 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v566->getSpeed)(v566));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v573)(v566, v574 * 0.9);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v566->setScale)(v566, v546 * 1.5);
v575 = v566->setPosVar;
v576 = (int)v566->getPosVar(v566);
cocos2d::CCPoint::operator*(&v988, v576, 1067030938);
v575(v566, (const cocos2d::CCPoint *)&v988);
v577 = v566->setStartSize;
v578 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v566->getStartSize)(v566));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v577)(v566, v578 * 0.8);
v579 = v566->setEndSize;
v580 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v566->getEndSize)(v566));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v579)(v566, v580 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v566);
v581 = CCCircleWave::create(v546 * 10.0, v546 * 120.0, v558 * 10.0, 0);
v581->m_color.r = 50;
v582 = v581;
v581->m_color.b = 50;
v583 = v581->__vftable;
v581->m_color.g = -1;
v584 = v583->setPosition;
v585 = a1->getPosition(a1);
v584(v582, v585);
v586 = a1->m_parentLayer;
v582->m_opacityMod = 1.0;
v586->addChild_0(v586, v582, 1000);
v587 = CCCircleWave::create(v546 * 10.0, v546 * 115.0, 0.4, 0);
b = 0;
v250 = v587;
v587->m_color.r = 0;
v587->m_color.g = -1;
LABEL_54:
v250->m_color.b = b;
goto LABEL_89;
case 12:
v588 = cocos2d::CCFadeTo::create(0.05, 0);
v588->setTag(v588, 4);
cocos2d::CCNode::runAction(a1, v588);
v589 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_13_001.png");
v590 = GameManager::sharedState();
v590->m_playLayer->m_objectLayer->addChild_0(v590->m_playLayer->m_objectLayer, v589, 10000);
v591 = v589->setBlendFunc;
v985 = 770;
v986 = 1;
((void (__fastcall *)(cocos2d::CCSprite *, int, int, int *))v591)(v589, 770, 1, &v985);
v592 = rand();
v593 = v589->setPosition;
v594 = (float)((float)((float)((float)v592 * 4.6566e-10) * 0.4) + 1.0) * m_vehicleSize;
v595 = a1->getPosition(a1);
cocos2d::CCPoint::CCPoint(&v987, 0.0, 6.0);
cocos2d::CCPoint::operator+(&v988, v595, &v987);
v593(v589, (const cocos2d::CCPoint *)&v988);
v589->setScale(v589, COERCE_FLOAT(LODWORD(v594)));
if ( (float)((float)rand() * 4.6566e-10) >= 0.25 )
{
if ( (float)((float)rand() * 4.6566e-10) >= 0.25 )
{
v596 = (cocos2d::CCArray *)rand();
if ( (float)((float)(int)v596 * 4.6566e-10) < 0.25 )
v596 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, int))v589->setRotation)(
v589,
1132920832);
}
else
{
v596 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, int))v589->setRotation)(v589, 1127481344);
}
}
else
{
v596 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, int))v589->setRotation)(v589, 1119092736);
}
v597 = 3;
v598 = v594 * 0.8;
v599 = (cocos2d::CCArray *)cocos2d::CCArray::create(v596);
do
{
v600 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v601 = (const char *)v597++;
v947 = v600;
v602 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_13_%03d.png",
v601);
v603 = cocos2d::CCString::getCString(v602);
v604 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v947, v603);
cocos2d::CCArray::addObject(v599, v604);
}
while ( v597 != 13 );
v605 = (float)((float)((float)rand() * 4.6566e-10) * 0.005) + 0.045;
v606 = cocos2d::CCAnimation::createWithSpriteFrames(v599, v605);
v607 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v606);
v975 = 260;
v976 = 1;
v608 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v589, 260, 1);
v609 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v607, v608, 0);
cocos2d::CCNode::runAction(v589, v609);
v610 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v605 * 5.0);
v611 = cocos2d::CCFadeOut::create(v605 * 8.0);
cocos2d::CCSequence::create(v610, v611, 0);
v613 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v612);
v613->setPositionType(v613, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v613, 99);
v613->setAutoRemoveOnFinish(v613, 1);
v614 = v613->setPosition;
v615 = a1->getPosition(a1);
v614(v613, v615);
v616 = v613->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.r = 1.0;
v988.b = 1.0;
v616(v613, &v988);
v617 = v613->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.b = 1.0;
v617(v613, &v988);
v613->setBlendAdditive(v613, 1);
v618 = v613->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v618(v613, &v988);
v619 = v613->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v619(v613, &v988);
v620 = v613->setSpeed;
v621 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v613->getSpeed)(v613));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v620)(v613, v621 * 0.9);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v613->setScale)(v613, v598 * 1.4);
v622 = v613->setPosVar;
v623 = (int)v613->getPosVar(v613);
cocos2d::CCPoint::operator*(&v988, v623, 1067030938);
v622(v613, (const cocos2d::CCPoint *)&v988);
v624 = v613->setStartSize;
v625 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v613->getStartSize)(v613));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v624)(v613, v625 * 0.8);
v626 = v613->setEndSize;
v627 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v613->getEndSize)(v613));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v626)(v613, v627 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v613);
v628 = CCCircleWave::create(v598 * 10.0, v598 * 120.0, v605 * 10.0, 0);
v628->m_color.g = -56;
v629 = v628;
v630 = v628->__vftable;
v628->m_color.r = 0;
v628->m_color.b = -1;
v631 = v630->setPosition;
v632 = a1->getPosition(a1);
v631((CCCircleWave *)v629, v632);
v633 = a1->m_parentLayer;
v629[1].m_unknown2 = 1061997773;
v633->addChild_0(v633, v629, 1000);
v634 = v598 * 10.0;
v635 = v598 * 115.0;
goto LABEL_73;
case 13:
v636 = cocos2d::CCFadeTo::create(0.05, 0);
v636->setTag(v636, 4);
cocos2d::CCNode::runAction(a1, v636);
v637 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_14_002.png");
v638 = GameManager::sharedState();
v638->m_playLayer->m_objectLayer->addChild_0(v638->m_playLayer->m_objectLayer, v637, 10000);
v639 = v637->setBlendFunc;
v985 = 770;
v986 = 1;
((void (__fastcall *)(cocos2d::CCSprite *, int, int, int *))v639)(v637, 770, 1, &v985);
v640 = rand();
v641 = v637->setPosition;
v642 = v640;
v643 = a1->getPosition(a1);
cocos2d::CCPoint::CCPoint(&v987, 0.0, 6.0);
cocos2d::CCPoint::operator+(&v988, v643, &v987);
v641(v637, (const cocos2d::CCPoint *)&v988);
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v637->setScale)(
v637,
(float)((float)((float)((float)v642 * 4.6566e-10) * 0.2) + 1.0) * m_vehicleSize);
v644 = v637->setRotation;
v645 = rand();
v646 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v644)(
v637,
(float)((float)((float)((float)v645 * 4.6566e-10) + (float)((float)v645 * 4.6566e-10))
- 1.0)
* 45.0);
v647 = (float)((float)((float)((float)((float)v642 * 4.6566e-10) * 0.2) + 1.0) * m_vehicleSize) * 0.8;
v648 = 3;
v649 = (cocos2d::CCArray *)cocos2d::CCArray::create(v646);
do
{
v650 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v651 = (const char *)v648++;
v948 = v650;
v652 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_14_%03d.png",
v651);
v653 = cocos2d::CCString::getCString(v652);
v654 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v948, v653);
cocos2d::CCArray::addObject(v649, v654);
}
while ( v648 != 16 );
v655 = (float)((float)((float)rand() * 4.6566e-10) * 0.004) + 0.033;
v656 = cocos2d::CCAnimation::createWithSpriteFrames(v649, v655);
v657 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v656);
v977 = 260;
v978 = 1;
v658 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v637, 260, 1);
v659 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v657, v658, 0);
cocos2d::CCNode::runAction(v637, v659);
v660 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v655 * 5.0);
v661 = cocos2d::CCFadeOut::create(v655 * 8.0);
cocos2d::CCSequence::create(v660, v661, 0);
v663 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v662);
v663->setPositionType(v663, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v663, 99);
v663->setAutoRemoveOnFinish(v663, 1);
v664 = v663->setPosition;
v665 = a1->getPosition(a1);
v664(v663, v665);
v666 = v663->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 1.0;
v988.b = 1.0;
v666(v663, &v988);
v667 = v663->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.b = 0.39216;
v988.r = 1.0;
v667(v663, &v988);
v663->setBlendAdditive(v663, 1);
v668 = v663->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v668(v663, &v988);
v669 = v663->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v669(v663, &v988);
v670 = v663->setSpeed;
v671 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v663->getSpeed)(v663);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v670)(v663, v671);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v663->setScale)(v663, v647 * 1.4);
v672 = v663->setPosVar;
v673 = (int)v663->getPosVar(v663);
cocos2d::CCPoint::operator*(&v988, v673, 1067030938);
v672(v663, (const cocos2d::CCPoint *)&v988);
v674 = v663->setStartSize;
v675 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v663->getStartSize)(v663));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v674)(v663, v675 * 0.8);
v676 = v663->setEndSize;
v677 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v663->getEndSize)(v663));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v676)(v663, v677 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v663);
v678 = CCCircleWave::create(v647 * 10.0, v647 * 120.0, v655 * 10.0, 0);
v678->m_color.g = -56;
v679 = v678;
v680 = v678->__vftable;
v678->m_color.r = 0;
v678->m_color.b = -1;
v681 = v680->setPosition;
v682 = a1->getPosition(a1);
v681((CCCircleWave *)v679, v682);
v683 = a1->m_parentLayer;
v679[1].m_unknown2 = 1061997773;
v683->addChild_0(v683, v679, 1000);
v634 = v647 * 10.0;
v635 = v647 * 115.0;
LABEL_73:
v250 = CCCircleWave::create(v634, v635, 0.4, 0);
v250->m_color.r = 0;
v250->m_color.g = -106;
v250->m_color.b = -1;
goto LABEL_89;
case 14:
v684 = cocos2d::CCFadeTo::create(0.05, 0);
v684->setTag(v684, 4);
cocos2d::CCNode::runAction(a1, v684);
v685 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_15_001.png");
v686 = GameManager::sharedState();
v686->m_playLayer->m_objectLayer->addChild_0(v686->m_playLayer->m_objectLayer, v685, 10000);
v687 = rand();
v688 = v685->setPosition;
v689 = v687;
v690 = a1->getPosition(a1);
cocos2d::CCPoint::CCPoint(&v987, 0.0, 6.0);
cocos2d::CCPoint::operator+(&v988, v690, &v987);
v688(v685, (const cocos2d::CCPoint *)&v988);
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v685->setScale)(
v685,
(float)((float)((float)((float)v689 * 4.6566e-10) * 0.4) + 1.4) * m_vehicleSize);
v691 = v685->setRotation;
v692 = rand();
v693 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v691)(
v685,
(float)((float)v692 * 4.6566e-10) * 360.0);
v694 = (float)((float)((float)((float)((float)v689 * 4.6566e-10) * 0.4) + 1.4) * m_vehicleSize) * 0.8;
v695 = 2;
v696 = (cocos2d::CCArray *)cocos2d::CCArray::create(v693);
do
{
v697 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v698 = (const char *)v695++;
v949 = v697;
v699 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_15_%03d.png",
v698);
v700 = cocos2d::CCString::getCString(v699);
v701 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v949, v700);
cocos2d::CCArray::addObject(v696, v701);
}
while ( v695 != 17 );
v702 = (float)((float)((float)rand() * 4.6566e-10) * 0.004) + 0.04;
v703 = cocos2d::CCAnimation::createWithSpriteFrames(v696, v702);
v704 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v703);
v979 = 260;
v980 = 1;
v705 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v685, 260, 1);
v706 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v704, v705, 0);
cocos2d::CCNode::runAction(v685, v706);
v708 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectVortex.plist",
nullptr,
v707);
v708->setPositionType(v708, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v708, 99);
v708->setAutoRemoveOnFinish(v708, 1);
v709 = v708->setPosition;
v710 = a1->getPosition(a1);
v709(v708, v710);
v711 = v708->setStartColor;
v988.a = 1.0;
v988.r = 0.58824;
v988.g = 1.0;
v988.b = 1.0;
v711(v708, &v988);
v712 = v708->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.b = 1.0;
v712(v708, &v988);
v708->setBlendAdditive(v708, 1);
v713 = v708->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v713(v708, &v988);
v714 = v708->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v714(v708, &v988);
v715 = v708->setSpeed;
v716 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v708->getSpeed)(v708);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v715)(v708, v716);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v708->setScale)(v708, v694 * 1.4);
v717 = v708->setPosVar;
v718 = (int)v708->getPosVar(v708);
cocos2d::CCPoint::operator*(&v988, v718, 1067030938);
v717(v708, (const cocos2d::CCPoint *)&v988);
v719 = v708->setStartSize;
v720 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v708->getStartSize)(v708));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v719)(v708, v720 * 0.8);
v721 = v708->setEndSize;
v722 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v708->getEndSize)(v708));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v721)(v708, v722 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v708);
v723 = CCCircleWave::create(v694 * 10.0, v694 * 90.0, v702 * 10.0, 0);
v724 = v723->__vftable;
v725 = v723;
v723->m_color.r = 0;
v723->m_color.g = 100;
v723->m_color.b = -1;
v726 = v724->setPosition;
v727 = a1->getPosition(a1);
v726(v725, v727);
v728 = a1->m_parentLayer;
v725->m_opacityMod = 1.0;
v728->addChild_0(v728, v725, 1000);
v729 = CCCircleWave::create(v694 * 10.0, v694 * 80.0, v702 * 14.0, 0);
v730 = v729->__vftable;
v731 = v729;
v729->m_color.r = 0;
v729->m_color.g = 100;
v729->m_color.b = -1;
v732 = v730->setPosition;
v733 = a1->getPosition(a1);
v732(v731, v733);
v731->m_opacityMod = 1.0;
goto LABEL_90;
case 15:
v734 = cocos2d::CCFadeTo::create(0.05, 0);
v734->setTag(v734, 4);
cocos2d::CCNode::runAction(a1, v734);
v735 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_16_002.png");
v736 = GameManager::sharedState();
v736->m_playLayer->m_objectLayer->addChild_0(v736->m_playLayer->m_objectLayer, v735, 10000);
v737 = rand();
v738 = v735->setPosition;
v739 = v737;
v740 = a1->getPosition(a1);
v741 = (float)((float)((float)((float)v739 * 4.6566e-10) * 0.3) + 1.0) * m_vehicleSize;
v738(v735, v740);
v742 = 2;
v743 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, float))v735->setScale)(
v735,
COERCE_FLOAT(LODWORD(v741)));
v744 = (cocos2d::CCArray *)cocos2d::CCArray::create(v743);
do
{
v745 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v746 = (const char *)v742++;
v747 = v745;
v748 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_16_%03d.png",
v746);
v749 = cocos2d::CCString::getCString(v748);
v750 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v747, v749);
cocos2d::CCArray::addObject(v744, v750);
}
while ( v742 != 20 );
v751 = (float)((float)((float)rand() * 4.6566e-10) * 0.005) + 0.04;
v752 = cocos2d::CCAnimation::createWithSpriteFrames(v744, v751);
v753 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v752);
v981 = 260;
v982 = 1;
v754 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v735, 260, 1);
v755 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v753, v754, 0);
cocos2d::CCNode::runAction(v735, v755);
v756 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v751 * 12.0);
v757 = cocos2d::CCFadeOut::create(v751 * 6.0);
v758 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v756, v757, 0);
cocos2d::CCNode::runAction(v735, v758);
v760 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectGrav.plist",
nullptr,
v759);
v760->setPositionType(v760, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v760, 99);
v760->setAutoRemoveOnFinish(v760, 1);
v761 = v760->setPosition;
v762 = a1->getPosition(a1);
v761(v760, v762);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v760->setAngleVar)(v760, 1106247680);
v763 = v760->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.78431;
v988.r = 1.0;
v763(v760, &v988);
v764 = v760->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.19608;
v988.r = 1.0;
v764(v760, &v988);
v760->setBlendAdditive(v760, 0);
v765 = v760->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
*(_QWORD *)&v988.r = 0x3D20A0A13D20A0A1LL;
v765(v760, &v988);
v766 = v760->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v766(v760, &v988);
v767 = v760->setSpeed;
v768 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v760->getSpeed)(v760);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v767)(v760, v768);
v45 = 0;
v760->setScale(v760, COERCE_FLOAT(LODWORD(v741)));
cocos2d::CCParticleSystem::resetSystem(v760);
v769 = CCCircleWave::create(v741 * 10.0, v741 * 110.0, 0.6, 0);
v769->m_color.g = -56;
v770 = v769;
v771 = v769->__vftable;
v769->m_color.r = -1;
v769->m_color.b = 0;
v772 = v771->setPosition;
v773 = a1->getPosition(a1);
v772(v770, v773);
v774 = a1->m_parentLayer;
v770->m_opacityMod = 1.0;
v774->addChild_0(v774, v770, 99);
v52 = v741 * 10.0;
v53 = v741 * 115.0;
goto LABEL_86;
case 16:
v775 = cocos2d::CCFadeTo::create(0.05, 0);
v775->setTag(v775, 4);
cocos2d::CCNode::runAction(a1, v775);
v776 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_17_002.png");
v777 = GameManager::sharedState();
v777->m_playLayer->m_objectLayer->addChild_0(v777->m_playLayer->m_objectLayer, v776, 10000);
v778 = v776->setBlendFunc;
LODWORD(v987.x) = 770;
LODWORD(v987.y) = 1;
((void (__fastcall *)(cocos2d::CCSprite *, int, int, cocos2d::CCPoint *))v778)(v776, 770, 1, &v987);
v779 = rand();
v780 = v776->setPosition;
v781 = v779;
v782 = a1->getPosition(a1);
v780(v776, v782);
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v776->setScale)(
v776,
(float)((float)((float)((float)v781 * 4.6566e-10) * 0.2) + 1.0) * m_vehicleSize);
v783 = v776->setRotation;
v784 = rand();
v785 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v783)(
v776,
(float)((float)((float)((float)v784 * 4.6566e-10) + (float)((float)v784 * 4.6566e-10))
- 1.0)
* 180.0);
v786 = 2;
v787 = (cocos2d::CCArray *)cocos2d::CCArray::create(v785);
do
{
v788 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v789 = (const char *)v786++;
v790 = v788;
v791 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_17_%03d.png",
v789);
v792 = cocos2d::CCString::getCString(v791);
v793 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v790, v792);
cocos2d::CCArray::addObject(v787, v793);
}
while ( v786 != 16 );
v794 = (float)((float)((float)rand() * 4.6566e-10) * 0.005) + 0.035;
v795 = cocos2d::CCAnimation::createWithSpriteFrames(v787, v794);
v796 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v795);
v983 = 260;
v984 = 1;
v797 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v776, 260, 1);
v798 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v796, v797, 0);
cocos2d::CCNode::runAction(v776, v798);
v799 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v794 * 12.0);
v800 = cocos2d::CCFadeOut::create(v794 * 6.0);
v801 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v799, v800, 0);
cocos2d::CCNode::runAction(v776, v801);
v803 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v802);
v803->setPositionType(v803, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v803, 99);
v803->setAutoRemoveOnFinish(v803, 1);
v804 = v803->setPosition;
v805 = a1->getPosition(a1);
v804(v803, v805);
v806 = v803->setStartColor;
v988.a = 1.0;
v988.r = 1.0;
v988.g = 1.0;
v988.b = 1.0;
v806(v803, &v988);
v807 = v803->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.39216;
v988.b = 1.0;
v807(v803, &v988);
v808 = v803->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v808(v803, &v988);
v809 = v803->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v809(v803, &v988);
v810 = v803->setSpeed;
v811 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v803->getSpeed)(v803));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v810)(v803, v811 * 0.8);
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v803->setScale)(v803, m_vehicleSize * 0.8);
v812 = v803->setStartSize;
v813 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v803->getStartSize)(v803));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v812)(v803, v813 * 0.5);
v814 = v803->setEndSize;
v815 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCParticleSystem *))v803->getEndSize)(v803));
((void (__fastcall *)(cocos2d::CCParticleSystem *, _DWORD))v814)(v803, v815 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v803);
v816 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 90.0, 0.5, 0);
v817 = v816->__vftable;
v818 = v816;
v816->m_color.g = -1;
v816->m_color.b = -1;
v816->m_color.r = 0;
v819 = v817->setPosition;
v820 = a1->getPosition(a1);
v819(v818, v820);
v821 = a1->m_parentLayer;
v818->m_opacityMod = 1.0;
v818->m_circleMode = Outline;
v822 = v821->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v818->m_lineWidth = 10;
v822->addChild_0(v821, v818, 1000);
v823 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 100.0, 0.4, 0);
v824 = v823->__vftable;
v825 = v823;
v823->m_color.r = 0;
v823->m_color.g = -1;
v823->m_color.b = -1;
v826 = v824->setPosition;
v827 = a1->getPosition(a1);
v826(v825, v827);
v825->m_circleMode = Outline;
v825->m_lineWidth = 10;
goto LABEL_90;
case 17:
v828 = cocos2d::CCFadeTo::create(0.05, 0);
v828->setTag(v828, 4);
cocos2d::CCNode::runAction(a1, v828);
v829 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_18_002.png");
v830 = GameManager::sharedState();
v830->m_playLayer->m_objectLayer->addChild_0(v830->m_playLayer->m_objectLayer, v829, 10000);
v831 = v829->setRotation;
v832 = rand();
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v831)(
v829,
(float)((float)((float)((float)v832 * 4.6566e-10) + (float)((float)v832 * 4.6566e-10)) - 1.0) * 180.0);
v833 = rand();
v834 = v829->setPosition;
v835 = v833;
v836 = a1->getPosition(a1);
v837 = (float)((float)((float)((float)v835 * 4.6566e-10) * 0.3) + 1.0) * m_vehicleSize;
v834(v829, v836);
v838 = 2;
v839 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, float))v829->setScale)(
v829,
COERCE_FLOAT(LODWORD(v837)));
v840 = (cocos2d::CCArray *)cocos2d::CCArray::create(v839);
do
{
v841 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v842 = (const char *)v838++;
v843 = v841;
v844 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_18_%03d.png",
v842);
v845 = cocos2d::CCString::getCString(v844);
v846 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v843, v845);
cocos2d::CCArray::addObject(v840, v846);
}
while ( v838 != 24 );
v847 = (float)((float)((float)rand() * 4.6566e-10) * 0.005) + 0.035;
v848 = cocos2d::CCAnimation::createWithSpriteFrames(v840, v847);
v849 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v848);
v985 = 260;
v986 = 1;
v850 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v829, 260, 1);
v851 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v849, v850, 0);
cocos2d::CCNode::runAction(v829, v851);
v852 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v847 * 18.0);
v853 = cocos2d::CCFadeOut::create(v847 * 5.0);
v854 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v852, v853, 0);
cocos2d::CCNode::runAction(v829, v854);
v856 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectGrav.plist",
nullptr,
v855);
v856->setPositionType(v856, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v856, 99);
v856->setAutoRemoveOnFinish(v856, 1);
v857 = v856->setPosition;
v858 = a1->getPosition(a1);
v857(v856, v858);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v856->setAngleVar)(v856, 1106247680);
v859 = v856->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.78431;
v988.r = 1.0;
v859(v856, &v988);
v860 = v856->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.19608;
v988.r = 1.0;
v860(v856, &v988);
v856->setBlendAdditive(v856, 0);
v861 = v856->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
*(_QWORD *)&v988.r = 0x3D20A0A13D20A0A1LL;
v861(v856, &v988);
v862 = v856->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v862(v856, &v988);
v863 = v856->setSpeed;
v864 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v856->getSpeed)(v856);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v863)(v856, v864);
v45 = 0;
v856->setScale(v856, COERCE_FLOAT(LODWORD(v837)));
cocos2d::CCParticleSystem::resetSystem(v856);
v865 = CCCircleWave::create(v837 * 10.0, v837 * 110.0, 0.6, 0);
v865->m_color.g = -56;
v866 = v865;
v867 = v865->__vftable;
v865->m_color.r = -1;
v865->m_color.b = 0;
v868 = v867->setPosition;
v869 = a1->getPosition(a1);
v868(v866, v869);
v870 = a1->m_parentLayer;
v866->m_opacityMod = 1.0;
v870->addChild_0(v870, v866, 99);
v52 = v837 * 10.0;
v53 = v837 * 115.0;
LABEL_86:
v871 = CCCircleWave::create(v52, v53, 0.4, 0);
v540 = -106;
v250 = v871;
v871->m_color.r = -1;
LABEL_87:
v250->m_color.g = v540;
LABEL_88:
v250->m_color.b = v45;
LABEL_89:
v872 = v250->setPosition;
v873 = a1->getPosition(a1);
v872(v250, v873);
v250->m_circleMode = Outline;
v250->m_lineWidth = 10;
LABEL_90:
addChild_0 = (void (*)(void))a1->m_parentLayer->addChild_0;
break;
case 18:
v875 = cocos2d::CCFadeTo::create(0.05, 0);
v875->setTag(v875, 4);
cocos2d::CCNode::runAction(a1, v875);
v876 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_19_002.png");
v877 = GameManager::sharedState();
v877->m_playLayer->m_objectLayer->addChild_0(v877->m_playLayer->m_objectLayer, v876, 10000);
v878 = rand();
v879 = v876->setPosition;
v880 = v878;
v881 = a1->getPosition(a1);
v882 = (float)((float)((float)((float)v880 * 4.6566e-10) * 0.3) + 1.0) * m_vehicleSize;
v879(v876, v881);
v876->setScale(v876, COERCE_FLOAT(LODWORD(v882)));
v883 = v876->setRotation;
v884 = rand();
v885 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, _DWORD))v883)(
v876,
(float)((float)((float)((float)v884 * 4.6566e-10) + (float)((float)v884 * 4.6566e-10))
- 1.0)
* 45.0);
v886 = 2;
v887 = (cocos2d::CCArray *)cocos2d::CCArray::create(v885);
do
{
v888 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v889 = (const char *)v886++;
v890 = v888;
v891 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"playerExplosion_19_%03d.png",
v889);
v892 = cocos2d::CCString::getCString(v891);
v893 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v890, v892);
cocos2d::CCArray::addObject(v887, v893);
}
while ( v886 != 14 );
v894 = rand();
v895 = cocos2d::CCAnimation::createWithSpriteFrames(
v887,
(float)((float)((float)v894 * 4.6566e-10) * 0.005) + 0.04);
v896 = (cocos2d::CCSequence *)cocos2d::CCAnimate::create(v895);
LODWORD(v987.x) = 260;
LODWORD(v987.y) = 1;
v897 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v876, 260, 1);
v898 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v896, v897, 0);
cocos2d::CCNode::runAction(v876, v898);
v900 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffectGrav.plist",
nullptr,
v899);
v900->setPositionType(v900, kCCPositionTypeGrouped);
a1->m_parentLayer->addChild_0(a1->m_parentLayer, v900, 99);
v900->setAutoRemoveOnFinish(v900, 1);
v901 = v900->setPosition;
v902 = a1->getPosition(a1);
v901(v900, v902);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v900->setAngleVar)(v900, 1106247680);
v903 = v900->setStartColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.78431;
v988.r = 1.0;
v903(v900, &v988);
v904 = v900->setEndColor;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v988.g = 0.19608;
v988.r = 1.0;
v904(v900, &v988);
v900->setBlendAdditive(v900, 0);
v905 = v900->setStartColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
*(_QWORD *)&v988.r = 0x3D20A0A13D20A0A1LL;
v905(v900, &v988);
v906 = v900->setEndColorVar;
memset(&v988, 0, sizeof(v988));
v988.a = 1.0;
v906(v900, &v988);
v907 = v900->setSpeed;
v908 = ((int (__fastcall *)(cocos2d::CCParticleSystem *))v900->getSpeed)(v900);
((void (__fastcall *)(cocos2d::CCParticleSystem *, int))v907)(v900, v908);
v900->setScale(v900, COERCE_FLOAT(LODWORD(v882)));
cocos2d::CCParticleSystem::resetSystem(v900);
v909 = CCCircleWave::create(v882 * 10.0, v882 * 110.0, 0.6, 0);
v909->m_color.g = -56;
v910 = v909;
v911 = v909->__vftable;
v909->m_color.b = 0;
v909->m_color.r = -1;
v912 = v911->setPosition;
v913 = a1->getPosition(a1);
v912(v910, v913);
v914 = a1->m_parentLayer;
v910->m_opacityMod = 1.0;
v914->addChild_0(v914, v910, 99);
v915 = CCCircleWave::create(v882 * 10.0, v882 * 115.0, 0.4, 0);
v915->m_color.g = -106;
v916 = v915;
v917 = v915->__vftable;
v915->m_color.r = -1;
v915->m_color.b = 0;
v918 = v917->setPosition;
v919 = a1->getPosition(a1);
v918(v916, v919);
v920 = a1->m_parentLayer;
v916->m_circleMode = Outline;
v916->m_lineWidth = 10;
addChild_0 = (void (*)(void))v920->addChild_0;
break;
default:
v921 = cocos2d::CCFadeTo::create(0.05, 0);
v921->setTag(v921, 4);
cocos2d::CCNode::runAction(a1, v921);
v923 = (cocos2d::CCParticleSystem *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"explodeEffect.plist",
nullptr,
v922);
v923->setPositionType(v923, kCCPositionTypeGrouped);
m_parentLayer->addChild_0(m_parentLayer, v923, 100);
v923->setAutoRemoveOnFinish(v923, 1);
v924 = v923->setPosition;
v925 = a1->getPosition(a1);
v924(v923, v925);
v926 = v923->setStartColor;
sub_565FC0(&v988.r, *(unsigned __int16 *)&a1->m_playerColor1.r | (a1->m_playerColor1.b << 16));
v926(v923, &v988);
v923->setScale(v923, COERCE_FLOAT(LODWORD(m_vehicleSize)));
cocos2d::CCParticleSystem::resetSystem(v923);
v927 = CCCircleWave::create(m_vehicleSize * 10.0, m_vehicleSize * 90.0, 0.5, 0);
v928 = a1->m_playerColor1.r;
v929 = a1->m_playerColor1.g;
v927->m_color.b = a1->m_playerColor1.b;
v930 = v927;
v931 = v927->__vftable;
v927->m_color.r = v928;
v927->m_color.g = v929;
v932 = v931->setPosition;
v933 = a1->getPosition(a1);
v932(v930, v933);
addChild_0 = (void (*)(void))m_parentLayer->addChild_0;
break;
}
addChild_0();
v934 = GameManager::sharedState();
if ( !GameManager::getGameVariable(v934, "0153") )
{
v936 = m_vehicleSize * 40.0;
v937 = (cocos2d::CCRenderTexture *)cocos2d::CCRenderTexture::create(
(cocos2d::CCRenderTexture *)(int)v936,
(int)v936,
v935);
v938 = a1->getPosition(a1);
cocos2d::CCPoint::CCPoint(&v950, v938);
v939 = a1->setPosition;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v988, v936 * 0.5, v936 * 0.5);
v939(a1, (const cocos2d::CCPoint *)&v988);
cocos2d::CCRenderTexture::beginWithClear(v937, 0.0, 0.0, 0.0, 0.0);
a1->m_dashSpritesContainer->visit(a1->m_dashSpritesContainer);
a1->visit(a1);
cocos2d::CCRenderTexture::end(v937);
a1->setPosition(a1, &v950);
v940 = ExplodeItemNode::create(v937);
m_parentLayer->addChild_0(m_parentLayer, v940, 101);
v940->setPosition(v940, &v950);
sub_565FC0(&v988.r, *(unsigned __int16 *)&a1->m_playerColor1.r | (a1->m_playerColor1.b << 16));
v941 = PlayerObject::getCurrentXVelocity(a1) * 0.899999976 * 0.800000012;
rand();
v942 = (int)(COERCE_FLOAT(roundf()) + 2.0);
rand();
v943 = (int)(COERCE_FLOAT(roundf()) + 2.0);
v944 = (float)rand() * 4.6566e-10;
if ( v944 > 0.95 )
{
v942 = 1;
}
else if ( v944 > 0.9 )
{
v943 = 1;
}
ExplodeItemNode::createSprites(v940, v942, v943, v941 * 0.5, v941, 6.0, 3.0, 1.4, 0.0, v988, v988, 0);
}
}