//
// PlayerObject::playDeathEffect from 0x10006016c to 0x100064e24 (19640 bytes)
//
// 1 xrefs:
// > PlayerObject::playerDestroyed @ 0x1002c48bc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:57:55 +0000
//
__int64 __fastcall PlayerObject::playDeathEffect(_QWORD **a1)
{
__int64 v2; // x0
int v3; // w22
__int64 v4; // x0
__int64 v5; // x20
__int16 *v6; // x25
float v7; // s0
float v8; // s8
__int64 v9; // x21
__int64 v10; // x21
__int64 v11; // x0
__int64 v12; // x0
unsigned int v13; // w0
float v14; // s0
unsigned int v15; // w0
__int64 v16; // x0
int v17; // w26
__int64 v18; // x0
__int64 v19; // x22
__int64 v20; // x24
__int64 v21; // x0
__int64 CString; // x0
__int64 v23; // x0
float v24; // s9
__int64 v25; // x0
__int64 v26; // x22
__int64 v27; // x0
float v28; // s9
__int64 v29; // x22
__int64 v30; // x0
__int64 v31; // x21
__int64 v32; // x0
float v33; // s0
__int64 v34; // x21
__int64 v35; // x0
float v36; // s1
float v37; // s0
__int64 v38; // x21
__int64 v39; // x0
float v40; // s9
__int64 v41; // x0
unsigned int v42; // w0
__int64 v43; // x0
int v44; // w26
__int64 v45; // x0
__int64 v46; // x22
__int64 v47; // x24
__int64 v48; // x0
__int64 v49; // x0
__int64 v50; // x0
float v51; // s9
__int64 v52; // x0
__int64 v53; // x22
__int64 v54; // x0
__int64 v55; // x22
__int64 v56; // x0
__int64 v57; // x21
__int64 v58; // x0
float v64; // s0
float v65; // s0
float v66; // s0
__int64 v67; // x21
__int64 v68; // x0
__int64 v69; // x21
__int64 v70; // x0
__int64 v71; // x21
__int64 v72; // x0
float v73; // s9
float32x2_t *v74; // x22
double v75; // d0
unsigned int v76; // w0
__int64 v77; // x0
int v78; // w26
__int64 v79; // x0
__int64 v80; // x22
__int64 v81; // x24
__int64 v82; // x0
__int64 v83; // x0
__int64 v84; // x0
float v85; // s11
float v86; // s9
__int64 v87; // x0
__int64 v88; // x22
__int64 v89; // x0
__int64 v90; // x21
__int64 v91; // x0
float32x2_t *v92; // x0
double v93; // d0
float v94; // s0
float v95; // s0
__int64 v96; // x21
__int64 v97; // x0
__int64 v98; // x0
__int64 v99; // x21
__int64 v100; // x0
float v101; // s9
float32x2_t *v102; // x22
double v103; // d0
unsigned int v104; // w0
__int64 v105; // x0
int v106; // w26
__int64 v107; // x0
__int64 v108; // x22
__int64 v109; // x24
__int64 v110; // x0
__int64 v111; // x0
__int64 v112; // x0
float v113; // s10
__int64 v114; // x0
__int64 v115; // x22
__int64 v116; // x0
__int64 v117; // x21
__int64 v118; // x21
__int64 v119; // x0
float v120; // s0
float32x2_t *v121; // x0
double v122; // d0
float v123; // s0
float v124; // s0
__int64 v125; // x21
__int64 v126; // x0
float v127; // s1
float v128; // s0
__int64 v129; // x21
__int64 v130; // x0
__int64 v131; // x0
unsigned int v132; // w0
float v133; // s0
unsigned int v134; // w0
__int64 v135; // x0
__int64 v136; // x22
__int64 v137; // x0
int v138; // w26
__int64 v139; // x24
__int64 v140; // x0
__int64 v141; // x0
__int64 v142; // x0
float v143; // s9
__int64 v144; // x0
__int64 v145; // x22
__int64 v146; // x0
float v147; // s9
__int64 v148; // x22
__int64 v149; // x0
__int64 v150; // x21
__int64 v151; // x0
float v152; // s0
float v153; // s0
float v154; // s0
__int64 v155; // x21
__int64 v156; // x0
__int64 v157; // x0
__int16 v158; // w8
__int64 v159; // x21
__int64 v160; // x0
float v161; // s10
float32x2_t *v162; // x22
double v163; // d0
float v164; // w8
__int64 v165; // x21
__int64 v166; // x0
float v167; // s9
__int64 v168; // x0
__int64 v169; // x0
int v170; // w26
__int64 v171; // x0
__int64 v172; // x22
__int64 v173; // x24
__int64 v174; // x0
__int64 v175; // x0
__int64 v176; // x0
float v177; // s10
__int64 v178; // x0
__int64 v179; // x22
__int64 v180; // x0
__int64 v181; // x22
__int64 v182; // x0
__int64 v183; // x22
__int64 v184; // x0
__int64 v185; // x21
__int64 v186; // x0
float32x2_t v187; // d10
unsigned int v188; // s0
int8x8_t v189; // d1
unsigned int v190; // s0
int8x8_t v191; // d1
float v192; // s0
float v193; // s0
__int64 v194; // x21
__int16 v195; // w8
__int64 v196; // x0
__int64 v197; // x21
__int64 v198; // x0
__int64 v199; // x0
unsigned int v200; // w0
float v201; // s0
unsigned int v202; // w0
__int64 v203; // x0
int v204; // w26
__int64 v205; // x0
__int64 v206; // x22
__int64 v207; // x24
__int64 v208; // x0
__int64 v209; // x0
__int64 v210; // x0
float v211; // s9
__int64 v212; // x0
__int64 v213; // x22
__int64 v214; // x0
__int64 v215; // x22
__int64 v216; // x0
__int64 v217; // x21
__int64 v218; // x0
float v219; // s0
__int64 v220; // x21
__int64 v221; // x0
__int64 v222; // x21
__int64 v223; // x0
float v224; // s9
__int64 v225; // x0
__int64 v226; // x0
int v227; // w26
__int64 v228; // x0
__int64 v229; // x22
__int64 v230; // x24
__int64 v231; // x0
__int64 v232; // x0
__int64 v233; // x0
float v234; // s10
__int64 v235; // x0
__int64 v236; // x22
__int64 v237; // x0
__int64 v238; // x22
float v239; // s0
__int64 v240; // x21
__int64 v241; // x0
__int64 v242; // x0
unsigned int v243; // w0
float v244; // s0
unsigned int v245; // w0
__int64 v246; // x0
int v247; // w26
__int64 v248; // x0
__int64 v249; // x22
__int64 v250; // x24
__int64 v251; // x0
__int64 v252; // x0
__int64 v253; // x0
float v254; // s9
__int64 v255; // x0
__int64 v256; // x22
__int64 v257; // x0
__int64 v258; // x22
__int64 v259; // x0
__int64 v260; // x21
__int64 v261; // x0
__int64 v262; // x21
__int64 v263; // x0
__int64 v264; // x0
__int64 v265; // x21
__int64 v266; // x0
float v267; // s9
float32x2_t *v268; // x22
double v269; // d0
int v270; // w0
__int64 v271; // x0
__int64 v272; // x22
__int64 v273; // x0
int i; // w26
__int64 v275; // x24
__int64 v276; // x0
__int64 v277; // x0
__int64 v278; // x0
float v279; // s10
__int64 v280; // x0
__int64 v281; // x22
__int64 v282; // x0
__int64 v283; // x22
__int64 v284; // x0
__int64 v285; // x21
__int64 v286; // x0
float v287; // s0
float32x2_t *v288; // x0
double v289; // d0
float v290; // s0
float v291; // s0
__int64 v292; // x21
__int64 v293; // x0
float v294; // s1
float v295; // s0
__int64 v296; // x21
__int64 v297; // x0
__int64 v298; // x0
unsigned int v299; // w0
float v300; // s0
unsigned int v301; // w0
__int64 v302; // x0
int v303; // w26
__int64 v304; // x0
__int64 v305; // x22
__int64 v306; // x24
__int64 v307; // x0
__int64 v308; // x0
__int64 v309; // x0
float v310; // s9
__int64 v311; // x0
__int64 v312; // x22
__int64 v313; // x0
float v314; // s9
__int64 v315; // x22
__int64 v316; // x0
__int64 v317; // x21
__int64 v318; // x0
float v319; // s0
float v320; // s0
float v321; // s0
float v322; // s9
__int64 v323; // x21
__int64 v324; // x0
float v325; // w8
__int64 v326; // x0
unsigned int v327; // w0
__int64 v328; // x0
__int64 v329; // x0
int v330; // w26
__int64 v331; // x0
__int64 v332; // x22
__int64 v333; // x24
__int64 v334; // x0
__int64 v335; // x0
__int64 v336; // x0
__int64 v337; // x0
__int64 v338; // x22
__int64 v339; // x0
__int64 v340; // x0
__int64 v341; // x21
__int64 v342; // x0
float v343; // s10
__int64 v344; // x21
__int64 v345; // x0
__int64 v346; // x21
__int64 v347; // x0
__int64 v348; // x0
__int64 v349; // x0
int v350; // w26
__int64 v351; // x0
__int64 v352; // x22
__int64 v353; // x24
__int64 v354; // x0
__int64 v355; // x0
__int64 v356; // x0
__int64 v357; // x0
__int64 v358; // x22
__int64 v359; // x0
__int64 v360; // x22
__int64 v361; // x0
__int64 v362; // x21
__int64 v363; // x0
__int64 v364; // x21
__int64 v365; // x0
__int64 v366; // x21
__int64 v367; // x0
float v368; // s9
float32x2_t *v369; // x22
double v370; // d0
unsigned int v371; // w0
__int64 v372; // x0
int v373; // w26
__int64 v374; // x0
__int64 v375; // x22
__int64 v376; // x24
__int64 v377; // x0
__int64 v378; // x0
__int64 v379; // x0
float v380; // s12
float v381; // s9
__int64 v382; // x0
__int64 v383; // x22
__int64 v384; // x0
__int64 v385; // x21
__int64 v386; // x21
__int64 v387; // x0
float32x2_t *v388; // x0
double v389; // d0
float v390; // s0
float v391; // s0
__int64 v392; // x21
__int64 v393; // x0
float v394; // s1
float v395; // s0
__int64 v396; // x21
__int64 v397; // x0
float v398; // s9
__int64 v399; // x0
unsigned int v400; // w0
__int64 v401; // x0
__int64 v402; // x22
__int64 v403; // x0
int v404; // w26
__int64 v405; // x24
__int64 v406; // x0
__int64 v407; // x0
__int64 v408; // x0
float v409; // s10
__int64 v410; // x0
__int64 v411; // x22
__int64 v412; // x0
float v413; // s10
__int64 v414; // x22
__int64 v415; // x0
__int64 v416; // x21
__int64 v417; // x0
float v418; // s0
float v419; // s0
float v420; // s0
__int64 v421; // x21
__int64 v422; // x0
__int64 v423; // x21
__int64 v424; // x0
float v425; // s9
__int64 v426; // x0
unsigned int v427; // w0
__int64 v428; // x0
int v429; // w26
__int64 v430; // x0
__int64 v431; // x22
__int64 v432; // x24
__int64 v433; // x0
__int64 v434; // x0
__int64 v435; // x0
unsigned int v436; // w0
__int64 v437; // x0
__int64 v438; // x22
__int64 v439; // x0
__int64 v440; // x21
__int64 v441; // x0
__int64 v442; // x21
__int64 v443; // x0
__int64 v444; // x21
__int64 v445; // x0
__int64 v446; // x0
__int64 v447; // x21
__int64 v448; // x0
float v449; // s9
__int64 v450; // x0
unsigned int v451; // w0
__int64 v452; // x0
int v453; // w26
__int64 v454; // x0
__int64 v455; // x22
__int64 v456; // x24
__int64 v457; // x0
__int64 v458; // x0
__int64 v459; // x0
float v460; // s10
__int64 v461; // x0
__int64 v462; // x22
__int64 v463; // x0
__int64 v464; // x21
__int64 v465; // x21
__int64 v466; // x0
float v467; // s0
float v468; // s0
__int64 v469; // x21
__int64 v470; // x0
__int64 v471; // x21
__int64 v472; // x0
__int64 v473; // x0
unsigned int v474; // w0
float v475; // s0
unsigned int v476; // w0
__int64 v477; // x0
int v478; // w26
__int64 v479; // x0
__int64 v480; // x22
__int64 v481; // x24
__int64 v482; // x0
__int64 v483; // x0
__int64 v484; // x0
float v485; // s9
__int64 v486; // x0
__int64 v487; // x22
__int64 v488; // x0
__int64 v489; // x22
__int64 v490; // x0
__int64 v491; // x22
__int64 v492; // x0
float v493; // s0
float v494; // s0
float v495; // s0
__int64 v496; // x21
__int64 v497; // x0
__int64 v498; // x21
__int64 v499; // x0
unsigned int v500; // s0
int8x8_t v501; // d2
__int64 v502; // x21
__int16 v503; // w8
__int64 v504; // x0
__int64 v505; // x0
int v506; // w26
__int64 v507; // x0
__int64 v508; // x22
__int64 v509; // x24
__int64 v510; // x0
__int64 v511; // x0
__int64 v512; // x0
float v513; // s12
float v514; // s10
__int64 v515; // x0
__int64 v516; // x22
__int64 v517; // x0
__int64 v518; // x21
__int64 v519; // x21
__int64 v520; // x0
float v521; // s0
float32x2_t *v522; // x0
double v523; // d0
float v524; // s0
float v525; // s0
__int64 v526; // x21
__int64 v527; // x0
__int64 v528; // x0
__int64 v529; // x0
__int64 result; // x0
float v531; // s8
__int64 v532; // x21
double *v533; // x0
__int64 v534; // x21
float v535; // s8
unsigned int v536; // w20
float v537; // s0
__int64 v538; // x19
float v539; // s0
__int64 v540; // x1
float v541; // s1
float32x2_t v542; // [xsp+38h] [xbp-98h] BYREF
__int128 v543; // [xsp+40h] [xbp-90h] BYREF
v2 = GameManager::sharedState(a1);
v3 = *(_DWORD *)(v2 + 872) - *(_DWORD *)(v2 + 876);
v4 = GameManager::sharedState(v2);
if ( *(_QWORD *)(v4 + 544)
&& *(_BYTE *)(*(_QWORD *)(GameManager::sharedState(v4) + 544) + 12544LL) == 1
&& !*((_BYTE *)a1 + 2043) )
{
v3 = 1;
}
if ( ((__int64 (__fastcall *)(_QWORD **))(*a1)[64])(a1) )
v5 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[64])(a1);
else
v5 = (__int64)a1[378];
v6 = (__int16 *)a1 + 1301;
v7 = *((float *)a1 + 618);
if ( v7 >= 1.0 )
v8 = v7 * 0.9;
else
v8 = *((float *)a1 + 618);
v9 = cocos2d::CCFadeTo::create(0, 0.05);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 72LL))(v9, 4);
cocos2d::CCNode::runAction(a1, v9);
switch ( v3 )
{
case 2:
v10 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_01_001.png");
v11 = GameManager::sharedState(v10);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v11 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v11 + 544) + 3920LL),
v10,
10000);
v12 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 184LL))(v10, v12);
v13 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 160LL))(
v10,
(float)((float)((float)(vcvts_n_f32_s32(v13, 0x1Fu) * 2.0) + -1.0) * 0.2) + 1.5);
v14 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v10 + 168LL))(v10);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 160LL))(v10, v8 * v14);
v15 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 360LL))(
v10,
(float)((float)(vcvts_n_f32_s32(v15, 0x1Fu) * 2.0) + -1.0) * 45.0);
v16 = rand();
if ( vcvts_n_f32_s32(v16, 0x1Fu) > 0.5 )
v17 = 1;
else
v17 = 2;
v18 = sub_1002E736C(v16);
v19 = v18;
do
{
v20 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v18);
v21 = sub_1003065B0("playerExplosion_01_%03d.png", v17);
CString = cocos2d::CCString::getCString(v21);
v23 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v20, CString);
sub_1002E74E0(v19, v23);
++v17;
}
while ( v17 != 12 );
v24 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.01) + 0.05;
v25 = cocos2d::CCAnimation::createWithSpriteFrames(v19, v24);
v26 = cocos2d::CCAnimate::create(v25);
cocos2d::CCCallFunc::create(v10, 536, 1);
v27 = sub_10021D420(v26);
cocos2d::CCNode::runAction(v10, v27);
v28 = v24 * 6.0;
v29 = cocos2d::CCDelayTime::create(v28);
cocos2d::CCFadeOut::create(v28);
v30 = sub_10021D420(v29);
cocos2d::CCNode::runAction(v10, v30);
v31 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 1568LL))(v31, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v31, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 1584LL))(v31, 1);
v32 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 184LL))(v31, v32);
v543 = xmmword_10075CEF0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v31 + 1360LL))(v31, &v543);
v543 = xmmword_10075C760;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v31 + 1392LL))(v31, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v31 + 1376LL))(v31, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v31 + 1408LL))(v31, &v543);
v33 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v31 + 1056LL))(v31);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v31 + 1064LL))(v31, v33 * 0.8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v31 + 160LL))(v31, v8);
cocos2d::CCParticleSystem::resetSystem(v31);
v34 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 110.0, 0.6);
*(_BYTE *)(v34 + 342) = 0;
*(_WORD *)(v34 + 340) = -1;
v35 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v34 + 184LL))(v34, v35);
*(_DWORD *)(v34 + 360) = 1058642330;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v34, 1000);
v36 = v8 * 115.0;
v37 = v8 * 10.0;
goto LABEL_64;
case 3:
v296 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_02_001.png");
v297 = GameManager::sharedState(v296);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v297 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v297 + 544) + 3920LL),
v296,
10000);
v298 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v296 + 184LL))(v296, v298);
v299 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v296 + 160LL))(
v296,
(float)((float)((float)(vcvts_n_f32_s32(v299, 0x1Fu) * 2.0) + -1.0) * 0.2) + 1.2);
v300 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v296 + 168LL))(v296);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v296 + 160LL))(v296, v8 * v300);
v301 = rand();
v302 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v296 + 360LL))(
v296,
(float)((float)(vcvts_n_f32_s32(v301, 0x1Fu) * 2.0) + -1.0) * 45.0);
v303 = 2;
v304 = sub_1002E736C(v302);
v305 = v304;
do
{
v306 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v304);
v307 = sub_1003065B0("playerExplosion_02_%03d.png", v303);
v308 = cocos2d::CCString::getCString(v307);
v309 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v306, v308);
sub_1002E74E0(v305, v309);
++v303;
}
while ( v303 != 11 );
v310 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.01) + 0.05;
v311 = cocos2d::CCAnimation::createWithSpriteFrames(v305, v310);
v312 = cocos2d::CCAnimate::create(v311);
cocos2d::CCCallFunc::create(v296, 536, 1);
v313 = sub_10021D420(v312);
cocos2d::CCNode::runAction(v296, v313);
v314 = v310 * 6.0;
v315 = cocos2d::CCDelayTime::create(v314);
cocos2d::CCFadeOut::create(v314);
v316 = sub_10021D420(v315);
cocos2d::CCNode::runAction(v296, v316);
v317 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v317 + 1568LL))(v317, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v317, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v317 + 1584LL))(v317, 1);
v318 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v317 + 184LL))(v317, v318);
v543 = xmmword_10075CF80;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v317 + 1360LL))(v317, &v543);
v543 = xmmword_10075CEC0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v317 + 1392LL))(v317, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v317 + 1376LL))(v317, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v317 + 1408LL))(v317, &v543);
v319 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v317 + 1056LL))(v317);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v317 + 1064LL))(v317, v319 * 0.8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v317 + 160LL))(v317, v8 * 0.8);
v320 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v317 + 1288LL))(v317);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v317 + 1296LL))(v317, v320 * 0.5);
v321 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v317 + 1320LL))(v317);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v317 + 1328LL))(v317, v321 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v317);
v322 = v8 * 10.0;
v323 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 110.0, 0.5);
*(_BYTE *)(v323 + 342) = -1;
*(_WORD *)(v323 + 340) = -131;
v324 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v323 + 184LL))(v323, v324);
*(_DWORD *)(v323 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v323, 1000);
v325 = 115.0;
goto LABEL_83;
case 4:
v197 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_03_001.png");
v198 = GameManager::sharedState(v197);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v198 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v198 + 544) + 3920LL),
v197,
10000);
v199 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v197 + 184LL))(v197, v199);
v200 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v197 + 160LL))(
v197,
(float)((float)((float)(vcvts_n_f32_s32(v200, 0x1Fu) * 2.0) + -1.0) * 0.2) + 1.4);
v201 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v197 + 168LL))(v197);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v197 + 160LL))(v197, v8 * v201);
v202 = rand();
v203 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v197 + 360LL))(
v197,
(float)((float)(vcvts_n_f32_s32(v202, 0x1Fu) * 2.0) + -1.0) * 45.0);
v204 = 1;
v205 = sub_1002E736C(v203);
v206 = v205;
do
{
v207 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v205);
v208 = sub_1003065B0("playerExplosion_03_%03d.png", v204);
v209 = cocos2d::CCString::getCString(v208);
v210 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v207, v209);
sub_1002E74E0(v206, v210);
++v204;
}
while ( v204 != 11 );
v211 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.04;
v212 = cocos2d::CCAnimation::createWithSpriteFrames(v206, v211);
v213 = cocos2d::CCAnimate::create(v212);
cocos2d::CCCallFunc::create(v197, 536, 1);
v214 = sub_10021D420(v213);
cocos2d::CCNode::runAction(v197, v214);
v215 = cocos2d::CCDelayTime::create(v211 * 5.0);
cocos2d::CCFadeOut::create(v211 * 10.0);
v216 = sub_10021D420(v215);
cocos2d::CCNode::runAction(v197, v216);
v217 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v217 + 1568LL))(v217, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v217, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v217 + 1584LL))(v217, 1);
v218 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v217 + 184LL))(v217, v218);
v543 = xmmword_10075CF00;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v217 + 1360LL))(v217, &v543);
v543 = xmmword_10075CF00;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v217 + 1392LL))(v217, &v543);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v217 + 1280LL))(v217, 0);
v543 = xmmword_10075CF70;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v217 + 1376LL))(v217, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v217 + 1408LL))(v217, &v543);
v219 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v217 + 1056LL))(v217);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v217 + 1064LL))(v217, v219 * 0.9);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v217 + 160LL))(v217, v8);
cocos2d::CCParticleSystem::resetSystem(v217);
v220 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 100.0, 0.5);
*(_BYTE *)(v220 + 342) = 0;
*(_WORD *)(v220 + 340) = -106;
v221 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v220 + 184LL))(v220, v221);
*(_QWORD *)(v220 + 356) = 0x3F8000000000000ALL;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v220, 1000);
v127 = v8 * 115.0;
v128 = v8 * 10.0;
goto LABEL_40;
case 5:
v240 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_04_001.png");
v241 = GameManager::sharedState(v240);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v241 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v241 + 544) + 3920LL),
v240,
10000);
v242 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v240 + 184LL))(v240, v242);
v243 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v240 + 160LL))(
v240,
(float)((float)((float)(vcvts_n_f32_s32(v243, 0x1Fu) * 2.0) + -1.0) * 0.1) + 1.2);
v244 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v240 + 168LL))(v240);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v240 + 160LL))(v240, v8 * v244);
v245 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v240 + 360LL))(
v240,
(float)((float)(vcvts_n_f32_s32(v245, 0x1Fu) * 2.0) + -1.0) * 45.0);
v246 = rand();
if ( vcvts_n_f32_s32(v246, 0x1Fu) > 0.5 )
v247 = 1;
else
v247 = 2;
v248 = sub_1002E736C(v246);
v249 = v248;
do
{
v250 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v248);
v251 = sub_1003065B0("playerExplosion_04_%03d.png", v247);
v252 = cocos2d::CCString::getCString(v251);
v253 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v250, v252);
sub_1002E74E0(v249, v253);
++v247;
}
while ( v247 != 10 );
v254 = (float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.005) + 0.05;
v255 = cocos2d::CCAnimation::createWithSpriteFrames(v249, v254);
v256 = cocos2d::CCAnimate::create(v255);
cocos2d::CCCallFunc::create(v240, 536, 1);
v257 = sub_10021D420(v256);
cocos2d::CCNode::runAction(v240, v257);
v258 = cocos2d::CCDelayTime::create(v254 * 8.0);
cocos2d::CCFadeOut::create(v254 * 6.0);
v259 = sub_10021D420(v258);
cocos2d::CCNode::runAction(v240, v259);
v260 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v260 + 1568LL))(v260, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v260, 101);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v260 + 1584LL))(v260, 1);
v261 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v260 + 184LL))(v260, v261);
v543 = xmmword_10075CF50;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v260 + 1360LL))(v260, &v543);
v543 = xmmword_10075CF60;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v260 + 1392LL))(v260, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v260 + 1376LL))(v260, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v260 + 1408LL))(v260, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v260 + 1056LL))(v260);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v260 + 1064LL))(v260);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v260 + 160LL))(v260, v8);
cocos2d::CCParticleSystem::resetSystem(v260);
v262 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 110.0, 0.5);
*(_BYTE *)(v262 + 342) = -1;
*(_WORD *)(v262 + 340) = 25855;
v263 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v262 + 184LL))(v262, v263);
*(_DWORD *)(v262 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v262, 1000);
v264 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 115.0, 0.4);
v69 = v264;
*(_BYTE *)(v264 + 342) = -1;
goto LABEL_73;
case 6:
v129 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_05_001.png");
v130 = GameManager::sharedState(v129);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v130 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v130 + 544) + 3920LL),
v129,
10000);
v131 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v129 + 184LL))(v129, v131);
v132 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v129 + 160LL))(
v129,
(float)((float)((float)(vcvts_n_f32_s32(v132, 0x1Fu) * 2.0) + -1.0) * 0.15) + 1.25);
v133 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v129 + 168LL))(v129);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v129 + 160LL))(v129, v8 * v133);
v134 = rand();
v135 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v129 + 360LL))(
v129,
(float)((float)(vcvts_n_f32_s32(v134, 0x1Fu) * 2.0) + -1.0) * 45.0);
v136 = sub_1002E736C(v135);
v137 = rand();
if ( vcvts_n_f32_s32(v137, 0x1Fu) <= 0.5 )
v138 = 3;
else
v138 = 2;
do
{
v139 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v137);
v140 = sub_1003065B0("playerExplosion_05_%03d.png", v138);
v141 = cocos2d::CCString::getCString(v140);
v142 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v139, v141);
sub_1002E74E0(v136, v142);
++v138;
}
while ( v138 != 11 );
v143 = (float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.005) + 0.05;
v144 = cocos2d::CCAnimation::createWithSpriteFrames(v136, v143);
v145 = cocos2d::CCAnimate::create(v144);
cocos2d::CCCallFunc::create(v129, 536, 1);
v146 = sub_10021D420(v145);
cocos2d::CCNode::runAction(v129, v146);
v147 = v143 * 6.0;
v148 = cocos2d::CCDelayTime::create(v147);
cocos2d::CCFadeOut::create(v147);
v149 = sub_10021D420(v148);
cocos2d::CCNode::runAction(v129, v149);
v150 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v150 + 1568LL))(v150, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v150, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v150 + 1584LL))(v150, 1);
v151 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v150 + 184LL))(v150, v151);
v543 = xmmword_10075CE60;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v150 + 1360LL))(v150, &v543);
v543 = xmmword_10075CF40;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v150 + 1392LL))(v150, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v150 + 1376LL))(v150, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v150 + 1408LL))(v150, &v543);
v152 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v150 + 1056LL))(v150);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v150 + 1064LL))(v150, v152 * 0.8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v150 + 160LL))(v150, v8 * 0.8);
v153 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v150 + 1288LL))(v150);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v150 + 1296LL))(v150, v153 * 0.5);
v154 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v150 + 1320LL))(v150);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v150 + 1328LL))(v150, v154 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v150);
v155 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 110.0, 0.5);
*(_BYTE *)(v155 + 342) = 0;
*(_WORD *)(v155 + 340) = -14081;
v156 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v155 + 184LL))(v155, v156);
*(_DWORD *)(v155 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v155, 1000);
v157 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 115.0, 0.4);
v69 = v157;
*(_BYTE *)(v157 + 342) = 0;
v158 = -1;
goto LABEL_96;
case 7:
v346 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_06_001.png");
v347 = GameManager::sharedState(v346);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v347 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v347 + 544) + 3920LL),
v346,
10000);
v224 = v8 * (float)((float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.15) + 1.3);
v348 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v346 + 184LL))(v346, v348);
v349 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v346 + 160LL))(v346, v224);
v350 = 1;
v351 = sub_1002E736C(v349);
v352 = v351;
do
{
v353 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v351);
v354 = sub_1003065B0("playerExplosion_06_%03d.png", v350);
v355 = cocos2d::CCString::getCString(v354);
v356 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v353, v355);
sub_1002E74E0(v352, v356);
++v350;
}
while ( v350 != 14 );
v357 = cocos2d::CCAnimation::createWithSpriteFrames(v352, 0.055);
v358 = cocos2d::CCAnimate::create(v357);
cocos2d::CCCallFunc::create(v346, 536, 1);
v359 = sub_10021D420(v358);
cocos2d::CCNode::runAction(v346, v359);
v360 = cocos2d::CCDelayTime::create(0.44);
cocos2d::CCFadeOut::create(0.33);
v361 = sub_10021D420(v360);
cocos2d::CCNode::runAction(v346, v361);
v362 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v362 + 1568LL))(v362, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v362, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v362 + 1584LL))(v362, 1);
v363 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v362 + 184LL))(v362, v363);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v362 + 1024LL))(v362, 30.0);
v543 = xmmword_10075CE60;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v362 + 1360LL))(v362, &v543);
v543 = xmmword_10075CE70;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v362 + 1392LL))(v362, &v543);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v362 + 1280LL))(v362, 0);
v543 = xmmword_10075CE80;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v362 + 1376LL))(v362, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v362 + 1408LL))(v362, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v362 + 1056LL))(v362);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v362 + 1064LL))(v362);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v362 + 160LL))(v362, v224);
cocos2d::CCParticleSystem::resetSystem(v362);
v343 = v224 * 10.0;
v364 = CCCircleWave::create_1(0, v224 * 10.0, v224 * 110.0, 0.6);
*(_BYTE *)(v364 + 342) = 0;
*(_WORD *)(v364 + 340) = -14081;
v365 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v364 + 184LL))(v364, v365);
*(_DWORD *)(v364 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64))(*a1[378] + 464LL))(a1[378], v364);
goto LABEL_63;
case 8:
v396 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_07_001.png");
v397 = GameManager::sharedState(v396);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v397 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v397 + 544) + 3920LL),
v396,
10000);
v398 = v8 * (float)((float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.2) + 1.3);
v399 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v396 + 184LL))(v396, v399);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v396 + 160LL))(v396, v398);
v400 = rand();
v401 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v396 + 360LL))(
v396,
(float)((float)(vcvts_n_f32_s32(v400, 0x1Fu) * 2.0) + -1.0) * 90.0);
v402 = sub_1002E736C(v401);
v403 = rand();
if ( vcvts_n_f32_s32(v403, 0x1Fu) > 0.5 )
v404 = 1;
else
v404 = 2;
do
{
v405 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v403);
v406 = sub_1003065B0("playerExplosion_07_%03d.png", v404);
v407 = cocos2d::CCString::getCString(v406);
v408 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v405, v407);
sub_1002E74E0(v402, v408);
++v404;
}
while ( v404 != 12 );
v409 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.04;
v410 = cocos2d::CCAnimation::createWithSpriteFrames(v402, v409);
v411 = cocos2d::CCAnimate::create(v410);
cocos2d::CCCallFunc::create(v396, 536, 1);
v412 = sub_10021D420(v411);
cocos2d::CCNode::runAction(v396, v412);
v413 = v409 * 6.0;
v414 = cocos2d::CCDelayTime::create(v413);
cocos2d::CCFadeOut::create(v413);
v415 = sub_10021D420(v414);
cocos2d::CCNode::runAction(v396, v415);
v416 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v416 + 1568LL))(v416, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v416, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v416 + 1584LL))(v416, 1);
v417 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v416 + 184LL))(v416, v417);
v543 = xmmword_10075CEE0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v416 + 1360LL))(v416, &v543);
v543 = xmmword_10075CF30;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v416 + 1392LL))(v416, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v416 + 1376LL))(v416, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v416 + 1408LL))(v416, &v543);
v418 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v416 + 1056LL))(v416);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v416 + 1064LL))(v416, v418 * 0.8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v416 + 160LL))(v416, v398 * 0.8);
v419 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v416 + 1288LL))(v416);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v416 + 1296LL))(v416, v419 * 0.5);
v420 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v416 + 1320LL))(v416);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v416 + 1328LL))(v416, v420 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v416);
v421 = CCCircleWave::create_1(0, v398 * 10.0, v398 * 85.0, 0.5);
*(_BYTE *)(v421 + 342) = -1;
*(_WORD *)(v421 + 340) = 255;
v422 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v421 + 184LL))(v421, v422);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v421, 1000);
v264 = CCCircleWave::create_1(0, v398 * 10.0, v398 * 90.0, 0.4);
v69 = v264;
*(_BYTE *)(v264 + 342) = -56;
LABEL_73:
*(_WORD *)(v264 + 340) = 255;
goto LABEL_97;
case 9:
v265 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_08_001.png");
v266 = GameManager::sharedState(v265);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v266 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v266 + 544) + 3920LL),
v265,
10000);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v265 + 1080LL))(v265, 0x100000302LL);
v267 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.1) + 0.8);
v268 = (float32x2_t *)((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
sub_1000262BC((float *)&v542, 0.0, 6.0);
*(float32x2_t *)&v269 = sub_100026318(v268, &v542, (float32x2_t *)&v543);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v265 + 184LL))(v265, &v543, v269);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v265 + 160LL))(v265, v267);
v270 = rand();
v271 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v265 + 360LL))(
v265,
(float)((float)v270 * -4.6566e-10) * 45.0);
v272 = sub_1002E736C(v271);
v273 = rand();
for ( i = 2; i != 12; ++i )
{
v275 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v273);
v276 = sub_1003065B0("playerExplosion_08_%03d.png", i);
v277 = cocos2d::CCString::getCString(v276);
v278 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v275, v277);
sub_1002E74E0(v272, v278);
}
v279 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.01) + 0.045;
v280 = cocos2d::CCAnimation::createWithSpriteFrames(v272, v279);
v281 = cocos2d::CCAnimate::create(v280);
cocos2d::CCCallFunc::create(v265, 536, 1);
v282 = sub_10021D420(v281);
cocos2d::CCNode::runAction(v265, v282);
v283 = cocos2d::CCDelayTime::create(v279 * 5.0);
cocos2d::CCFadeOut::create(v279 * 8.0);
v284 = sub_10021D420(v283);
cocos2d::CCNode::runAction(v265, v284);
v285 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v285 + 1568LL))(v285, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v285, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v285 + 1584LL))(v285, 1);
v286 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v285 + 184LL))(v285, v286);
v543 = xmmword_10075CEC0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v285 + 1360LL))(v285, &v543);
v543 = xmmword_10075CF20;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v285 + 1392LL))(v285, &v543);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v285 + 1280LL))(v285, 1);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v285 + 1376LL))(v285, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v285 + 1408LL))(v285, &v543);
v287 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v285 + 1056LL))(v285);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v285 + 1064LL))(v285, v287 * 0.9);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v285 + 160LL))(v285, v267 * 1.4);
v288 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v285 + 952LL))(v285);
*(float32x2_t *)&v289 = sub_100026350(v288, (float32x2_t *)&v543, 1.2);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v285 + 960LL))(v285, &v543, v289);
v290 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v285 + 1288LL))(v285);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v285 + 1296LL))(v285, v290 * 0.8);
v291 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v285 + 1320LL))(v285);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v285 + 1328LL))(v285, v291 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v285);
v292 = CCCircleWave::create_1(0, v267 * 10.0, v267 * 120.0, v279 * 10.0);
*(_BYTE *)(v292 + 342) = -1;
*(_WORD *)(v292 + 340) = -181;
v293 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v292 + 184LL))(v292, v293);
*(_DWORD *)(v292 + 360) = 1061997773;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v292, 1000);
v294 = v267 * 115.0;
v295 = v267 * 10.0;
goto LABEL_84;
case 10:
v471 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_09_001.png");
v472 = GameManager::sharedState(v471);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v472 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v472 + 544) + 3920LL),
v471,
10000);
v473 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v471 + 184LL))(v471, v473);
v474 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v471 + 160LL))(
v471,
(float)((float)((float)(vcvts_n_f32_s32(v474, 0x1Fu) * 2.0) + -1.0) * 0.1) + 1.0);
v475 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v471 + 168LL))(v471);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v471 + 160LL))(v471, v8 * v475);
v476 = rand();
v477 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v471 + 360LL))(
v471,
(float)((float)(vcvts_n_f32_s32(v476, 0x1Fu) * 2.0) + -1.0) * 45.0);
v478 = 2;
v479 = sub_1002E736C(v477);
v480 = v479;
do
{
v481 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v479);
v482 = sub_1003065B0("playerExplosion_09_%03d.png", v478);
v483 = cocos2d::CCString::getCString(v482);
v484 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v481, v483);
sub_1002E74E0(v480, v484);
++v478;
}
while ( v478 != 14 );
v485 = (float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.005) + 0.045;
v486 = cocos2d::CCAnimation::createWithSpriteFrames(v480, v485);
v487 = cocos2d::CCAnimate::create(v486);
cocos2d::CCCallFunc::create(v471, 536, 1);
v488 = sub_10021D420(v487);
cocos2d::CCNode::runAction(v471, v488);
v489 = cocos2d::CCDelayTime::create(v485 * 10.0);
cocos2d::CCFadeOut::create(v485 * 3.0);
v490 = sub_10021D420(v489);
cocos2d::CCNode::runAction(v471, v490);
v491 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v491 + 1568LL))(v491, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v491, 101);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v491 + 1584LL))(v491, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v491 + 1280LL))(v491, 1);
v492 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v491 + 184LL))(v491, v492);
v543 = xmmword_10075CF10;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v491 + 1360LL))(v491, &v543);
v543 = xmmword_10075CE90;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v491 + 1392LL))(v491, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v491 + 1376LL))(v491, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v491 + 1408LL))(v491, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v491 + 1056LL))(v491);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v491 + 1064LL))(v491);
v493 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v471 + 168LL))(v471);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v491 + 160LL))(v491, (float)(v8 * 1.2) * v493);
v494 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v491 + 1288LL))(v491);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v491 + 1296LL))(v491, v494 * 1.2);
v495 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v491 + 1320LL))(v491);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v491 + 1328LL))(v491, v495 * 0.5);
cocos2d::CCParticleSystem::resetSystem(v491);
v322 = v8 * 10.0;
v496 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 120.0, 0.5);
*(_BYTE *)(v496 + 342) = -1;
*(_WORD *)(v496 + 340) = -14336;
v497 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v496 + 184LL))(v496, v497);
*(_DWORD *)(v496 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v496, 1000);
v325 = 125.0;
LABEL_83:
v294 = v8 * v325;
v295 = v322;
LABEL_84:
v157 = CCCircleWave::create_1(0, v295, v294, 0.4);
v69 = v157;
*(_BYTE *)(v157 + 342) = -1;
goto LABEL_85;
case 11:
v165 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_10_001.png");
v166 = GameManager::sharedState(v165);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v166 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v166 + 544) + 3920LL),
v165,
10000);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v165 + 1080LL))(v165, 0x100000302LL);
v167 = v8 * (float)((float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.3) + 1.5);
v168 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v165 + 184LL))(v165, v168);
v169 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v165 + 160LL))(v165, v167);
v170 = 1;
v171 = sub_1002E736C(v169);
v172 = v171;
do
{
v173 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v171);
v174 = sub_1003065B0("playerExplosion_10_%03d.png", v170);
v175 = cocos2d::CCString::getCString(v174);
v176 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v173, v175);
sub_1002E74E0(v172, v176);
++v170;
}
while ( v170 != 13 );
v177 = (float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.005) + 0.035;
v178 = cocos2d::CCAnimation::createWithSpriteFrames(v172, v177);
v179 = cocos2d::CCAnimate::create(v178);
cocos2d::CCCallFunc::create(v165, 536, 1);
v180 = sub_10021D420(v179);
cocos2d::CCNode::runAction(v165, v180);
v181 = cocos2d::CCDelayTime::create(v177 * 7.0);
cocos2d::CCFadeOut::create(v177 * 6.0);
v182 = sub_10021D420(v181);
cocos2d::CCNode::runAction(v165, v182);
v183 = cocos2d::CCTintTo::create(
*((unsigned __int8 *)a1 + 2602),
*((unsigned __int8 *)a1 + 2603),
*((unsigned __int8 *)a1 + 2604),
v177 + v177);
cocos2d::CCTintTo::create(
*((unsigned __int8 *)a1 + 2605),
*((unsigned __int8 *)a1 + 2606),
*((unsigned __int8 *)a1 + 2607),
v177 * 8.0);
v184 = sub_10021D420(v183);
cocos2d::CCNode::runAction(v165, v184);
v185 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v185 + 1568LL))(v185, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v185, 101);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v185 + 1584LL))(v185, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v185 + 1280LL))(v185, 1);
v186 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v185 + 184LL))(v185, v186);
v187 = (float32x2_t)vdup_n_s32(0x437F0000u);
*(float *)&v188 = (float)*((unsigned __int8 *)a1 + 2604) / 255.0;
v189.i16[0] = *((_WORD *)a1 + 1301);
v189.i8[2] = *((_BYTE *)a1 + 2604);
v189.i32[1] = (unsigned __int32)v189.i32[0] >> 8;
*(float32x2_t *)&v543 = vdiv_f32(vcvt_f32_u32((uint32x2_t)vand_s8(v189, (int8x8_t)0xFF000000FFLL)), v187);
*((_QWORD *)&v543 + 1) = v188 | 0x3F80000000000000LL;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v185 + 1360LL))(v185, &v543);
*(float *)&v190 = (float)*((unsigned __int8 *)a1 + 2607) / 255.0;
v191.i16[0] = *(_WORD *)((char *)a1 + 2605);
v191.i8[2] = *((_BYTE *)a1 + 2607);
v191.i32[1] = (unsigned __int32)v191.i32[0] >> 8;
*(float32x2_t *)&v543 = vdiv_f32(vcvt_f32_u32((uint32x2_t)vand_s8(v191, (int8x8_t)0xFF000000FFLL)), v187);
*((_QWORD *)&v543 + 1) = v190 | 0x3F80000000000000LL;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v185 + 1392LL))(v185, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v185 + 1376LL))(v185, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v185 + 1408LL))(v185, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v185 + 1056LL))(v185);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v185 + 1064LL))(v185);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v185 + 160LL))(v185, v167 * 1.1);
v192 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v185 + 1288LL))(v185);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v185 + 1296LL))(v185, v192 * 1.2);
v193 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v185 + 1320LL))(v185);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v185 + 1328LL))(v185, v193 * 0.5);
cocos2d::CCParticleSystem::resetSystem(v185);
v194 = CCCircleWave::create_1(0, v167 * 10.0, v167 * 80.0, 0.5);
v195 = *v6;
*(_BYTE *)(v194 + 342) = *((_BYTE *)a1 + 2604);
*(_WORD *)(v194 + 340) = v195;
v196 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v194 + 184LL))(v194, v196);
*(_DWORD *)(v194 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v194, 1000);
v157 = CCCircleWave::create_1(0, v167 * 10.0, v167 * 90.0, 0.4);
v69 = v157;
v158 = *v6;
*(_BYTE *)(v157 + 342) = *((_BYTE *)a1 + 2604);
goto LABEL_96;
case 12:
v447 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_11_001.png");
v448 = GameManager::sharedState(v447);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v448 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v448 + 544) + 3920LL),
v447,
10000);
v449 = v8 * (float)((float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.1) + 1.25);
v450 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v447 + 184LL))(v447, v450);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v447 + 160LL))(v447, v449);
v451 = rand();
v452 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v447 + 360LL))(
v447,
(float)((float)(vcvts_n_f32_s32(v451, 0x1Fu) * 2.0) + -1.0) * 45.0);
v453 = 1;
v454 = sub_1002E736C(v452);
v455 = v454;
do
{
v456 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v454);
v457 = sub_1003065B0("playerExplosion_11_%03d.png", v453);
v458 = cocos2d::CCString::getCString(v457);
v459 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v456, v458);
sub_1002E74E0(v455, v459);
++v453;
}
while ( v453 != 13 );
v460 = (float)((float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + -1.0) * 0.005) + 0.04;
v461 = cocos2d::CCAnimation::createWithSpriteFrames(v455, v460);
v462 = cocos2d::CCAnimate::create(v461);
cocos2d::CCCallFunc::create(v447, 536, 1);
v463 = sub_10021D420(v462);
cocos2d::CCNode::runAction(v447, v463);
v464 = cocos2d::CCDelayTime::create(v460 * 7.0);
cocos2d::CCFadeOut::create(v460 * 6.0);
sub_10021D420(v464);
v465 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v465 + 1568LL))(v465, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v465, 101);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v465 + 1584LL))(v465, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v465 + 1280LL))(v465, 1);
v466 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v465 + 184LL))(v465, v466);
v543 = xmmword_10075CEF0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v465 + 1360LL))(v465, &v543);
v543 = xmmword_10075C760;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v465 + 1392LL))(v465, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v465 + 1376LL))(v465, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v465 + 1408LL))(v465, &v543);
v467 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v465 + 1056LL))(v465);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v465 + 1064LL))(v465, v467 * 1.2);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v465 + 160LL))(v465, v449 * 1.2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v465 + 1288LL))(v465);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v465 + 1296LL))(v465);
v468 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v465 + 1320LL))(v465);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v465 + 1328LL))(v465, v468 * 0.5);
cocos2d::CCParticleSystem::resetSystem(v465);
v469 = CCCircleWave::create_1(0, v449 * 10.0, v449 * 125.0, 0.5);
*(_BYTE *)(v469 + 342) = 0;
*(_WORD *)(v469 + 340) = 25855;
v470 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v469 + 184LL))(v469, v470);
*(_DWORD *)(v469 + 360) = 1061997773;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v469, 1000);
v157 = CCCircleWave::create_1(0, v449 * 10.0, v449 * 135.0, 0.4);
v69 = v157;
*(_BYTE *)(v157 + 342) = 0;
v158 = -20481;
goto LABEL_96;
case 13:
v99 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_12_001.png");
v100 = GameManager::sharedState(v99);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v100 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v100 + 544) + 3920LL),
v99,
10000);
v101 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.2) + 0.9);
v102 = (float32x2_t *)((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
sub_1000262BC((float *)&v542, 0.0, 6.0);
*(float32x2_t *)&v103 = sub_100026318(v102, &v542, (float32x2_t *)&v543);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v99 + 184LL))(v99, &v543, v103);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v99 + 160LL))(v99, v101);
v104 = rand();
v105 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v99 + 360LL))(
v99,
(float)((float)(vcvts_n_f32_s32(v104, 0x1Fu) * 2.0) + -1.0) * 45.0);
v106 = 1;
v107 = sub_1002E736C(v105);
v108 = v107;
do
{
v109 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v107);
v110 = sub_1003065B0("playerExplosion_12_%03d.png", v106);
v111 = cocos2d::CCString::getCString(v110);
v112 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v109, v111);
sub_1002E74E0(v108, v112);
++v106;
}
while ( v106 != 13 );
v113 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.04;
v114 = cocos2d::CCAnimation::createWithSpriteFrames(v108, v113);
v115 = cocos2d::CCAnimate::create(v114);
cocos2d::CCCallFunc::create(v99, 536, 1);
v116 = sub_10021D420(v115);
cocos2d::CCNode::runAction(v99, v116);
v117 = cocos2d::CCDelayTime::create(v113 * 5.0);
cocos2d::CCFadeOut::create(v113 * 8.0);
sub_10021D420(v117);
v118 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v118 + 1568LL))(v118, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v118, 1000);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v118 + 1584LL))(v118, 1);
v119 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v118 + 184LL))(v118, v119);
v543 = xmmword_10075CEF0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v118 + 1360LL))(v118, &v543);
v543 = xmmword_10075CF00;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v118 + 1392LL))(v118, &v543);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v118 + 1280LL))(v118, 1);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v118 + 1376LL))(v118, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v118 + 1408LL))(v118, &v543);
v120 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v118 + 1056LL))(v118);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v118 + 1064LL))(v118, v120 * 0.9);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v118 + 160LL))(v118, v101 * 1.5);
v121 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v118 + 952LL))(v118);
*(float32x2_t *)&v122 = sub_100026350(v121, (float32x2_t *)&v543, 1.2);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v118 + 960LL))(v118, &v543, v122);
v123 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v118 + 1288LL))(v118);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v118 + 1296LL))(v118, v123 * 0.8);
v124 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v118 + 1320LL))(v118);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v118 + 1328LL))(v118, v124 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v118);
v125 = CCCircleWave::create_1(0, v101 * 10.0, v101 * 120.0, v113 * 10.0);
*(_BYTE *)(v125 + 342) = 50;
*(_WORD *)(v125 + 340) = -206;
v126 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v125 + 184LL))(v125, v126);
*(_DWORD *)(v125 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v125, 1000);
v127 = v101 * 115.0;
v128 = v101 * 10.0;
LABEL_40:
v157 = CCCircleWave::create_1(0, v128, v127, 0.4);
v69 = v157;
*(_BYTE *)(v157 + 342) = 0;
LABEL_85:
v158 = -256;
goto LABEL_96;
case 14:
v159 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_13_001.png");
v160 = GameManager::sharedState(v159);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v160 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v160 + 544) + 3920LL),
v159,
10000);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v159 + 1080LL))(v159, 0x100000302LL);
v161 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.4) + 1.0);
v162 = (float32x2_t *)((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
sub_1000262BC((float *)&v542, 0.0, 6.0);
*(float32x2_t *)&v163 = sub_100026318(v162, &v542, (float32x2_t *)&v543);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v159 + 184LL))(v159, &v543, v163);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v159 + 160LL))(v159, v161);
if ( vcvts_n_f32_s32(rand(), 0x1Fu) >= 0.25 )
{
if ( vcvts_n_f32_s32(rand(), 0x1Fu) >= 0.25 )
{
v505 = rand();
if ( vcvts_n_f32_s32(v505, 0x1Fu) >= 0.25 )
goto LABEL_92;
v164 = 270.0;
}
else
{
v164 = 180.0;
}
}
else
{
v164 = 90.0;
}
v505 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v159 + 360LL))(v159, v164);
LABEL_92:
v506 = 3;
v507 = sub_1002E736C(v505);
v508 = v507;
do
{
v509 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v507);
v510 = sub_1003065B0("playerExplosion_13_%03d.png", v506);
v511 = cocos2d::CCString::getCString(v510);
v512 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v509, v511);
sub_1002E74E0(v508, v512);
++v506;
}
while ( v506 != 13 );
v513 = v161 * 0.8;
v514 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.045;
v515 = cocos2d::CCAnimation::createWithSpriteFrames(v508, v514);
v516 = cocos2d::CCAnimate::create(v515);
cocos2d::CCCallFunc::create(v159, 536, 1);
v517 = sub_10021D420(v516);
cocos2d::CCNode::runAction(v159, v517);
v518 = cocos2d::CCDelayTime::create(v514 * 5.0);
cocos2d::CCFadeOut::create(v514 * 8.0);
sub_10021D420(v518);
v519 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v519 + 1568LL))(v519, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v519, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v519 + 1584LL))(v519, 1);
v520 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v519 + 184LL))(v519, v520);
v543 = xmmword_10075CEE0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v519 + 1360LL))(v519, &v543);
v543 = xmmword_10075CEB0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v519 + 1392LL))(v519, &v543);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v519 + 1280LL))(v519, 1);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v519 + 1376LL))(v519, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v519 + 1408LL))(v519, &v543);
v521 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v519 + 1056LL))(v519);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v519 + 1064LL))(v519, v521 * 0.9);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v519 + 160LL))(v519, v513 * 1.4);
v522 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v519 + 952LL))(v519);
*(float32x2_t *)&v523 = sub_100026350(v522, (float32x2_t *)&v543, 1.2);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v519 + 960LL))(v519, &v543, v523);
v524 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v519 + 1288LL))(v519);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v519 + 1296LL))(v519, v524 * 0.8);
v525 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v519 + 1320LL))(v519);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v519 + 1328LL))(v519, v525 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v519);
v526 = CCCircleWave::create_1(0, v513 * 10.0, v513 * 120.0, v514 * 10.0);
*(_BYTE *)(v526 + 342) = -1;
*(_WORD *)(v526 + 340) = -14336;
v527 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v526 + 184LL))(v526, v527);
*(_DWORD *)(v526 + 360) = 1061997773;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v526, 1000);
v394 = v513 * 115.0;
v395 = v513 * 10.0;
LABEL_95:
v157 = CCCircleWave::create_1(0, v395, v394, 0.4);
v69 = v157;
*(_BYTE *)(v157 + 342) = -1;
v158 = -27136;
LABEL_96:
*(_WORD *)(v157 + 340) = v158;
LABEL_97:
v528 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v69 + 184LL))(v69, v528);
*(_QWORD *)(v69 + 352) = 0xA00000001LL;
LABEL_98:
v446 = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1[378] + 464LL))(a1[378], v69);
LABEL_99:
v529 = GameManager::sharedState(v446);
result = GameManager::getGameVariable(v529, "0153");
if ( (result & 1) == 0 )
{
v531 = v8 * 40.0;
v532 = cocos2d::CCRenderTexture::create_1((unsigned int)(int)v531, (unsigned int)(int)v531);
v533 = (double *)((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
sub_1000262F4(&v543, v533);
sub_1000262BC((float *)&v542, v531 * 0.5, v531 * 0.5);
((void (__fastcall *)(_QWORD **, float32x2_t *))(*a1)[23])(a1, &v542);
cocos2d::CCRenderTexture::beginWithClear_1(v532, 0.0, 0.0, 0.0, 0.0);
(*(void (__fastcall **)(_QWORD *))(*a1[237] + 752LL))(a1[237]);
((void (__fastcall *)(_QWORD **))(*a1)[94])(a1);
cocos2d::CCRenderTexture::end(v532);
((void (__fastcall *)(_QWORD **, __int128 *))(*a1)[23])(a1, &v543);
v534 = ExplodeItemNode::create(v532);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v534, 101);
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v534 + 184LL))(v534, &v543);
v535 = PlayerObject::getCurrentXVelocity(a1) * 0.899999976 * 0.800000012;
v536 = rand();
v537 = vcvts_n_f32_s32(rand(), 0x1Fu);
v538 = (unsigned int)(int)(float)(roundf(v537 + v537) + 2.0);
v539 = vcvts_n_f32_s32(rand(), 0x1Fu);
if ( v539 <= 0.95 )
{
v541 = vcvts_n_f32_s32(v536, 0x1Fu);
v540 = (unsigned int)(int)(float)(roundf(v541 + v541) + 2.0);
if ( v539 > 0.9 )
v538 = 1;
}
else
{
v540 = 1;
}
return ExplodeItemNode::createSprites(v534, v540, v538, 0, v535 * 0.5, v535, 6.0, 3.0, 1.4, 0.0);
}
return result;
case 15:
v366 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_14_002.png");
v367 = GameManager::sharedState(v366);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v367 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v367 + 544) + 3920LL),
v366,
10000);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v366 + 1080LL))(v366, 0x100000302LL);
v368 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.2) + 1.0);
v369 = (float32x2_t *)((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
sub_1000262BC((float *)&v542, 0.0, 6.0);
*(float32x2_t *)&v370 = sub_100026318(v369, &v542, (float32x2_t *)&v543);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v366 + 184LL))(v366, &v543, v370);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v366 + 160LL))(v366, v368);
v371 = rand();
v372 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v366 + 360LL))(
v366,
(float)((float)(vcvts_n_f32_s32(v371, 0x1Fu) * 2.0) + -1.0) * 45.0);
v373 = 3;
v374 = sub_1002E736C(v372);
v375 = v374;
do
{
v376 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v374);
v377 = sub_1003065B0("playerExplosion_14_%03d.png", v373);
v378 = cocos2d::CCString::getCString(v377);
v379 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v376, v378);
sub_1002E74E0(v375, v379);
++v373;
}
while ( v373 != 16 );
v380 = v368 * 0.8;
v381 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.004) + 0.033;
v382 = cocos2d::CCAnimation::createWithSpriteFrames(v375, v381);
v383 = cocos2d::CCAnimate::create(v382);
cocos2d::CCCallFunc::create(v366, 536, 1);
v384 = sub_10021D420(v383);
cocos2d::CCNode::runAction(v366, v384);
v385 = cocos2d::CCDelayTime::create(v381 * 5.0);
cocos2d::CCFadeOut::create(v381 * 8.0);
sub_10021D420(v385);
v386 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v386 + 1568LL))(v386, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v386, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v386 + 1584LL))(v386, 1);
v387 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v386 + 184LL))(v386, v387);
v543 = xmmword_10075CEC0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v386 + 1360LL))(v386, &v543);
v543 = xmmword_10075CED0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v386 + 1392LL))(v386, &v543);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v386 + 1280LL))(v386, 1);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v386 + 1376LL))(v386, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v386 + 1408LL))(v386, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v386 + 1056LL))(v386);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v386 + 1064LL))(v386);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v386 + 160LL))(v386, v380 * 1.4);
v388 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v386 + 952LL))(v386);
*(float32x2_t *)&v389 = sub_100026350(v388, (float32x2_t *)&v543, 1.2);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v386 + 960LL))(v386, &v543, v389);
v390 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v386 + 1288LL))(v386);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v386 + 1296LL))(v386, v390 * 0.8);
v391 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v386 + 1320LL))(v386);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v386 + 1328LL))(v386, v391 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v386);
v392 = CCCircleWave::create_1(0, v380 * 10.0, v380 * 120.0, v381 * 10.0);
*(_BYTE *)(v392 + 342) = -1;
*(_WORD *)(v392 + 340) = -14336;
v393 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v392 + 184LL))(v392, v393);
*(_DWORD *)(v392 + 360) = 1061997773;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v392, 1000);
v394 = v380 * 115.0;
v395 = v380 * 10.0;
goto LABEL_95;
case 16:
v71 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_15_001.png");
v72 = GameManager::sharedState(v71);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v72 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v72 + 544) + 3920LL),
v71,
10000);
v73 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.4) + 1.4);
v74 = (float32x2_t *)((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
sub_1000262BC((float *)&v542, 0.0, 6.0);
*(float32x2_t *)&v75 = sub_100026318(v74, &v542, (float32x2_t *)&v543);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v71 + 184LL))(v71, &v543, v75);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 160LL))(v71, v73);
v76 = rand();
v77 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 360LL))(
v71,
vcvts_n_f32_s32(v76, 0x1Fu) * 360.0);
v78 = 2;
v79 = sub_1002E736C(v77);
v80 = v79;
do
{
v81 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v79);
v82 = sub_1003065B0("playerExplosion_15_%03d.png", v78);
v83 = cocos2d::CCString::getCString(v82);
v84 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v81, v83);
sub_1002E74E0(v80, v84);
++v78;
}
while ( v78 != 17 );
v85 = v73 * 0.8;
v86 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.004) + 0.04;
v87 = cocos2d::CCAnimation::createWithSpriteFrames(v80, v86);
v88 = cocos2d::CCAnimate::create(v87);
cocos2d::CCCallFunc::create(v71, 536, 1);
v89 = sub_10021D420(v88);
cocos2d::CCNode::runAction(v71, v89);
v90 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v90 + 1568LL))(v90, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v90, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v90 + 1584LL))(v90, 1);
v91 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v90 + 184LL))(v90, v91);
v543 = xmmword_10075CEA0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v90 + 1360LL))(v90, &v543);
v543 = xmmword_10075CEB0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v90 + 1392LL))(v90, &v543);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v90 + 1280LL))(v90, 1);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v90 + 1376LL))(v90, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v90 + 1408LL))(v90, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v90 + 1056LL))(v90);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v90 + 1064LL))(v90);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v90 + 160LL))(v90, v85 * 1.4);
v92 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v90 + 952LL))(v90);
*(float32x2_t *)&v93 = sub_100026350(v92, (float32x2_t *)&v543, 1.2);
(*(void (__fastcall **)(__int64, __int128 *, double))(*(_QWORD *)v90 + 960LL))(v90, &v543, v93);
v94 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v90 + 1288LL))(v90);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v90 + 1296LL))(v90, v94 * 0.8);
v95 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v90 + 1320LL))(v90);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v90 + 1328LL))(v90, v95 * 0.4);
cocos2d::CCParticleSystem::resetSystem(v90);
v96 = CCCircleWave::create_1(0, v85 * 10.0, v85 * 90.0, v86 * 10.0);
*(_BYTE *)(v96 + 342) = -1;
*(_WORD *)(v96 + 340) = 25600;
v97 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v96 + 184LL))(v96, v97);
*(_DWORD *)(v96 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v96, 1000);
v69 = CCCircleWave::create_1(0, v85 * 10.0, v85 * 80.0, v86 * 14.0);
*(_BYTE *)(v69 + 342) = -1;
*(_WORD *)(v69 + 340) = 25600;
v98 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v69 + 184LL))(v69, v98);
*(_DWORD *)(v69 + 360) = 1065353216;
goto LABEL_98;
case 17:
v222 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_16_002.png");
v223 = GameManager::sharedState(v222);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v223 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v223 + 544) + 3920LL),
v222,
10000);
v224 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.3) + 1.0);
v225 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v222 + 184LL))(v222, v225);
v226 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v222 + 160LL))(v222, v224);
v227 = 2;
v228 = sub_1002E736C(v226);
v229 = v228;
do
{
v230 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v228);
v231 = sub_1003065B0("playerExplosion_16_%03d.png", v227);
v232 = cocos2d::CCString::getCString(v231);
v233 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v230, v232);
sub_1002E74E0(v229, v233);
++v227;
}
while ( v227 != 20 );
v234 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.04;
v235 = cocos2d::CCAnimation::createWithSpriteFrames(v229, v234);
v236 = cocos2d::CCAnimate::create(v235);
cocos2d::CCCallFunc::create(v222, 536, 1);
v237 = sub_10021D420(v236);
cocos2d::CCNode::runAction(v222, v237);
v238 = cocos2d::CCDelayTime::create(v234 * 12.0);
v239 = 6.0;
goto LABEL_59;
case 18:
v38 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_17_002.png");
v39 = GameManager::sharedState(v38);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v39 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v39 + 544) + 3920LL),
v38,
10000);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v38 + 1080LL))(v38, 0x100000302LL);
v40 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.2) + 1.0);
v41 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v38 + 184LL))(v38, v41);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v38 + 160LL))(v38, v40);
v42 = rand();
v43 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v38 + 360LL))(
v38,
(float)((float)(vcvts_n_f32_s32(v42, 0x1Fu) * 2.0) + -1.0) * 180.0);
v44 = 2;
v45 = sub_1002E736C(v43);
v46 = v45;
do
{
v47 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v45);
v48 = sub_1003065B0("playerExplosion_17_%03d.png", v44);
v49 = cocos2d::CCString::getCString(v48);
v50 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v47, v49);
sub_1002E74E0(v46, v50);
++v44;
}
while ( v44 != 16 );
v51 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.035;
v52 = cocos2d::CCAnimation::createWithSpriteFrames(v46, v51);
v53 = cocos2d::CCAnimate::create(v52);
cocos2d::CCCallFunc::create(v38, 536, 1);
v54 = sub_10021D420(v53);
cocos2d::CCNode::runAction(v38, v54);
v55 = cocos2d::CCDelayTime::create(v51 * 12.0);
cocos2d::CCFadeOut::create(v51 * 6.0);
v56 = sub_10021D420(v55);
cocos2d::CCNode::runAction(v38, v56);
v57 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v57 + 1568LL))(v57, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v57, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v57 + 1584LL))(v57, 1);
v58 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v57 + 184LL))(v57, v58);
__asm { FMOV V0.4S, #1.0 }
v543 = _Q0;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v57 + 1360LL))(v57, &v543);
v543 = xmmword_10075CE90;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v57 + 1392LL))(v57, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v57 + 1376LL))(v57, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v57 + 1408LL))(v57, &v543);
v64 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v57 + 1056LL))(v57);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 1064LL))(v57, v64 * 0.8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 160LL))(v57, v8 * 0.8);
v65 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v57 + 1288LL))(v57);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 1296LL))(v57, v65 * 0.5);
v66 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v57 + 1320LL))(v57);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v57 + 1328LL))(v57, v66 * 0.1);
cocos2d::CCParticleSystem::resetSystem(v57);
v67 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 90.0, 0.5);
*(_BYTE *)(v67 + 342) = -1;
*(_WORD *)(v67 + 340) = -256;
v68 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v67 + 184LL))(v67, v68);
*(_DWORD *)(v67 + 360) = 1065353216;
*(_QWORD *)(v67 + 352) = 0xA00000001LL;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v67, 1000);
v69 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 100.0, 0.4);
*(_BYTE *)(v69 + 342) = -1;
*(_WORD *)(v69 + 340) = -256;
v70 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v69 + 184LL))(v69, v70);
*(_QWORD *)(v69 + 352) = 0xA00000001LL;
goto LABEL_98;
case 19:
v222 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_18_002.png");
v326 = GameManager::sharedState(v222);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v326 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v326 + 544) + 3920LL),
v222,
10000);
v327 = rand();
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v222 + 360LL))(
v222,
(float)((float)(vcvts_n_f32_s32(v327, 0x1Fu) * 2.0) + -1.0) * 180.0);
v224 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.3) + 1.0);
v328 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v222 + 184LL))(v222, v328);
v329 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v222 + 160LL))(v222, v224);
v330 = 2;
v331 = sub_1002E736C(v329);
v332 = v331;
do
{
v333 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v331);
v334 = sub_1003065B0("playerExplosion_18_%03d.png", v330);
v335 = cocos2d::CCString::getCString(v334);
v336 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v333, v335);
sub_1002E74E0(v332, v336);
++v330;
}
while ( v330 != 24 );
v234 = (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.005) + 0.035;
v337 = cocos2d::CCAnimation::createWithSpriteFrames(v332, v234);
v338 = cocos2d::CCAnimate::create(v337);
cocos2d::CCCallFunc::create(v222, 536, 1);
v339 = sub_10021D420(v338);
cocos2d::CCNode::runAction(v222, v339);
v238 = cocos2d::CCDelayTime::create(v234 * 18.0);
v239 = 5.0;
LABEL_59:
cocos2d::CCFadeOut::create(v234 * v239);
v340 = sub_10021D420(v238);
cocos2d::CCNode::runAction(v222, v340);
v341 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v341 + 1568LL))(v341, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v341, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v341 + 1584LL))(v341, 1);
v342 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v341 + 184LL))(v341, v342);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v341 + 1024LL))(v341, 30.0);
v543 = xmmword_10075CE60;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v341 + 1360LL))(v341, &v543);
v543 = xmmword_10075CE70;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v341 + 1392LL))(v341, &v543);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v341 + 1280LL))(v341, 0);
v543 = xmmword_10075CE80;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v341 + 1376LL))(v341, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v341 + 1408LL))(v341, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v341 + 1056LL))(v341);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v341 + 1064LL))(v341);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v341 + 160LL))(v341, v224);
cocos2d::CCParticleSystem::resetSystem(v341);
v343 = v224 * 10.0;
v344 = CCCircleWave::create_1(0, v224 * 10.0, v224 * 110.0, 0.6);
*(_BYTE *)(v344 + 342) = 0;
*(_WORD *)(v344 + 340) = -14081;
v345 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v344 + 184LL))(v344, v345);
*(_DWORD *)(v344 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64))(*a1[378] + 464LL))(a1[378], v344);
LABEL_63:
v36 = v224 * 115.0;
v37 = v343;
LABEL_64:
v157 = CCCircleWave::create_1(0, v37, v36, 0.4);
v69 = v157;
*(_BYTE *)(v157 + 342) = 0;
v158 = -26881;
goto LABEL_96;
case 20:
v423 = cocos2d::CCSprite::createWithSpriteFrameName("playerExplosion_19_002.png");
v424 = GameManager::sharedState(v423);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v424 + 544) + 3920LL) + 464LL))(
*(_QWORD *)(*(_QWORD *)(v424 + 544) + 3920LL),
v423,
10000);
v425 = v8 * (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 0.3) + 1.0);
v426 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v423 + 184LL))(v423, v426);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v423 + 160LL))(v423, v425);
v427 = rand();
v428 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v423 + 360LL))(
v423,
(float)((float)(vcvts_n_f32_s32(v427, 0x1Fu) * 2.0) + -1.0) * 45.0);
v429 = 2;
v430 = sub_1002E736C(v428);
v431 = v430;
do
{
v432 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v430);
v433 = sub_1003065B0("playerExplosion_19_%03d.png", v429);
v434 = cocos2d::CCString::getCString(v433);
v435 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v432, v434);
sub_1002E74E0(v431, v435);
++v429;
}
while ( v429 != 14 );
v436 = rand();
v437 = cocos2d::CCAnimation::createWithSpriteFrames(v431, (float)(vcvts_n_f32_s32(v436, 0x1Fu) * 0.005) + 0.04);
v438 = cocos2d::CCAnimate::create(v437);
cocos2d::CCCallFunc::create(v423, 536, 1);
v439 = sub_10021D420(v438);
cocos2d::CCNode::runAction(v423, v439);
v440 = cocos2d::CCParticleSystemQuad::create("explodeEffectGrav.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v440 + 1568LL))(v440, 2);
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v440, 99);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v440 + 1584LL))(v440, 1);
v441 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v440 + 184LL))(v440, v441);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v440 + 1024LL))(v440, 30.0);
v543 = xmmword_10075CE60;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v440 + 1360LL))(v440, &v543);
v543 = xmmword_10075CE70;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v440 + 1392LL))(v440, &v543);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v440 + 1280LL))(v440, 0);
v543 = xmmword_10075CE80;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v440 + 1376LL))(v440, &v543);
v543 = xmmword_10075C980;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v440 + 1408LL))(v440, &v543);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v440 + 1056LL))(v440);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v440 + 1064LL))(v440);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v440 + 160LL))(v440, v425);
cocos2d::CCParticleSystem::resetSystem(v440);
v442 = CCCircleWave::create_1(0, v425 * 10.0, v425 * 110.0, 0.6);
*(_BYTE *)(v442 + 342) = 0;
*(_WORD *)(v442 + 340) = -14081;
v443 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v442 + 184LL))(v442, v443);
*(_DWORD *)(v442 + 360) = 1065353216;
(*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1[378] + 464LL))(a1[378], v442, 99);
v444 = CCCircleWave::create_1(0, v425 * 10.0, v425 * 115.0, 0.4);
*(_BYTE *)(v444 + 342) = 0;
*(_WORD *)(v444 + 340) = -26881;
v445 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v444 + 184LL))(v444, v445);
*(_QWORD *)(v444 + 352) = 0xA00000001LL;
v446 = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1[378] + 464LL))(a1[378], v444);
goto LABEL_99;
default:
v498 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v498 + 1568LL))(v498, 2);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v498, 100);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v498 + 1584LL))(v498, 1);
v499 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v498 + 184LL))(v498, v499);
*(float *)&v500 = (float)*((unsigned __int8 *)a1 + 2604) / 255.0;
v501.i16[0] = *((_WORD *)a1 + 1301);
v501.i8[2] = *((_BYTE *)a1 + 2604);
v501.i32[1] = (unsigned __int32)v501.i32[0] >> 8;
*(float32x2_t *)&v543 = vdiv_f32(
vcvt_f32_u32((uint32x2_t)vand_s8(v501, (int8x8_t)0xFF000000FFLL)),
(float32x2_t)vdup_n_s32(0x437F0000u));
*((_QWORD *)&v543 + 1) = v500 | 0x3F80000000000000LL;
(*(void (__fastcall **)(__int64, __int128 *))(*(_QWORD *)v498 + 1360LL))(v498, &v543);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v498 + 160LL))(v498, v8);
cocos2d::CCParticleSystem::resetSystem(v498);
v502 = CCCircleWave::create_1(0, v8 * 10.0, v8 * 90.0, 0.5);
v503 = *v6;
*(_BYTE *)(v502 + 342) = *((_BYTE *)a1 + 2604);
*(_WORD *)(v502 + 340) = v503;
v504 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[24])(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v502 + 184LL))(v502, v504);
v446 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v502);
goto LABEL_99;
}
}