// // GameObject::setupCustomSprites from 0x5119e0 to 0x524500 (76576 bytes) // // 1 xrefs: // > LabelGameObject::setupCustomSprites @ 0x3eb36a // // 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 // GJSpriteColor *__fastcall GameObject::setupCustomSprites(GameObject *this, int a2) { ObjectToolbox *m_objectID; // r4 void (__fastcall *v4)(GameObject *__hidden, const cocos2d::ccColor3B *); // r3 bool v5; // zf bool v6; // zf bool v7; // cc bool v8; // zf bool v9; // zf int v10; // r3 int v11; // r3 int v12; // r3 bool v13; // zf bool v14; // zf bool v15; // zf int v16; // r3 int v17; // r3 int v18; // r3 bool v19; // zf bool v20; // zf int v21; // r3 int v22; // r3 int v23; // r3 bool v24; // zf bool v25; // zf ObjectToolbox *v26; // r0 int v27; // r6 char *v28; // r9 int v29; // r3 int v30; // r3 int v31; // r3 void (__fastcall *setGlowColor)(GameObject *__hidden, const cocos2d::ccColor3B *); // r2 int v33; // r3 int v34; // r3 int v35; // r3 int v36; // r3 void (__fastcall *v37)(GameObject *__hidden, const cocos2d::ccColor3B *); // r3 char *v38; // r3 float v39; // r7 cocos2d::CCSprite *v40; // r0 char *v41; // r3 float v42; // r7 cocos2d::CCSprite *v43; // r0 cocos2d::CCSprite *v44; // r0 cocos2d::CCSprite *v45; // r0 char *v46; // r3 float v47; // r9 char *v48; // r3 cocos2d::CCSprite *v49; // r0 cocos2d::CCSprite *v50; // r0 char *v51; // r3 float v52; // r7 cocos2d::CCSprite *v53; // r0 cocos2d::CCSprite *v54; // r0 cocos2d::CCSprite *v55; // r0 char *v56; // r3 float v57; // r7 cocos2d::CCSprite *v58; // r0 cocos2d::CCSprite *v59; // r0 cocos2d::CCSprite *v60; // r0 char *v61; // r3 float v62; // r7 cocos2d::CCSprite *v63; // r0 cocos2d::CCSprite *v64; // r0 cocos2d::CCSprite *v65; // r0 char *v66; // r3 float v67; // r7 cocos2d::CCSprite *v68; // r0 char *v69; // r3 float v70; // r7 cocos2d::CCSprite *v71; // r4 cocos2d::CCSprite *v72; // r5 cocos2d::CCSprite *v73; // r5 cocos2d::CCSprite *v74; // r4 cocos2d::CCSprite *v75; // r4 char *v76; // r3 cocos2d::CCSprite *v77; // r6 cocos2d::CCSprite *v78; // r5 char *v79; // r3 cocos2d::CCSprite *v80; // r4 cocos2d::CCSprite *v81; // r6 cocos2d::CCSprite *v82; // r5 cocos2d::CCSprite *v83; // r6 cocos2d::CCSprite *v84; // r6 cocos2d::CCSprite *v85; // r5 cocos2d::CCSprite *v86; // r6 char *v87; // r1 int v88; // r6 cocos2d::CCSprite *v89; // r4 void (__fastcall *v90)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCSprite_vtbl *v91; // r3 float *v92; // r0 const cocos2d::CCSize *(__fastcall *getContentSize)(const cocos2d::CCNode *__hidden); // r3 float height; // s15 cocos2d::CCSprite *v95; // r6 cocos2d::CCSprite *v96; // r5 cocos2d::CCSprite *v97; // r6 cocos2d::CCSprite *v98; // r5 int v99; // r2 bool v100; // r3 cocos2d::CCSprite *v101; // r5 void (__fastcall *setAnchorPoint)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 int v103; // r2 bool v104; // r3 cocos2d::CCSprite *v105; // r5 void (__fastcall *v106)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 GameObject_vtbl *v107; // r3 cocos2d::CCSprite *v108; // r0 char *v109; // r3 cocos2d::CCSprite *v110; // r0 cocos2d::CCSprite *v111; // r7 char *v112; // r3 cocos2d::CCSprite *v113; // r6 cocos2d::CCSprite *v114; // r3 cocos2d::CCSprite_vtbl *v115; // r2 cocos2d::CCSprite *v116; // r0 GameObject_vtbl *v117; // r3 cocos2d::CCSprite *v118; // r3 cocos2d::CCSprite_vtbl *v119; // r2 cocos2d::CCSprite *v120; // r0 GameObject_vtbl *v121; // r3 cocos2d::CCSprite *v122; // r3 int v123; // r1 char *v124; // r1 char *v125; // r1 int v126; // r9 cocos2d::CCSprite *v127; // r10 cocos2d::CCSprite_vtbl *v128; // r2 cocos2d::CCSprite *v129; // r10 cocos2d::CCSprite_vtbl *v130; // r3 cocos2d::CCSprite *v131; // r5 int v132; // r2 char *v133; // r3 cocos2d::CCSprite *v134; // r5 cocos2d::CCSprite_vtbl *v135; // r3 char *v136; // r3 cocos2d::CCSprite *v137; // r4 int v138; // r3 int v139; // r3 char *v140; // r3 cocos2d::CCSprite *v141; // r9 cocos2d::CCSprite_vtbl *v142; // r3 char *v143; // r3 cocos2d::CCSprite *v144; // r9 cocos2d::CCSprite_vtbl *v145; // r3 char *v146; // r3 cocos2d::CCSprite *v147; // r9 char *v148; // r3 cocos2d::CCSprite *v149; // r9 cocos2d::CCSprite_vtbl *v150; // r3 char *v151; // r3 char *v152; // r3 cocos2d::CCSprite *v153; // r5 cocos2d::CCSprite_vtbl *v154; // r3 int v155; // s15 void (__fastcall *refreshTextureRect)(cocos2d::CCSprite *__hidden); // r3 char *v157; // r3 cocos2d::CCSprite *v158; // r9 cocos2d::CCSprite_vtbl *v159; // r3 char *v160; // r3 cocos2d::CCSprite *v161; // r9 cocos2d::CCSprite_vtbl *v162; // r3 char *v163; // r3 cocos2d::CCSprite *v164; // r9 char *v165; // r3 char *v166; // r3 cocos2d::CCSprite *v167; // r9 char *v168; // r3 char *v169; // r3 cocos2d::CCSprite *v170; // r5 float v171; // s15 cocos2d::CCSprite_vtbl *v172; // r3 void (__fastcall *v173)(cocos2d::CCSprite *__hidden); // r3 cocos2d::CCSprite *v174; // r5 cocos2d::CCSprite_vtbl *v175; // r3 cocos2d::CCSprite *v176; // r5 cocos2d::CCSprite_vtbl *v177; // r3 cocos2d::CCSprite *v178; // r5 cocos2d::CCSprite *v179; // r5 cocos2d::CCSprite *v180; // r5 cocos2d::CCSprite *v181; // r6 cocos2d::CCSprite *v182; // r5 GameObject_vtbl *v183; // r3 cocos2d::CCSprite *v184; // r3 cocos2d::CCSprite_vtbl *v185; // r2 cocos2d::CCSprite *v186; // r0 GameObject_vtbl *v187; // r3 char *v188; // r3 cocos2d::CCSprite *v189; // r7 cocos2d::CCSprite_vtbl *v190; // r3 char *v191; // r3 cocos2d::CCSprite *v192; // r7 cocos2d::CCSprite_vtbl *v193; // r3 int v194; // r3 cocos2d::CCSprite *v195; // r7 char *v196; // r3 cocos2d::CCSprite *v197; // r5 cocos2d::CCSprite *v198; // r7 char *v199; // r3 cocos2d::CCSprite *v200; // r5 char *v201; // r3 cocos2d::CCSprite *v202; // r7 cocos2d::CCSprite_vtbl *v203; // r3 char *v204; // r3 cocos2d::CCSprite *v205; // r7 cocos2d::CCSprite_vtbl *v206; // r3 cocos2d::CCSprite *v207; // r7 char *v208; // r3 cocos2d::CCSprite *v209; // r5 int v210; // r3 float v211; // s16 cocos2d::CCSprite *v212; // r4 int v213; // r3 float v214; // s16 cocos2d::CCSprite *v215; // r4 int v216; // r3 char *v217; // r1 cocos2d::CCLabelBMFont *v218; // r4 cocos2d::CCSprite *v219; // r0 cocos2d::CCSprite *v220; // r0 cocos2d::CCSprite *v221; // r0 char *v222; // r3 cocos2d::CCSprite *v223; // r0 char *v224; // r3 cocos2d::CCSprite *v225; // r0 char *v226; // r3 cocos2d::CCSprite *v227; // r10 char *v228; // r3 cocos2d::CCSprite *v229; // r6 int v230; // r3 char *v231; // r1 char *v232; // r3 int v233; // r3 char *v234; // r1 cocos2d::CCSprite *v235; // r10 char *v236; // r3 cocos2d::CCSprite *v237; // r5 char *v238; // r3 cocos2d::CCSprite *v239; // r10 char *v240; // r3 cocos2d::CCSprite *v241; // r9 cocos2d::CCSprite *v242; // r10 char *v243; // r3 cocos2d::CCSprite *v244; // r9 cocos2d::CCSprite *v245; // r9 char *v246; // r3 cocos2d::CCSprite *v247; // r5 char *v248; // r1 char *v249; // r3 char *v250; // r3 char *v251; // r3 cocos2d::CCSprite *v252; // r9 char *v253; // r3 cocos2d::CCSprite *v254; // r6 cocos2d::CCSprite *v255; // r7 void (__fastcall *v256)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9 cocos2d::CCSprite *v257; // r7 void (__fastcall *v258)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9 cocos2d::CCSprite *v259; // r7 void (__fastcall *v260)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9 cocos2d::CCSprite *v261; // r5 void (__fastcall *v262)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r4 int v263; // r3 cocos2d::CCSprite *v264; // r5 cocos2d::CCSprite *v265; // r5 void (__fastcall *v266)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6 cocos2d::CCSprite *v267; // r4 cocos2d::CCSprite *v268; // r5 cocos2d::CCSprite *v269; // r7 cocos2d::CCSprite *v270; // r6 void (__fastcall *v271)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCSprite *v272; // r6 cocos2d::CCSprite *v273; // r4 cocos2d::CCSprite *v274; // r3 cocos2d::CCSprite *v275; // r3 void (__fastcall *v276)(GameObject *__hidden, const cocos2d::ccColor3B *); // r2 cocos2d::CCSprite *v277; // r3 char *v278; // r3 cocos2d::CCSprite *v279; // r3 char *v280; // r3 void (__fastcall *v281)(GameObject *__hidden, const cocos2d::ccColor3B *); // r2 void (__fastcall *v282)(GameObject *__hidden, const cocos2d::ccColor3B *); // r2 void (__fastcall *v283)(GameObject *__hidden, const cocos2d::ccColor3B *); // r3 void (__fastcall *v284)(GameObject *__hidden, const cocos2d::ccColor3B *); // r2 char *v285; // r3 cocos2d::CCSprite *v286; // r6 cocos2d::CCSprite *m_glowSprite; // r3 char *v288; // r3 char *v289; // r3 cocos2d::CCSprite *v290; // r6 char *v291; // r3 cocos2d::CCSprite *v292; // r6 cocos2d::CCSprite *v293; // r3 char *v294; // r3 char *v295; // r3 cocos2d::CCSprite *v296; // r6 cocos2d::CCSprite *v297; // r6 cocos2d::CCSprite *v298; // r6 cocos2d::CCSprite *v299; // r5 cocos2d::CCSprite *v300; // r6 cocos2d::CCSprite *v301; // r6 cocos2d::CCSprite *v302; // r7 cocos2d::CCSprite *v303; // r7 cocos2d::CCSprite *v304; // r0 cocos2d::CCSprite *v305; // r7 cocos2d::CCSprite *v306; // r7 cocos2d::CCSprite *v307; // r6 cocos2d::CCSprite *v308; // r7 cocos2d::CCSprite *v309; // r7 cocos2d::CCSprite *v310; // r6 cocos2d::CCSprite *v311; // r4 cocos2d::CCSprite *v312; // r5 cocos2d::CCSprite *v313; // r6 cocos2d::CCSprite *v314; // r6 cocos2d::CCSprite *v315; // r7 cocos2d::CCSprite *v316; // r7 cocos2d::CCSprite *v317; // r6 cocos2d::CCSprite *v318; // r7 cocos2d::CCSprite *v319; // r7 cocos2d::CCSprite *v320; // r6 cocos2d::CCSprite *v321; // r7 cocos2d::CCSprite *v322; // r7 cocos2d::CCSprite *v323; // r6 cocos2d::CCSprite *v324; // r0 cocos2d::CCSprite *v325; // r0 _BOOL4 v326; // r7 char *v327; // r0 char **v328; // r4 int v329; // r3 char *v330; // r6 int v331; // r3 char *v332; // r0 const char **v333; // r5 int v334; // r3 char *v335; // r7 void **v336; // r0 char *v337; // r1 char **v338; // r0 char *v339; // r3 char *v340; // r3 ObjectToolbox *v341; // r0 char *v342; // r7 char *v343; // r6 cocos2d::CCSprite *v344; // r7 cocos2d::CCSprite *v345; // r0 char *v346; // r6 cocos2d::CCSprite *v347; // r7 cocos2d::CCSprite *v348; // r5 char *v349; // r0 int v350; // r3 char *v351; // r6 void *v352; // r0 ObjectToolbox *v353; // r0 char *v354; // r6 int v355; // r9 const char *v356; // r0 int v357; // r11 float v358; // s20 float v359; // s16 char *v360; // r10 float v361; // s19 int v362; // r2 float v363; // s17 cocos2d::CCSprite *v364; // r4 cocos2d::CCSprite *v365; // r4 int v366; // r9 const char *v367; // r0 int v368; // r2 int v369; // r11 float v370; // s19 float v371; // s16 char *v372; // r10 float v373; // s18 int v374; // r2 cocos2d::CCSprite *v375; // r4 cocos2d::CCSprite *v376; // r4 int v377; // r6 char *v378; // r9 float v379; // s16 cocos2d::CCSprite *v380; // r7 cocos2d::CCSprite *v381; // r5 cocos2d::CCSprite *v382; // r5 cocos2d::CCSprite *v383; // r5 cocos2d::CCSprite *v384; // r5 char *v385; // r3 char *v386; // r3 char *v387; // r3 char *v388; // r3 char *v389; // r3 char *v390; // r3 cocos2d::CCSprite *v391; // r6 char *v392; // r3 cocos2d::CCSprite *v393; // r5 char *v394; // r9 cocos2d::CCSprite *v395; // r7 cocos2d::CCSprite *v396; // r7 char *v397; // r3 cocos2d::CCSprite *v398; // r7 char *v399; // r3 cocos2d::CCSprite *v400; // r6 cocos2d::CCSprite *v401; // r7 cocos2d::CCSprite *v402; // r7 cocos2d::CCSprite *v403; // r7 char *v404; // r3 cocos2d::CCSprite *v405; // r9 char *v406; // r3 cocos2d::CCSprite *v407; // r9 char *v408; // r3 cocos2d::CCSprite *v409; // r6 cocos2d::CCSprite *v410; // r6 char *v411; // r3 cocos2d::CCSprite *v412; // r5 cocos2d::CCSprite *v413; // r6 cocos2d::CCSprite *v414; // r6 cocos2d::CCSprite *v415; // r6 char *v416; // r3 cocos2d::CCSprite *v417; // r9 char *v418; // r3 cocos2d::CCSprite *v419; // r9 char *v420; // r3 cocos2d::CCSprite *v421; // r5 cocos2d::CCSprite *v422; // r0 char *v423; // r3 char *v424; // r3 char *v425; // r3 cocos2d::CCSprite *v426; // r4 char *v427; // r3 _BOOL4 v428; // r3 _BOOL4 v429; // r7 _BOOL4 v430; // r9 char *v431; // r3 char *v432; // r3 cocos2d::CCSprite *v433; // r0 char *v434; // r3 cocos2d::CCSprite *v435; // r5 _BOOL4 v436; // r7 char *v437; // r3 char *v438; // r3 cocos2d::CCSprite *v439; // r0 char *v440; // r3 cocos2d::CCSprite *v441; // r0 cocos2d::CCSprite *v442; // r0 cocos2d::CCSprite *v443; // r0 cocos2d::CCSprite *v444; // r0 cocos2d::CCSprite *v445; // r0 char *v446; // r3 cocos2d::CCSprite *v447; // r0 char *v448; // r3 cocos2d::CCSprite *v449; // r0 char *v450; // r3 cocos2d::CCSprite *v451; // r0 cocos2d::CCSprite *v452; // r0 char *v453; // r3 cocos2d::CCSprite *v454; // r0 cocos2d::CCSprite *v455; // r0 cocos2d::CCSprite *v456; // r0 char *v457; // r3 cocos2d::CCSprite *v458; // r0 char *v459; // r3 cocos2d::CCSprite *v460; // r0 cocos2d::CCSprite *v461; // r0 char *v462; // r3 cocos2d::CCSprite *v463; // r0 cocos2d::CCSprite *v464; // r0 cocos2d::CCSprite *v465; // r5 cocos2d::CCSprite *v466; // r7 cocos2d::CCSprite *v467; // r7 cocos2d::CCSprite *v468; // r0 char *v469; // r3 cocos2d::CCSprite *v470; // r0 cocos2d::CCSprite *v471; // r6 cocos2d::CCSprite *v472; // r5 cocos2d::CCSprite *v473; // r4 cocos2d::CCSprite *v474; // r4 cocos2d::CCSprite *v475; // r4 cocos2d::CCSprite *v476; // r4 cocos2d::CCSprite *v477; // r4 cocos2d::CCSprite *v478; // r4 cocos2d::CCSprite *v479; // r4 cocos2d::CCSprite *v480; // r4 cocos2d::CCSprite *v481; // r4 cocos2d::CCSprite *v482; // r5 cocos2d::CCSprite *v483; // r6 cocos2d::CCSprite *v484; // r6 cocos2d::CCSprite *v485; // r5 cocos2d::CCSprite *v486; // r4 cocos2d::CCSprite *v487; // r6 cocos2d::CCSprite *v488; // r5 cocos2d::CCSprite *v489; // r7 cocos2d::CCSprite *v490; // r7 cocos2d::CCSprite *v491; // r5 cocos2d::CCSprite *v492; // r6 cocos2d::CCSprite *v493; // r5 cocos2d::CCSprite *v494; // r6 cocos2d::CCSprite *v495; // r5 cocos2d::CCSprite *v496; // r5 float v497; // s15 void (__fastcall *v498)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v499; // r6 float v500; // s15 void (__fastcall *setOpacity)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v502; // r5 cocos2d::CCSprite *v503; // r6 float v504; // s15 void (__fastcall *v505)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v506; // r0 cocos2d::CCSprite *v507; // r6 float v508; // s15 void (__fastcall *v509)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v510; // r0 cocos2d::CCSprite *v511; // r6 float v512; // s15 void (__fastcall *v513)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v514; // r0 cocos2d::CCSprite *v515; // r0 cocos2d::CCSprite *v516; // r0 cocos2d::CCSprite *v517; // r6 float v518; // s15 void (__fastcall *v519)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v520; // r0 cocos2d::CCSprite *v521; // r0 cocos2d::CCSprite *v522; // r0 cocos2d::CCSprite *v523; // r4 float v524; // s15 void (__fastcall *v525)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v526; // r6 float v527; // s15 void (__fastcall *v528)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v529; // r6 cocos2d::CCSprite *v530; // r4 float v531; // s15 void (__fastcall *v532)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v533; // r5 float v534; // s15 void (__fastcall *v535)(cocos2d::CCSprite *__hidden, GLubyte); // r3 float v536; // s15 cocos2d::CCSprite *v537; // r4 cocos2d::CCSprite *v538; // r4 cocos2d::CCSprite *v539; // r5 float v540; // s15 void (__fastcall *v541)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v542; // r5 float v543; // s15 void (__fastcall *v544)(cocos2d::CCSprite *__hidden, GLubyte); // r3 cocos2d::CCSprite *v545; // r6 cocos2d::CCSprite *v546; // r0 cocos2d::CCSprite *v547; // r0 cocos2d::CCSprite *v548; // r0 cocos2d::CCSprite *v549; // r6 cocos2d::CCSprite *v550; // r0 int v551; // r3 int v552; // r3 cocos2d::CCSprite *v553; // r0 cocos2d::CCSprite *v554; // r0 cocos2d::CCSprite *v555; // r0 cocos2d::CCSprite *v556; // r0 cocos2d::CCSprite *v557; // r0 cocos2d::CCSprite *v558; // r0 cocos2d::CCSprite *v559; // r0 cocos2d::CCSprite *v560; // r0 cocos2d::CCSprite *v561; // r4 cocos2d::CCSprite *v562; // r5 cocos2d::CCSprite *v563; // r0 cocos2d::CCSprite *v564; // r6 cocos2d::CCSprite *v565; // r5 cocos2d::CCSprite *v566; // r5 cocos2d::CCSprite *v567; // r6 cocos2d::CCSprite *v568; // r6 cocos2d::CCSprite *v569; // r6 cocos2d::CCSprite *v570; // r6 cocos2d::CCSprite *v571; // r5 cocos2d::CCSprite *v572; // r6 cocos2d::CCSprite *v573; // r6 cocos2d::CCSprite *v574; // r6 cocos2d::CCSprite *v575; // r6 cocos2d::CCSprite *v576; // r6 cocos2d::CCSprite *v577; // r6 cocos2d::CCSprite *v578; // r6 cocos2d::CCSprite *v579; // r6 cocos2d::CCSprite *v580; // r6 cocos2d::CCSprite *v581; // r6 cocos2d::CCSprite *v582; // r0 cocos2d::CCSprite *v583; // r4 cocos2d::CCSprite *v584; // r0 cocos2d::CCSprite *v585; // r6 cocos2d::CCSprite *v586; // r6 cocos2d::CCSprite *v587; // r6 int v588; // r2 cocos2d::CCSprite *v589; // r6 cocos2d::CCSprite *v590; // r6 cocos2d::CCSprite *v591; // r5 cocos2d::CCSprite *v592; // r6 cocos2d::CCSprite *v593; // r6 cocos2d::CCSprite *v594; // r6 cocos2d::CCSprite *v595; // r6 cocos2d::CCSprite *v596; // r6 cocos2d::CCPoint *v597; // r0 cocos2d::CCSprite *v598; // r6 cocos2d::CCSprite *v599; // r6 cocos2d::CCSprite *v600; // r6 cocos2d::CCSprite *v601; // r6 cocos2d::CCSprite *v602; // r6 cocos2d::CCSprite *v603; // r6 cocos2d::CCSprite *v604; // r6 int v605; // r2 cocos2d::CCSprite *v606; // r5 cocos2d::CCSprite *v607; // r4 cocos2d::CCSprite *v608; // r4 cocos2d::CCSprite *v609; // r4 cocos2d::CCSprite_vtbl *v610; // r3 cocos2d::CCSprite *v611; // r4 cocos2d::CCSprite_vtbl *v612; // r3 cocos2d::CCSprite *v613; // r4 cocos2d::CCSprite *v614; // r4 cocos2d::CCSprite *v615; // r4 cocos2d::CCSprite_vtbl *v616; // r3 cocos2d::CCSprite *v617; // r4 cocos2d::CCSprite *v618; // r4 cocos2d::CCSprite *v619; // r4 cocos2d::CCSprite_vtbl *v620; // r3 cocos2d::CCSprite *v621; // r0 cocos2d::CCSprite *v622; // r0 cocos2d::CCSprite *v623; // r6 cocos2d::CCSprite *v624; // r0 cocos2d::CCSprite *v625; // r6 cocos2d::CCSprite *v626; // r0 cocos2d::CCSprite *v627; // r4 cocos2d::CCSprite *v628; // r4 cocos2d::CCSprite *v629; // r0 cocos2d::CCSprite *v630; // r0 cocos2d::CCSprite *v631; // r0 cocos2d::CCSprite *v632; // r0 cocos2d::CCSprite *v633; // r0 cocos2d::CCSprite *v634; // r5 cocos2d::CCSprite *v635; // r0 cocos2d::CCSprite *v636; // r0 cocos2d::CCSprite *v637; // r5 cocos2d::CCSprite *v638; // r0 cocos2d::CCSprite *v639; // r0 cocos2d::CCSprite *v640; // r0 cocos2d::CCSprite *v641; // r0 cocos2d::CCSprite *v642; // r0 cocos2d::CCSprite *v643; // r0 char *v644; // r3 cocos2d::CCSprite *v645; // r0 cocos2d::CCSprite *v646; // r0 char *v647; // r3 cocos2d::CCSprite *v648; // r0 int v649; // r5 cocos2d::CCSprite *v650; // r6 float v651; // s15 int v652; // r5 cocos2d::CCSprite *v653; // r6 float v654; // s15 cocos2d::CCSprite *v655; // r4 void (__fastcall *v656)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6 float width; // s15 const cocos2d::CCSize *v658; // r0 cocos2d::CCSprite *v659; // r5 cocos2d::CCSprite *v660; // r5 cocos2d::CCSprite *v661; // r6 cocos2d::CCSprite *v662; // r6 cocos2d::CCSprite *v663; // r5 cocos2d::CCSprite *v664; // r6 cocos2d::CCSprite *v665; // r6 cocos2d::CCSprite *v666; // r5 cocos2d::CCSprite *v667; // r6 cocos2d::CCSprite *v668; // r6 cocos2d::CCSprite *v669; // r5 cocos2d::CCSprite *v670; // r7 char *v671; // r3 int v672; // r2 cocos2d::CCSprite *m_colorSprite; // r4 void (__fastcall *v674)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5 cocos2d::CCSprite *v675; // r4 char *v676; // r3 cocos2d::CCSprite *v677; // r5 void (__fastcall *v678)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r6 ObjectToolbox *v679; // r0 char *v680; // r0 char *v681; // r9 int v682; // r3 int v683; // r3 cocos2d::CCSprite *v684; // r3 char *v685; // r3 unsigned int i; // r10 float v687; // r1 int v688; // r2 bool v689; // r3 cocos2d::CCSprite *v690; // r4 void (__fastcall *v691)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5 int v692; // r0 char *v693; // r3 cocos2d::CCSprite *v694; // r4 char *v695; // r3 cocos2d::CCSprite *v696; // r4 char *v697; // r3 cocos2d::CCSprite *v698; // r4 void (__fastcall *v699)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5 char *v700; // r3 cocos2d::CCSprite *v701; // r4 void (__fastcall *v702)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r5 unsigned int v703; // r6 int v704; // r3 char *v705; // r11 float v706; // r1 int v707; // r2 bool v708; // r3 cocos2d::CCSprite *v709; // r4 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r9 int v711; // r0 char *v712; // r3 cocos2d::CCSprite *v713; // r5 void (__fastcall *v714)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r4 cocos2d::CCSprite *v715; // r4 int v716; // r1 ObjectToolbox *v717; // r0 char *v718; // r0 char *v719; // r3 char *v720; // r3 cocos2d::CCSprite *v721; // r11 cocos2d::CCSprite *v722; // r11 cocos2d::CCSprite *v723; // r3 cocos2d::CCSprite *v724; // r4 cocos2d::CCSprite *v725; // r5 cocos2d::CCSprite *v726; // r5 cocos2d::CCSprite *v727; // r3 char *v728; // r3 cocos2d::CCSprite *v729; // r3 char *v730; // r3 cocos2d::CCSprite *v731; // r3 char *v732; // r3 cocos2d::CCSprite *v733; // r3 char *v734; // r3 char *v735; // r3 cocos2d::CCSprite *v736; // r5 cocos2d::CCSprite *v737; // r6 cocos2d::CCSprite *v738; // r4 cocos2d::CCSprite *v739; // r6 cocos2d::CCSprite *v740; // r4 cocos2d::CCSprite *v741; // r6 cocos2d::CCSprite *v742; // r4 cocos2d::CCSprite *v743; // r6 cocos2d::CCSprite *v744; // r4 cocos2d::CCSprite *v745; // r6 cocos2d::CCSprite *v746; // r4 cocos2d::CCSprite *v747; // r6 cocos2d::CCSprite *v748; // r4 cocos2d::CCSprite *v749; // r6 cocos2d::CCSprite *v750; // r4 cocos2d::CCSprite *v751; // r6 cocos2d::CCSprite *v752; // r4 char *v753; // r3 cocos2d::CCSprite *v754; // r6 cocos2d::CCSprite *v755; // r4 cocos2d::CCSprite *v756; // r0 char *v757; // r3 cocos2d::CCSprite *v758; // r7 cocos2d::CCSprite *v759; // r4 int v760; // r3 ZLayer v761; // r3 int v762; // r3 int v763; // r3 bool v764; // zf unsigned int v765; // r3 int v766; // r2 GJSpriteColor *result; // r0 cocos2d::CCSprite *v768; // r2 char *v769; // r3 cocos2d::CCSprite *v770; // [sp+4h] [bp-78h] cocos2d::CCSprite *v771; // [sp+4h] [bp-78h] cocos2d::CCSprite *v772; // [sp+4h] [bp-78h] bool v773; // [sp+4h] [bp-78h] char *v774; // [sp+8h] [bp-74h] char *v775; // [sp+8h] [bp-74h] char *v776; // [sp+8h] [bp-74h] char *v777; // [sp+8h] [bp-74h] bool v778; // [sp+8h] [bp-74h] bool v779; // [sp+Ch] [bp-70h] char v780[4]; // [sp+30h] [bp-4Ch] BYREF const char *v781; // [sp+34h] [bp-48h] BYREF void *v782; // [sp+38h] [bp-44h] BYREF const char *v783; // [sp+3Ch] [bp-40h] BYREF char *v784; // [sp+40h] [bp-3Ch] BYREF char v785; // [sp+44h] [bp-38h] BYREF const char *v786; // [sp+48h] [bp-34h] BYREF const char *v787; // [sp+4Ch] [bp-30h] BYREF const char *v788; // [sp+50h] [bp-2Ch] BYREF const char *v789; // [sp+54h] [bp-28h] BYREF char *v790; // [sp+58h] [bp-24h] BYREF cocos2d::CCPoint v791; // [sp+5Ch] [bp-20h] BYREF cocos2d::CCPoint v792; // [sp+64h] [bp-18h] BYREF cocos2d::CCPoint v793; // [sp+6Ch] [bp-10h] BYREF m_objectID = (ObjectToolbox *)this->m_objectID; if ( m_objectID == (ObjectToolbox *)((char *)&stru_3FC.st_value + 1) ) goto LABEL_1370; if ( (int)m_objectID > 1025 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_62C.st_name + 2) ) goto LABEL_1805; if ( (int)m_objectID <= 1582 ) { if ( m_objectID == (ObjectToolbox *)&stru_4AC.st_shndx ) goto LABEL_1499; if ( (int)m_objectID <= 1210 ) { if ( (int)m_objectID <= 1098 ) { if ( (int)m_objectID < 1096 ) { if ( m_objectID == (ObjectToolbox *)&stru_42C ) goto LABEL_1389; if ( (int)m_objectID <= 1068 ) { if ( m_objectID == (ObjectToolbox *)&stru_41C ) { sub_776584((int)&v792, "d_animWave_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v660 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v660->setTag(v660, 1); this->m_bDontDraw = 1; goto LABEL_1833; } if ( (int)m_objectID <= 1052 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_3FC.st_size + 2) ) goto LABEL_1396; if ( (int)m_objectID > 1030 ) { if ( m_objectID == (ObjectToolbox *)&stru_40C.st_other ) { if ( this->m_editorEnabled ) { sub_776584((int)&v792, "edit_eToggleBtn2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v382 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v382->setTag(v382, 998); this->m_isColorSpriteBlack = 1; this->m_hasCustomChild = 0; } goto LABEL_1833; } if ( (int)m_objectID > 1049 ) { if ( m_objectID == (ObjectToolbox *)&stru_40C.st_shndx ) sub_776584((int)&v792, "d_animWave_01_001.png"); else sub_776584((int)&v792, "d_animWave_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v659 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v659->setTag(v659, 1); this->m_bDontDraw = 1; goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_3FC.st_size + 3) ) goto LABEL_1399; v25 = m_objectID == (ObjectToolbox *)&stru_3FC.st_info; goto LABEL_296; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_3FC.st_value + 3) ) goto LABEL_1384; if ( (int)m_objectID < 1027 ) goto LABEL_1382; if ( m_objectID == (ObjectToolbox *)&stru_3FC.st_size ) goto LABEL_1386; v21 = 1029; goto LABEL_758; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_41C.st_size + 2) ) { if ( (int)m_objectID <= 1062 ) { if ( (int)m_objectID < 1055 ) goto LABEL_1833; if ( (int)m_objectID <= 1057 ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "d_pickupCircle_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); v703 = 0; sub_774008(&v792); do { v778 = v703 <= 1; v779 = v703 - 1 <= 1; v704 = this->m_objectID; if ( v704 == 1057 ) { v705 = "d_pickupCircle_01_001.png"; } else if ( v704 == 1056 ) { if ( v703 == 1 ) v705 = "d_pickupCircle_01_001.png"; else v705 = "d_pickupCircle_02_001.png"; } else { v705 = "d_pickupCircle_02_001.png"; } cocos2d::CCPoint::CCPoint(&v791); if ( v703 == 2 ) v706 = 0.0; else v706 = -0.0; cocos2d::CCPoint::CCPoint(&v793, v706, 0.0); cocos2d::CCPoint::operator=((PlayerObject *)&v791, COERCE_FLOAT(&v793), v707, v708); sub_776584((int)&v792, v705); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v709 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v709, v778); cocos2d::CCSprite::setFlipY(v709, v779); setPosition = v709->setPosition; v711 = (int)v709->getPosition(v709); cocos2d::CCPoint::operator+(&v793, v711, &v791); setPosition(v709, &v793); if ( this->m_glowSprite ) { sub_776584((int)&v792, v705); GameObject::getGlowFrame((int)&v793, (int)this, (char *)&v792, v712); v713 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)LODWORD(v793.x)); sub_774008(&v793); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v713, v778); cocos2d::CCSprite::setFlipY(v713, v779); this->m_glowSprite->addChild(this->m_glowSprite, v713); cocos2d::CCNode::convertToNodeSpace(&v792, this->m_glowSprite, &stru_AC7578); v714 = v713->setPosition; cocos2d::CCPoint::operator+(&v793, &v792, &v791); v714(v713, &v793); } ++v703; } while ( v703 != 3 ); goto LABEL_1833; } goto LABEL_1805; } if ( m_objectID == (ObjectToolbox *)&stru_41C.st_other ) goto LABEL_1382; if ( (int)m_objectID > 1065 ) { if ( m_objectID != (ObjectToolbox *)&stru_41C.st_shndx ) { v10 = 1067; goto LABEL_318; } goto LABEL_1384; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_41C.st_size + 3) ) goto LABEL_1362; v9 = m_objectID == (ObjectToolbox *)&stru_41C.st_info; goto LABEL_183; } goto LABEL_1730; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_42C.st_shndx + 1) ) { LABEL_1595: if ( m_objectID != (ObjectToolbox *)((char *)&stru_42C.st_shndx + 1) ) { sub_776584((int)&v792, "block007_bgcolor_003_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v499 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v499->setColor(v499, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v500 = 0.7; setOpacity = v499->setOpacity; if ( this->m_objectID == 809 ) v500 = 0.5; this->m_blackChildOpacity = v500; setOpacity(v499, (unsigned int)(float)(v500 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_002_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_color_002_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 23.0); v502 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v502->setRotation)(v502, -1028390912); goto LABEL_1833; } if ( (int)m_objectID > 1083 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_43C.st_value + 1) ) goto LABEL_1624; if ( (int)m_objectID <= 1089 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_43C.st_name + 2) ) goto LABEL_1610; if ( (int)m_objectID <= 1086 ) { if ( m_objectID == (ObjectToolbox *)&stru_43C ) goto LABEL_1600; goto LABEL_1605; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_43C.st_name + 3) ) { LABEL_1615: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_name + 3) ) { sub_776584((int)&v792, "block007_bgcolor_001_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v517 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v517->setColor(v517, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v518 = 0.7; v519 = v517->setOpacity; if ( this->m_objectID == 817 ) v518 = 0.5; this->m_blackChildOpacity = v518; v519(v517, (unsigned int)(float)(v518 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_06_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_06_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v520 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v520->setRotation)(v520, 1119092736); sub_774008(&v792); sub_776584((int)&v792, "block007_06_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v521 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v521->setRotation)(v521, 1127481344); sub_774008(&v792); sub_776584((int)&v792, "block007_06_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v522 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v522->setRotation)(v522, 1132920832); sub_774008(&v792); goto LABEL_1833; } goto LABEL_1623; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_43C.st_size + 1) ) goto LABEL_1643; if ( (int)m_objectID <= 1093 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_43C.st_value + 3) ) goto LABEL_1633; if ( m_objectID != (ObjectToolbox *)&stru_43C.st_size ) goto LABEL_1833; goto LABEL_1638; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_43C.st_size + 2) ) { LABEL_1648: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_size + 2) ) { sub_776584((int)&v792, "block007_bgcolor_001_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v542 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v542->setColor(v542, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v543 = 0.7; v544 = v542->setOpacity; if ( this->m_objectID == 832 ) v543 = 0.5; this->m_blackChildOpacity = v543; v544(v542, (unsigned int)(float)(v543 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_slope_square_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } v29 = 1095; LABEL_566: if ( m_objectID == (ObjectToolbox *)v29 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_42C.st_size + 2) ) { sub_776584((int)&v792, "block007_bgcolor_012_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v545 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v545->setColor(v545, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); this->m_blackChildOpacity = 0.5; v545->setOpacity(v545, 127); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_005_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_color_005_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v546 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v546->setRotation)(v546, 1119092736); sub_774008(&v792); sub_776584((int)&v792, "block007_color_005_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v547 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v547->setRotation)(v547, 1127481344); sub_774008(&v792); sub_776584((int)&v792, "block007_color_005_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v548 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v548->setRotation)(v548, 1132920832); sub_774008(&v792); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_42C.st_size ) { sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v315 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v315->setScaleX)(v315, -1082130432); sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v316 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v316->setScaleY)(v316, -1082130432); sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v317 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v317->setScaleX)(v317, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v317->setScaleY)(v317, -1082130432); sub_776584((int)&v793, "block003_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 1076 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_42C.st_name + 2) ) { if ( (int)m_objectID < 1070 ) goto LABEL_1396; if ( m_objectID != (ObjectToolbox *)((char *)&stru_42C.st_name + 3) ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_42C.st_value + 3) ) { sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v313 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v313->setScaleY)(v313, -1082130432); sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v314 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v314->setScaleX)(v314, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v314->setScaleY)(v314, -1082130432); sub_776584((int)&v793, "block003_color_02_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } goto LABEL_1833; } goto LABEL_1422; } goto LABEL_1399; } if ( (int)m_objectID > 1081 ) goto LABEL_1590; if ( (int)m_objectID < 1079 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_42C.st_size + 1) ) { sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v318 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v318->setScaleX)(v318, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v319 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v319->setScaleY)(v319, -1082130432); sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v320 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v320->setScaleX)(v320, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v320->setScaleY)(v320, -1082130432); sub_776584((int)&v793, "block003_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } v29 = 1078; goto LABEL_566; } } if ( (int)m_objectID <= 1081 ) { sub_776584((int)&v792, "block007_bgcolor_013_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v549 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v549->setColor(v549, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); this->m_blackChildOpacity = 0.5; v549->setOpacity(v549, 127); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_006_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_color_006_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v550 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v550->setScaleY)(v550, -1082130432); sub_774008(&v792); v551 = this->m_objectID; if ( v551 != 1079 && v551 != 1096 ) { sub_776584((int)&v792, "block007_color_005_001.png"); cocos2d::CCPoint::CCPoint(&v793, -7.5, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } v552 = this->m_objectID; if ( v552 == 1081 || v552 == 1098 ) { sub_776584((int)&v792, "block007_color_005_001.png"); cocos2d::CCPoint::CCPoint(&v793, 7.5, 0.0); v553 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v553->setScaleX)(v553, -1082130432); sub_774008(&v792); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_48C.st_value + 3) ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v475 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v475->setRotation)(v475, 1119092736); goto LABEL_1833; } if ( (int)m_objectID <= 1171 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_47C.st_size + 1) ) { sub_776584((int)&v792, "smallOutline_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v468 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v468->setScaleX)(v468, -1082130432); sub_774008(&v792); if ( this->m_glowSprite ) { sub_776584((int)&v791, "smallOutline_04_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v469); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v470 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v470->setScaleX)(v470, -1082130432); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } if ( (int)m_objectID <= 1157 ) { if ( m_objectID == (ObjectToolbox *)&stru_46C ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block008_topcolor_22_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v638 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v638->setRotation)(v638, 1110704128); sub_774008(&v792); } else if ( (int)m_objectID > 1132 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_46C.st_name + 3) ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block008_topcolor_26_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v640 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v640->setRotation)(v640, 1110704128); sub_774008(&v792); } else if ( (int)m_objectID >= 1136 ) { if ( m_objectID == (ObjectToolbox *)&stru_46C.st_value ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block008_topcolor_27_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v641 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v641->setRotation)(v641, 1110704128); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_46C.st_value + 1) ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block008_topcolor_28_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v642 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v642->setRotation)(v642, 1110704128); sub_774008(&v792); } } else { this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_46C.st_name + 1) ) sub_776584((int)&v792, "block008_topcolor_23_001.png"); else sub_776584((int)&v792, "block008_topcolor_25_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v639 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v639->setRotation)(v639, 1110704128); sub_774008(&v792); } } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_45C.st_value + 3) ) { sub_776584((int)&v792, "block008_topcolor_15_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v629 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v629->setScaleY)(v629, -1082130432); sub_774008(&v792); } else if ( (int)m_objectID > 1123 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_45C.st_size + 2) ) { sub_776584((int)&v792, "block008_topcolor_24b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v630 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v630->setScaleX)(v630, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "block008_topcolor_15_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v631 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v631->setScaleY)(v631, -1082130432); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_45C.st_size + 3) ) { sub_776584((int)&v792, "block008_topcolor_24b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v632 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v632->setScaleX)(v632, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "block008_topcolor_24b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v633 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v633->setScaleY)(v633, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "block008_topcolor_24b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v634 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v634->setScaleX)(v634, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v634->setScaleY)(v634, -1082130432); } } else if ( m_objectID == (ObjectToolbox *)&stru_44C.st_size ) { sub_776584((int)&v792, "block007_bgcolor_010_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "block007_bgcolor_011_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_48C.st_name + 1) ) { sub_776584((int)&v793, "block006_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v471 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v471->setRotation)(v471, -1028390912); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v472 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v472->setRotation)(v472, 1119092736); goto LABEL_1833; } if ( (int)m_objectID > 1165 ) { if ( m_objectID == (ObjectToolbox *)&stru_48C.st_value ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( (int)m_objectID > 1168 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_48C.st_value + 1) ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v474 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v474->setScaleX)(v474, -1082130432); } else { sub_776584((int)&v793, "block006_color_06_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_48C.st_name + 2) ) { sub_776584((int)&v793, "block006_color_05_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else { sub_776584((int)&v793, "block006_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v473 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v473->setRotation)(v473, -1028390912); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_47C.st_shndx ) { sub_776584((int)&v793, "block006_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 1162 ) { if ( (int)m_objectID < 1159 ) goto LABEL_1833; goto LABEL_1730; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_47C.st_shndx + 1) ) { sub_776584((int)&v793, "block006_color_03_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } goto LABEL_1567; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_49C.st_name + 3) ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v489 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v489->setRotation)(v489, -1028390912); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v490 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v490->setScaleX)(v490, -1082130432); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v491 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v491->setScaleX)(v491, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v491->setScaleY)(v491, -1082130432); goto LABEL_1833; } if ( (int)m_objectID < 1184 ) { if ( m_objectID == (ObjectToolbox *)&stru_48C.st_other ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v481 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v481->setScaleX)(v481, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v481->setScaleY)(v481, -1082130432); goto LABEL_1833; } if ( (int)m_objectID > 1177 ) { if ( m_objectID == (ObjectToolbox *)&stru_49C ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v486 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v486->setScaleY)(v486, -1082130432); goto LABEL_1833; } if ( (int)m_objectID <= 1180 ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v483 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v483->setScaleX)(v483, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v483->setScaleY)(v483, -1082130432); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); if ( m_objectID == (ObjectToolbox *)&stru_48C.st_shndx ) { v482 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v482->setScaleY)(v482, -1082130432); } else { v484 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v484->setScaleY)(v484, -1082130432); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v485 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v485->setScaleX)(v485, -1082130432); } goto LABEL_1833; } sub_776584((int)&v793, "block006_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); if ( m_objectID != (ObjectToolbox *)((char *)&stru_49C.st_name + 1) ) { v487 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v487->setScaleY)(v487, -1082130432); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v488 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v488->setScaleY)(v488, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v488->setScaleX)(v488, -1082130432); goto LABEL_1833; } } else { if ( m_objectID == (ObjectToolbox *)((char *)&stru_48C.st_size + 2) ) { sub_776584((int)&v793, "block006_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v478 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v478->setScaleY)(v478, -1082130432); goto LABEL_1833; } if ( (int)m_objectID <= 1174 ) { if ( m_objectID == (ObjectToolbox *)&stru_48C.st_size ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v476 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v476->setScaleX)(v476, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v476->setScaleY)(v476, -1082130432); } else { sub_776584((int)&v793, "block006_color_02_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v477 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v477->setRotation)(v477, 1127481344); } goto LABEL_1833; } sub_776584((int)&v793, "block006_color_03_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block006_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); if ( m_objectID != (ObjectToolbox *)((char *)&stru_48C.st_size + 3) ) { v480 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v480->setRotation)(v480, -1028390912); goto LABEL_1833; } } v479 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v479->setScaleY)(v479, -1082130432); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_49C.st_size + 2) ) { if ( (int)m_objectID <= 1190 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_49C.st_value + 3) ) { sub_776584((int)&v793, "block006_slope_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 1187 ) { if ( m_objectID == (ObjectToolbox *)&stru_49C.st_value ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v492 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v492->setRotation)(v492, -1028390912); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v493 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v493->setScaleX)(v493, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v493->setScaleY)(v493, -1082130432); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_49C.st_value + 1) ) { sub_776584((int)&v793, "block006_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v494 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v494->setScaleY)(v494, -1082130432); sub_776584((int)&v792, "block006_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v495 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v495->setScaleX)(v495, -1082130432); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_49C.st_size ) { sub_776584((int)&v793, "block006_slope_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } goto LABEL_1586; } if ( m_objectID != (ObjectToolbox *)&stru_4AC.st_size ) { if ( (int)m_objectID <= 1204 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_4AC.st_name + 1) ) { sub_776584((int)&v792, "block006_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v422 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v422->setScaleY)(v422, -1082130432); sub_774008(&v792); goto LABEL_1833; } v30 = 1203; goto LABEL_646; } if ( m_objectID == (ObjectToolbox *)&stru_4AC.st_info ) { sub_776584((int)&v792, "blockOutlineThick_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v401 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v401->setRotation)(v401, 1119092736); sub_776584((int)&v792, "blockOutlineThick_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v402 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v402->setRotation)(v402, 1127481344); sub_776584((int)&v792, "blockOutlineThick_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v403 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v403->setRotation)(v403, 1132920832); if ( this->m_glowSprite ) { sub_776584((int)&v791, "blockOutlineThick_07_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v404); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v405 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v405->setRotation)(v405, 1119092736); sub_776584((int)&v791, "blockOutlineThick_07_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v406); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v407 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v407->setRotation)(v407, 1127481344); sub_776584((int)&v791, "blockOutlineThick_07_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v408); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v409 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v409->setRotation)(v409, 1132920832); } goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&stru_4AC.st_other ) goto LABEL_1833; goto LABEL_1497; } LABEL_1490: if ( m_objectID == (ObjectToolbox *)((char *)&stru_4BC.st_size + 2) ) v394 = "blockOutlineThickb_02_001.png"; else v394 = "blockOutlineThick_02_001.png"; sub_776584((int)&v792, v394); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v395 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v395->setScaleX)(v395, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v395->setRotation)(v395, -1028390912); sub_776584((int)&v792, v394); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v396 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v396->setRotation)(v396, 1119092736); if ( this->m_glowSprite ) { sub_776584((int)&v791, v394); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v397); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v398 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v398->setScaleX)(v398, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v398->setRotation)(v398, -1028390912); sub_776584((int)&v791, v394); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v399); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v400 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v400->setRotation)(v400, 1119092736); } goto LABEL_1833; } LABEL_1587: sub_776584((int)&v793, "block006_slope_square_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_50C.st_value + 2) ) { sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v321 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v321->setScaleX)(v321, -1082130432); sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v322 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v322->setScaleY)(v322, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v323 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v323->setScaleX)(v323, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v323->setScaleY)(v323, -1082130432); sub_776584((int)&v793, "block003_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 1298 ) { if ( m_objectID == (ObjectToolbox *)&stru_4DC.st_other ) { sub_776584((int)&v792, "block009c_color_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v625 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v625->setColor(v625, &stru_9ACEDC); this->m_blackChildOpacity = 0.3; v625->setOpacity(v625, 76); this->m_isColorSpriteBlack = 1; sub_776584((int)&v793, "block009c_color_07_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block009c_color_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v626 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v626->setRotation)(v626, -1041235968); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (int)m_objectID <= 1257 ) { if ( m_objectID == (ObjectToolbox *)&stru_4CC.st_info ) { v427 = "block010_piece_04_001.png"; goto LABEL_1510; } if ( (int)m_objectID <= 1240 ) { if ( (int)m_objectID >= 1232 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_4CC.st_size + 2) ) { if ( (int)m_objectID > 1238 ) goto LABEL_1504; if ( m_objectID == (ObjectToolbox *)&stru_4CC.st_value ) { v436 = 1; v437 = "block010_piece_03_001.png"; } else { v436 = m_objectID == (ObjectToolbox *)((char *)&stru_4CC.st_size + 1); if ( m_objectID == (ObjectToolbox *)&stru_4CC.st_size ) v437 = "block010_piece_04_001.png"; else v437 = "block010_piece_03_001.png"; } sub_776584((int)&v792, v437); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); if ( (unsigned int)&m_objectID[-5].m_pUserObject + 1 > 2 ) v438 = "block010_piece_03_001.png"; else v438 = "block010_piece_04_001.png"; sub_776584((int)&v792, v438); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v439 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v439->setScaleX)(v439, -1082130432); sub_774008(&v792); if ( (unsigned int)&m_objectID[-5].m_pShaderProgram <= 1 ) v440 = "block010_piece_03_001.png"; else v440 = "block010_piece_04_001.png"; sub_776584((int)&v792, v440); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v441 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v441->setScaleY)(v441, -1082130432); sub_774008(&v792); if ( v436 ) v434 = "block010_piece_03_001.png"; else v434 = "block010_piece_04_001.png"; LABEL_1528: sub_776584((int)&v792, v434); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v435 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v435->setScaleX)(v435, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v435->setScaleY)(v435, -1082130432); goto LABEL_1833; } goto LABEL_1511; } if ( (int)m_objectID >= 1229 ) goto LABEL_1511; if ( m_objectID == (ObjectToolbox *)((char *)&stru_4BC.st_size + 2) ) goto LABEL_1490; if ( (int)m_objectID <= 1222 ) { v30 = 1221; LABEL_646: if ( m_objectID == (ObjectToolbox *)v30 ) { sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v391 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v391->setScaleX)(v391, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v391->setRotation)(v391, -1028390912); if ( this->m_glowSprite ) { sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v392); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v393 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v393->setScaleX)(v393, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v393->setRotation)(v393, -1028390912); } } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_4BC.st_shndx ) { LABEL_1497: sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v410 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v410->setScaleY)(v410, -1082130432); if ( this->m_glowSprite ) { sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v411); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v412 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v412->setScaleY)(v412, -1082130432); } goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_4BC.st_shndx + 1) ) goto LABEL_1833; LABEL_1499: sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v413 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v413->setRotation)(v413, 1119092736); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v414 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v414->setRotation)(v414, 1127481344); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v415 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v415->setRotation)(v415, 1132920832); if ( this->m_glowSprite ) { sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v416); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v417 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v417->setRotation)(v417, 1119092736); sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v418); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v419 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v419->setRotation)(v419, 1127481344); sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v420); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v421 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v421->setRotation)(v421, 1132920832); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_4DC.st_value + 3) ) { sub_776584((int)&v793, "block009c_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v583 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v583->setScaleY)(v583, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v583->setRotation)(v583, 1119092736); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (int)m_objectID <= 1251 ) { if ( m_objectID != (ObjectToolbox *)&stru_4DC.st_value ) { if ( (int)m_objectID <= 1248 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_4DC.st_name + 2) ) { sub_776584((int)&v792, "block008_topcolor_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v635 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v635->setScaleX)(v635, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "block008_topcolor_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v636 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v636->setScaleY)(v636, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "block008_topcolor_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v637 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v637->setScaleX)(v637, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v637->setScaleY)(v637, -1082130432); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_4DC.st_name + 3) ) goto LABEL_1833; LABEL_1674: if ( m_objectID != (ObjectToolbox *)((char *)&stru_4FC.st_name + 2) ) { sub_776584((int)&v792, "block009c_line_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v564 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v564->setTag(v564, 997); sub_776584((int)&v793, "block009c_color_02_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); GameObject::setDefaultSecondaryColorMode(this, 1012); } if ( this->m_objectID != 1277 ) { sub_776584((int)&v792, "block009c_line_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v565 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v565->setTag(v565, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v565->setScaleY)(v565, -1082130432); sub_776584((int)&v792, "block009c_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v566 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v566->setColor(v566, &stru_9ACEDC); this->m_blackChildOpacity = 0.3; v566->setOpacity(v566, 76); ((void (__fastcall *)(cocos2d::CCSprite *, int))v566->setScaleY)(v566, -1082130432); this->m_isColorSpriteBlack = 1; } goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_4DC.st_value + 1) ) { v31 = 1250; goto LABEL_683; } goto LABEL_1681; } goto LABEL_1678; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_4DC.st_size + 2) ) { if ( (int)m_objectID <= 1254 ) { if ( m_objectID == (ObjectToolbox *)&stru_4DC.st_size ) { sub_776584((int)&v793, "block009c_color_05_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v584 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v584->setRotation)(v584, -1028390912); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } goto LABEL_1689; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_4DC.st_size + 3) ) { sub_776584((int)&v792, "block009c_color_08_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v623 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v623->setColor(v623, &stru_9ACEDC); this->m_blackChildOpacity = 0.3; v623->setOpacity(v623, 76); this->m_isColorSpriteBlack = 1; sub_776584((int)&v793, "block009c_color_06_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block009c_color_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v624 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v624->setRotation)(v624, -1036779520); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } goto LABEL_1696; } goto LABEL_1692; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_4FC.st_value + 2) ) { LABEL_1689: this->m_blackChildOpacity = 0.3; sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v585 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v585->setTag(v585, 997); sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v586 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v586->setTag(v586, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v586->setScaleX)(v586, -1082130432); sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v587 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v587->setColor(v587, &stru_9ACEDC); v587->setOpacity(v587, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v587->setScaleX)(v587, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v587->setScaleY)(v587, -1082130432); v588 = this->m_objectID; this->m_isColorSpriteBlack = 1; if ( v588 == 1253 ) { sub_776584((int)&v792, "block009c_line_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v589 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v589->setTag(v589, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v589->setScaleY)(v589, -1082130432); sub_776584((int)&v792, "block009c_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v590 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v590->setColor(v590, &stru_9ACEDC); v590->setOpacity(v590, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v590->setScaleY)(v590, -1082130432); } sub_776584((int)&v793, "block009c_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v591 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v591->setScaleX)(v591, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v591->setRotation)(v591, -1028390912); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (int)m_objectID <= 1282 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_4EC.st_shndx + 1) ) { if ( (int)m_objectID <= 1275 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_4DC.st_shndx + 1) ) { sub_776584((int)&v792, "block009c_color_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v628 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v628->setRotation)(v628, -1041235968); v628->setColor(v628, &stru_9ACEDC); this->m_blackChildOpacity = 0.3; v628->setOpacity(v628, 76); this->m_isColorSpriteBlack = 1; sub_776584((int)&v793, "block009c_color_09_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (int)m_objectID < 1259 ) { sub_776584((int)&v792, "block009c_color_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v627 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v627->setRotation)(v627, -1036779520); v627->setColor(v627, &stru_9ACEDC); this->m_blackChildOpacity = 0.3; v627->setOpacity(v627, 76); this->m_isColorSpriteBlack = 1; sub_776584((int)&v793, "block009c_color_08_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (unsigned int)&m_objectID[-5].m_sInverse.d + 2 > 1 ) goto LABEL_1833; goto LABEL_1730; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_4FC.st_name + 3) ) { if ( (int)m_objectID < 1280 ) { if ( (int)m_objectID < 1277 ) goto LABEL_1833; goto LABEL_1674; } if ( m_objectID != (ObjectToolbox *)&stru_4FC.st_value ) { v31 = 1281; LABEL_683: if ( m_objectID == (ObjectToolbox *)v31 ) { this->m_blackChildOpacity = 0.3; sub_776584((int)&v792, "block009c_line_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v577 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v577->setTag(v577, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v577->setScaleX)(v577, -1082130432); sub_776584((int)&v792, "block009c_line_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v578 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v578->setTag(v578, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v578->setRotation)(v578, 1119092736); sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v579 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v579->setColor(v579, &stru_9ACEDC); v579->setOpacity(v579, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v579->setRotation)(v579, 1119092736); this->m_isColorSpriteBlack = 1; sub_776584((int)&v793, "block009c_color_05_001.png"); v580 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); if ( this->m_objectID == 1281 ) { v580->m_bDontDraw = 1; } else { sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v581 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v581->setTag(v581, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v581->setScaleY)(v581, -1082130432); } sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v582 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v582->setScaleX)(v582, -1082130432); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); } goto LABEL_1833; } LABEL_1681: this->m_blackChildOpacity = 0.3; sub_776584((int)&v792, "block009c_line_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v572 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v572->setTag(v572, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v572->setScaleX)(v572, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v572->setScaleY)(v572, -1082130432); sub_776584((int)&v792, "block009c_line_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v573 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v573->setTag(v573, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v573->setScaleX)(v573, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v573->setRotation)(v573, 1119092736); sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v574 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v574->setColor(v574, &stru_9ACEDC); v574->setOpacity(v574, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v574->setScaleX)(v574, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v574->setRotation)(v574, 1119092736); sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v575 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v575->setColor(v575, &stru_9ACEDC); v575->setOpacity(v575, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v575->setScaleX)(v575, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v575->setScaleY)(v575, -1082130432); this->m_isColorSpriteBlack = 1; if ( this->m_objectID != 1280 ) { sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v576 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v576->setTag(v576, 997); sub_776584((int)&v793, "block009c_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); GameObject::setDefaultSecondaryColorMode(this, 1012); } goto LABEL_1833; } LABEL_1678: sub_776584((int)&v792, "block009c_line_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v567 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v567->setTag(v567, 997); sub_776584((int)&v792, "block009c_line_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v568 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v568->setTag(v568, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v568->setScaleX)(v568, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v568->setRotation)(v568, -1028390912); if ( this->m_objectID == 1248 ) { sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v569 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v569->setTag(v569, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v569->setScaleX)(v569, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v569->setScaleY)(v569, -1082130432); sub_776584((int)&v792, "block009c_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v570 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v570->setColor(v570, &stru_9ACEDC); this->m_blackChildOpacity = 0.3; v570->setOpacity(v570, 76); ((void (__fastcall *)(cocos2d::CCSprite *, int))v570->setScaleY)(v570, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v570->setScaleX)(v570, -1082130432); this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block009c_color_03_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block009c_color_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v571 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); ((void (__fastcall *)(cocos2d::CCSprite *, int))v571->setScaleY)(v571, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v571->setRotation)(v571, 1119092736); goto LABEL_1833; } LABEL_1754: this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v670 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v670->setTag(v670, 1); sub_775C20(&v792); GameObject::getColorFrame((int)&v793, (int)this, (char *)&v792, v671); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1011); if ( this->m_colorZLayerRelated ) v672 = 1; else v672 = -1; v670->addChild_0(v670, this->m_colorSprite, v672); m_colorSprite = this->m_colorSprite; v674 = m_colorSprite->setPosition; cocos2d::CCNode::convertToNodeSpace(&v793, v670, &stru_AC7578); v674(m_colorSprite, &v793); goto LABEL_1833; } if ( (int)m_objectID <= 1290 ) { if ( (int)m_objectID > 1288 ) { this->m_blackChildOpacity = 0.3; this->m_isColorSpriteBlack = 1; sub_776584((int)&v792, "block009c_line_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v613 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v613->setTag(v613, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v613->setScaleY)(v613, -1082130432); sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v614 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v614->setTag(v614, 997); sub_776584((int)&v792, "block009c_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v615 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v615->setColor(v615, &stru_9ACEDC); ((void (__fastcall *)(cocos2d::CCSprite *, int))v615->setScaleY)(v615, -1082130432); v616 = v615->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_blackChildOpacity = 0.3; v616->setOpacity(v615, 76); if ( this->m_objectID != 1289 ) { sub_776584((int)&v793, "block009c_color_05_001.png"); v617 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v617->m_bDontDraw = 1; sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v618 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v618->setRotation)(v618, 1119092736); sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v619 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v619->setColor(v619, &stru_9ACEDC); v620 = v619->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_blackChildOpacity = 0.3; v620->setOpacity(v619, 76); ((void (__fastcall *)(cocos2d::CCSprite *, int))v619->setScaleX)(v619, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v619->setRotation)(v619, -1020002304); goto LABEL_1695; } sub_776584((int)&v793, "block009c_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); v597 = &v793; goto LABEL_1694; } if ( (int)m_objectID > 1286 ) { this->m_blackChildOpacity = 0.3; this->m_isColorSpriteBlack = 1; sub_776584((int)&v792, "block009c_line_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v607 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v607->setTag(v607, 997); sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v608 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v608->setTag(v608, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v608->setScaleX)(v608, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v608->setScaleY)(v608, -1082130432); sub_776584((int)&v793, "block009c_color_02_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); GameObject::setDefaultSecondaryColorMode(this, 1012); if ( this->m_objectID == 1287 ) { sub_776584((int)&v792, "block009c_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v609 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v609->setColor(v609, &stru_9ACEDC); v610 = v609->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_blackChildOpacity = 0.3; v610->setOpacity(v609, 76); ((void (__fastcall *)(cocos2d::CCSprite *, int))v609->setScaleY)(v609, -1082130432); } else { sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v611 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v611->setColor(v611, &stru_9ACEDC); v612 = v611->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_blackChildOpacity = 0.3; v612->setOpacity(v611, 76); ((void (__fastcall *)(cocos2d::CCSprite *, int))v611->setRotation)(v611, 1132920832); sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v609 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } ((void (__fastcall *)(cocos2d::CCSprite *, int))v609->setScaleX)(v609, -1082130432); goto LABEL_1833; } if ( (int)m_objectID >= 1284 ) { LABEL_1696: this->m_blackChildOpacity = 0.3; if ( m_objectID != (ObjectToolbox *)((char *)&stru_4FC.st_size + 1) ) { sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v598 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v598->setTag(v598, 997); sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v599 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v599->setTag(v599, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v599->setScaleX)(v599, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v599->setScaleY)(v599, -1082130432); sub_776584((int)&v792, "block009c_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v600 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v600->setColor(v600, &stru_9ACEDC); v600->setOpacity(v600, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v600->setScaleX)(v600, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v600->setScaleY)(v600, -1082130432); } if ( this->m_objectID != 1284 ) { sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v601 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v601->setTag(v601, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v601->setScaleX)(v601, -1082130432); if ( this->m_objectID != 1286 ) { sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v602 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v602->setTag(v602, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v602->setScaleY)(v602, -1082130432); sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v603 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v603->setColor(v603, &stru_9ACEDC); v603->setOpacity(v603, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v603->setScaleX)(v603, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v603->setRotation)(v603, 1119092736); } sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v604 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v604->setColor(v604, &stru_9ACEDC); v604->setOpacity(v604, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v604->setScaleX)(v604, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v604->setScaleY)(v604, -1082130432); } v605 = this->m_objectID; this->m_isColorSpriteBlack = 1; if ( v605 == 1285 ) sub_776584((int)&v793, "block009c_color_05_001.png"); else sub_776584((int)&v793, "block009c_color_04_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); if ( this->m_objectID == 1255 ) { sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } if ( this->m_objectID != 1284 ) { sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v606 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v606->setScaleX)(v606, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v606->setRotation)(v606, -1028390912); } goto LABEL_1695; } LABEL_1692: this->m_blackChildOpacity = 0.3; sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v592 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v592->setTag(v592, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v592->setScaleY)(v592, -1082130432); sub_776584((int)&v792, "block009c_line_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v593 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v593->setTag(v593, 997); ((void (__fastcall *)(cocos2d::CCSprite *, int))v593->setScaleX)(v593, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v593->setScaleY)(v593, -1082130432); sub_776584((int)&v792, "block009c_color_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v594 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v594->setColor(v594, &stru_9ACEDC); v594->setOpacity(v594, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v594->setScaleX)(v594, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v594->setScaleY)(v594, -1082130432); sub_776584((int)&v792, "block009c_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v595 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v595->setColor(v595, &stru_9ACEDC); v595->setOpacity(v595, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); ((void (__fastcall *)(cocos2d::CCSprite *, int))v595->setScaleY)(v595, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v595->setRotation)(v595, -1028390912); this->m_isColorSpriteBlack = 1; sub_776584((int)&v793, "block009c_color_05_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); if ( this->m_objectID != 1254 ) { LABEL_1695: GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } sub_776584((int)&v792, "block009c_line_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v596 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); v596->setTag(v596, 997); sub_776584((int)&v792, "block009c_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); v597 = &v792; LABEL_1694: sub_774008(v597); goto LABEL_1695; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_50C.st_name + 3) ) { if ( (int)m_objectID < 1296 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_50C.st_name + 2) ) goto LABEL_1833; LABEL_1360: sub_776584((int)&v793, "block005_07_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_50C.st_value ) goto LABEL_1360; } LABEL_1340: sub_776584((int)&v793, "block005_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_5EC ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "waterfallAnim_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v264 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v264->setScale)(v264, 0x40000000); v264->setTag(v264, 1); this->m_colorSpriteLocked = 1; this->m_colorZLayerRelated = 1; this->m_unk28c = 1; if ( this->m_colorSprite ) { this->addChild(this, this->m_colorSprite); ((void (__fastcall *)(cocos2d::CCSprite *, int))this->m_colorSprite->setScale)( this->m_colorSprite, 0x40000000); v265 = this->m_colorSprite; v266 = v265->setPosition; cocos2d::CCNode::convertToNodeSpace(&v793, this, &stru_AC7578); v266(v265, &v793); } this->m_hasContentSize = 1; cocos2d::CCPoint::CCPoint(&v793, 30.0, 30.0); cocos2d::CCSize::operator=(&this->m_lastSize, &v793); this->m_bDontDraw = 1; goto LABEL_1833; } if ( (int)m_objectID > 1516 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_5FC.st_value + 2) ) goto LABEL_1362; if ( (int)m_objectID <= 1538 ) { if ( m_objectID == (ObjectToolbox *)&stru_5FC ) goto LABEL_1384; if ( (int)m_objectID <= 1532 ) { if ( (int)m_objectID <= 1528 ) { if ( (int)m_objectID <= 1520 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_5EC.st_name + 2) ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "waterSplash_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v267 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v267->setScale)(v267, 0x40000000); v267->setTag(v267, 1); this->m_bDontDraw = 1; this->m_hasContentSize = 1; cocos2d::CCPoint::CCPoint(&v793, 30.0, 15.0); cocos2d::CCSize::operator=(&this->m_lastSize, &v793); } goto LABEL_1833; } goto LABEL_1805; } if ( m_objectID == (ObjectToolbox *)&stru_5EC.st_other ) goto LABEL_1362; v23 = 1531; goto LABEL_302; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_5FC.st_name + 3) ) goto LABEL_1396; if ( (int)m_objectID >= 1536 ) { if ( m_objectID == (ObjectToolbox *)&stru_5FC.st_value ) goto LABEL_1399; v22 = 1537; goto LABEL_295; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_5FC.st_name + 1) ) goto LABEL_1386; v21 = 1534; goto LABEL_758; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_60C.st_value + 3) ) goto LABEL_1384; if ( (int)m_objectID <= 1555 ) { if ( m_objectID == (ObjectToolbox *)&stru_60C.st_value ) goto LABEL_1362; if ( (int)m_objectID > 1552 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_60C.st_value + 1) ) goto LABEL_1370; v23 = 1554; goto LABEL_302; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_5FC.st_value + 3) ) goto LABEL_1370; v21 = 1540; goto LABEL_758; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_60C.st_size + 2) ) goto LABEL_1396; if ( (int)m_objectID <= 1558 ) { if ( m_objectID == (ObjectToolbox *)&stru_60C.st_size ) goto LABEL_1386; v21 = 1557; goto LABEL_758; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_60C.st_size + 3) ) goto LABEL_1399; v25 = m_objectID == (ObjectToolbox *)&stru_60C.st_info; goto LABEL_296; } if ( m_objectID == (ObjectToolbox *)&stru_51C.st_shndx ) { LABEL_1567: sub_776584((int)&v793, "block006_color_02_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 1322 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_50C.st_size + 3) ) { sub_776584((int)&v793, "block005_11_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID >= 1304 ) { if ( m_objectID == (ObjectToolbox *)&stru_50C.st_shndx ) { sub_776584((int)&v793, "block005_slope_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( (int)m_objectID > 1306 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_50C.st_shndx + 1) ) { sub_776584((int)&v793, "block005_slope_square_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( m_objectID == (ObjectToolbox *)&stru_51C ) { sub_776584((int)&v793, "block005_slope_square_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } } else if ( m_objectID == (ObjectToolbox *)&stru_50C.st_info ) { sub_776584((int)&v793, "block005_06_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); this->m_width = 30.0; this->m_height = 30.0; this->m_updateCustomContentSize = 1; } else { sub_776584((int)&v793, "block005_slope_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_50C.st_size ) { sub_776584((int)&v793, "block005_03_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID < 1300 ) { sub_776584((int)&v793, "block005_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_50C.st_size + 1) ) { sub_776584((int)&v793, "block005_10_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } goto LABEL_1340; } if ( m_objectID == (ObjectToolbox *)&stru_52C.st_shndx ) { GameObject::addNewSlope01(this, 1); GameObject::addNewSlope01Glow(this, 1); goto LABEL_1833; } if ( (int)m_objectID <= 1338 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_52C.st_value + 2) ) goto LABEL_1805; if ( (int)m_objectID > 1330 ) { if ( (unsigned int)&m_objectID[-5].m_obContentSize.height <= 1 ) { setGlowColor = this->setGlowColor; LOWORD(v793.x) = 25855; BYTE2(v793.x) = 100; setGlowColor(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_52C.st_name + 1) ) { LABEL_1586: sub_776584((int)&v793, "block006_slope_square_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_52C.st_name + 2) ) goto LABEL_1833; goto LABEL_1587; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_53C.st_name + 2) ) { if ( (int)m_objectID <= 1342 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_52C.st_shndx + 1) ) { GameObject::addNewSlope02(this, 1); GameObject::addNewSlope02Glow(this, 1); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_53C.st_name + 1) ) goto LABEL_1833; LABEL_1320: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_53C.st_name + 1) ) v285 = "invisibleOutline_02_001.png"; else v285 = "invisibleOutline_b_02_001.png"; sub_776584((int)&v792, v285); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v286 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v286->setRotation)(v286, -1036779520); m_glowSprite = this->m_glowSprite; if ( m_glowSprite ) { m_glowSprite->m_bDontDraw = 1; if ( this->m_objectID == 1341 ) v288 = "invisibleOutline_02_001.png"; else v288 = "invisibleOutline_b_02_001.png"; sub_776584((int)&v792, v288); GameObject::getGlowFrame((int)&v793, (int)this, (char *)&v792, v289); v290 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)LODWORD(v793.x)); sub_774008(&v793); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v290->setRotation)(v290, -1036779520); this->m_glowSprite->addChild(this->m_glowSprite, v290); cocos2d::CCNode::convertToNodeSpace(&v793, this->m_glowSprite, &stru_AC7578); v290->setPosition(v290, &v793); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_53C.st_value ) goto LABEL_1320; if ( m_objectID != (ObjectToolbox *)((char *)&stru_53C.st_value + 1) ) goto LABEL_1833; } this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_53C.st_name + 2) ) v291 = "invisibleOutline_03_001.png"; else v291 = "invisibleOutline_b_03_001.png"; sub_776584((int)&v792, v291); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v292 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v292->setRotation)(v292, -1043070976); v293 = this->m_glowSprite; if ( v293 ) { v293->m_bDontDraw = 1; if ( this->m_objectID == 1342 ) v294 = "invisibleOutline_03_001.png"; else v294 = "invisibleOutline_b_03_001.png"; sub_776584((int)&v792, v294); GameObject::getGlowFrame((int)&v793, (int)this, (char *)&v792, v295); v296 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)LODWORD(v793.x)); sub_774008(&v793); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v296->setRotation)(v296, -1043070976); this->m_glowSprite->addChild(this->m_glowSprite, v296); cocos2d::CCNode::convertToNodeSpace(&v793, this->m_glowSprite, &stru_AC7578); v296->setPosition(v296, &v793); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_71C.st_info ) goto LABEL_1131; if ( (int)m_objectID <= 1832 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_6DC.st_value + 1) ) goto LABEL_1236; if ( (int)m_objectID <= 1761 ) { if ( (int)m_objectID <= 1710 ) { if ( (int)m_objectID >= 1709 ) goto LABEL_1805; if ( (int)m_objectID > 1693 ) { if ( (int)m_objectID >= 1704 ) { if ( (int)m_objectID <= 1707 ) { if ( (int)m_objectID >= 1706 ) goto LABEL_1805; if ( m_objectID == (ObjectToolbox *)&stru_69C.st_info ) { v282 = this->setGlowColor; LOWORD(v793.x) = -231; BYTE2(v793.x) = 25; v282(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; goto LABEL_1833; } goto LABEL_1804; } goto LABEL_1759; } if ( (int)m_objectID >= 1701 ) { this->m_colorZLayerRelated = 0; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v221 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 2); cocos2d::CCSprite::setFlipX(v221, 1); sub_774008(&v792); sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v222); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v223 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); cocos2d::CCSprite::setFlipX(v223, 1); sub_774008(&v792); sub_774008(&v791); if ( this->m_glowSprite ) { sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v224); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v225 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); cocos2d::CCSprite::setFlipX(v225, 1); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } if ( (int)m_objectID <= 1696 ) { if ( (int)m_objectID < 1695 ) { sub_776584((int)&v792, "puzzle_piece_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v238); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); sub_776584((int)&v792, "puzzle_piece_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v239 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_03_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v240); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v241 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v239->setRotation)(v239, 1119092736); ((void (__fastcall *)(cocos2d::CCSprite *, int))v241->setRotation)(v241, 1119092736); sub_776584((int)&v792, "puzzle_piece_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v242 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v243); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v244 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v242->setRotation)(v242, 1127481344); ((void (__fastcall *)(cocos2d::CCSprite *, int))v244->setRotation)(v244, 1127481344); sub_776584((int)&v792, "puzzle_piece_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v245 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_03_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v246); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v247 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v245->setRotation)(v245, 1132920832); ((void (__fastcall *)(cocos2d::CCSprite *, int))v247->setRotation)(v247, 1132920832); } else { sub_776584((int)v780, (char *)&unk_939830); if ( this->m_objectID == 1695 ) v248 = "puzzle_piece_02_001.png"; else v248 = "puzzle_piece_01_001.png"; sub_7753D4((int)v780, v248); sub_775C20(&v781); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, &v781, (int)&v793, -1); sub_774008(&v781); sub_775C20(&v782); GameObject::getColorFrame((int)&v783, (int)this, (char *)&v782, v249); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, &v783, (int)&v793, -1); sub_774008(&v783); sub_774008(&v782); sub_776584((int)&v784, "puzzle_piece_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v771 = GameObject::addCustomChild(this, (const char **)&v784, (int)&v793, -1); sub_774008(&v784); sub_776584((int)&v785, "puzzle_piece_03_001.png"); GameObject::getColorFrame((int)&v786, (int)this, &v785, v250); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v775 = (char *)GameObject::addInternalCustomColorChild((int)this, &v786, (int)&v793, -1); sub_774008(&v786); sub_774008(&v785); ((void (__fastcall *)(cocos2d::CCSprite *, int))v771->setRotation)(v771, 1119092736); (*(void (__fastcall **)(char *, int))(*(_DWORD *)v775 + 172))(v775, 1119092736); sub_776584((int)&v787, "puzzle_piece_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v772 = GameObject::addCustomChild(this, &v787, (int)&v793, -1); sub_774008(&v787); sub_776584((int)&v788, "puzzle_piece_03_001.png"); GameObject::getColorFrame((int)&v789, (int)this, (char *)&v788, v251); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v776 = (char *)GameObject::addInternalCustomColorChild((int)this, &v789, (int)&v793, -1); sub_774008(&v789); sub_774008(&v788); ((void (__fastcall *)(cocos2d::CCSprite *, int))v772->setRotation)(v772, 1127481344); (*(void (__fastcall **)(char *, int))(*(_DWORD *)v776 + 172))(v776, 1127481344); sub_776584((int)&v790, "puzzle_piece_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v252 = GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); sub_774008(&v790); sub_776584((int)&v791, "puzzle_piece_03_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v253); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v254 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v252->setRotation)(v252, 1132920832); ((void (__fastcall *)(cocos2d::CCSprite *, int))v254->setRotation)(v254, 1132920832); sub_774008(v780); } goto LABEL_1833; } v33 = 1700; goto LABEL_790; } if ( (int)m_objectID < 1685 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_63C.st_name + 2) ) goto LABEL_1754; if ( (int)m_objectID > 1598 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_64C.st_name + 2) ) { this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v268 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v268->setTag(v268, 1); sub_776584((int)&v793, "smallCoin_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "smallCoin_01_highlight_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v269 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 10); sub_774008(&v792); v269->setTag(v269, 2); GameObject::setDefaultSecondaryColorMode(this, 1010); v268->addChild_0(v268, this->m_colorSprite, 1); v270 = this->m_colorSprite; v271 = v270->setPosition; cocos2d::CCNode::convertToNodeSpace(&v793, v268, &stru_AC7578); v271(v270, &v793); goto LABEL_1833; } if ( (int)m_objectID <= 1614 ) { if ( m_objectID == (ObjectToolbox *)&stru_63C.st_value ) { sub_776584((int)&v792, "d_sign_01_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_64C.st_value + 3) ) { v717 = ObjectToolbox::sharedState(); v718 = (char *)ObjectToolbox::intKeyToFrame(v717, this->m_objectID); sub_776584((int)&v781, v718); sub_775C20(&v783); GameObject::getColorFrame((int)&v784, (int)this, (char *)&v783, v719); sub_776584((int)&v782, v784); sub_774008(&v784); sub_774008(&v783); sub_775C20(&v786); GameObject::getGlowFrame((int)&v793, (int)this, (char *)&v786, v720); sub_776584((int)&v785, (char *)LODWORD(v793.x)); sub_774008(&v793); sub_774008(&v786); this->m_bDontDraw = 1; sub_775C20(&v787); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, &v787, (int)&v793, -1); sub_774008(&v787); sub_775C20(&v788); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v721 = GameObject::addCustomChild(this, &v788, (int)&v793, 2); sub_774008(&v788); cocos2d::CCSprite::setFlipY(v721, 1); cocos2d::CCSprite::setFlipX(v721, 1); this->m_colorSprite->m_bDontDraw = 1; sub_775C20(&v789); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, &v789, (int)&v793, -1); sub_774008(&v789); sub_775C20(&v790); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v722 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v790, (int)&v793, -1); sub_774008(&v790); if ( v722 ) { cocos2d::CCSprite::setFlipY(v722, 1); cocos2d::CCSprite::setFlipX(v722, 1); } v723 = this->m_glowSprite; if ( v723 ) { v723->m_bDontDraw = 1; sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalGlowChild((int)this, (const char **)&v791, (int)&v793); sub_774008(&v791); } sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v724 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); if ( v724 ) { cocos2d::CCSprite::setFlipY(v724, 1); cocos2d::CCSprite::setFlipX(v724, 1); } sub_774008(&v785); sub_774008(&v782); sub_774008(&v781); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&stru_64C.st_size ) goto LABEL_1833; goto LABEL_1805; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_62C.st_value + 3) ) goto LABEL_1754; if ( (int)m_objectID > 1587 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_62C.st_size + 1) ) { if ( m_objectID == (ObjectToolbox *)&stru_62C.st_info ) { sub_776584((int)&v793, "d_animSquare_01_001.png"); v272 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v272->m_bDontDraw = 1; sub_776584((int)&v792, "d_animSquare_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 0.0); v273 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v273->setScaleX)(v273, -1082130432); v273->setTag(v273, 1); GameObject::setDefaultSecondaryColorMode(this, 2); } goto LABEL_1833; } goto LABEL_1754; } v33 = 1586; LABEL_790: if ( m_objectID == (ObjectToolbox *)v33 ) { GameObject::setDefaultSecondaryColorMode(this, 1011); if ( !GameManager::sharedState()->m_editorEnabled ) { v274 = this->m_colorSprite; this->m_bDontDraw = 1; if ( v274 ) v274->m_bDontDraw = 1; } } goto LABEL_1833; } sub_776584((int)&v792, "puzzle_piece_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v226); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); sub_776584((int)&v792, "puzzle_piece_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v227 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v228); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v229 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v227->setRotation)(v227, 1119092736); ((void (__fastcall *)(cocos2d::CCSprite *, int))v229->setRotation)(v229, 1119092736); sub_776584((int)&v786, (char *)&unk_939830); if ( (unsigned int)(this->m_objectID - 1685) <= 7 ) { v230 = 1 << (LOBYTE(this->m_objectID) + 107); if ( (v230 & 0x4C) != 0 ) { v231 = "puzzle_piece_01_001.png"; goto LABEL_1278; } if ( (v230 & 0x83) != 0 ) { v231 = "puzzle_piece_02_001.png"; LABEL_1278: sub_7753D4((int)&v786, v231); sub_775C20(&v787); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v770 = GameObject::addCustomChild(this, &v787, (int)&v793, -1); sub_774008(&v787); sub_775C20(&v788); GameObject::getColorFrame((int)&v789, (int)this, (char *)&v788, v232); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v774 = (char *)GameObject::addInternalCustomColorChild((int)this, &v789, (int)&v793, -1); sub_774008(&v789); sub_774008(&v788); ((void (__fastcall *)(cocos2d::CCSprite *, int))v770->setRotation)(v770, 1127481344); (*(void (__fastcall **)(char *, int))(*(_DWORD *)v774 + 172))(v774, 1127481344); sub_7753D4((int)&v786, (char *)&unk_939830); if ( (unsigned int)(this->m_objectID - 1685) <= 5 ) { v233 = 1 << (LOBYTE(this->m_objectID) + 107); if ( (v233 & 0x25) != 0 ) { v234 = "puzzle_piece_02_001.png"; goto LABEL_1286; } if ( (v233 & 0x1A) != 0 ) { v234 = "puzzle_piece_01_001.png"; LABEL_1286: sub_7753D4((int)&v786, v234); sub_775C20(&v790); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v235 = GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); sub_774008(&v790); sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v236); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v237 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v235->setRotation)(v235, 1132920832); ((void (__fastcall *)(cocos2d::CCSprite *, int))v237->setRotation)(v237, 1132920832); sub_774008(&v786); goto LABEL_1833; } } v234 = "puzzle_piece_03_001.png"; goto LABEL_1286; } } v231 = "puzzle_piece_03_001.png"; goto LABEL_1278; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6CC.st_value + 2) ) goto LABEL_1266; if ( (int)m_objectID <= 1746 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_6BC.st_size + 2) ) goto LABEL_1759; if ( (int)m_objectID <= 1734 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_6AC.st_size + 2) ) { if ( (int)m_objectID <= 1718 ) { v8 = m_objectID == (ObjectToolbox *)((char *)&stru_6AC.st_size + 1); LABEL_803: if ( !v8 ) goto LABEL_1833; LABEL_1270: this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v219 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v219->setRotation)(v219, -1036779520); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6AC.st_shndx + 1) ) goto LABEL_1270; if ( m_objectID != (ObjectToolbox *)&stru_6BC ) goto LABEL_1833; } LABEL_1271: this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v220 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v220->setRotation)(v220, -1041235968); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6CC.st_name + 3) ) goto LABEL_1262; if ( (int)m_objectID < 1744 ) { if ( (int)m_objectID > 1736 ) goto LABEL_1833; goto LABEL_1805; } if ( m_objectID != (ObjectToolbox *)&stru_6CC.st_value ) goto LABEL_1262; goto LABEL_1266; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6CC.st_size + 3) ) { v283 = this->setGlowColor; LOWORD(v793.x) = 200; BYTE2(v793.x) = -1; v283(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; goto LABEL_1833; } if ( (int)m_objectID < 1752 ) { if ( m_objectID != (ObjectToolbox *)&stru_6CC.st_size && ((int)m_objectID < 1748 || m_objectID == (ObjectToolbox *)((char *)&stru_6CC.st_size + 1)) ) { LABEL_1262: GameObject::addNewSlope01(this, 0); if ( !this->m_editorEnabled ) { GameObject::addEmptyGlow(this); GameObject::addNewSlope01Glow(this, 0); } if ( this->m_objectID != 1747 ) goto LABEL_1833; goto LABEL_1265; } LABEL_1266: GameObject::addNewSlope02(this, 0); if ( !this->m_editorEnabled ) { GameObject::addEmptyGlow(this); GameObject::addNewSlope02Glow(this, 0); } if ( this->m_objectID != 1748 ) goto LABEL_1833; LABEL_1265: this->setColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6DC.st_name + 2) ) goto LABEL_1242; if ( (int)m_objectID <= 1758 ) { if ( m_objectID == (ObjectToolbox *)&stru_6CC.st_info ) goto LABEL_1805; v34 = 1755; goto LABEL_899; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_6DC.st_name + 3) ) { LABEL_1242: this->m_bDontDraw = 1; sub_776584((int)&v791, "d_gradient_01_001.png"); v213 = this->m_objectID; if ( v213 == 1760 ) { sub_7753D4((int)&v791, "d_gradient_b_06_001.png"); v214 = 15.0; } else { if ( v213 == 1762 ) sub_7753D4((int)&v791, "d_gradient_c_01_001.png"); v214 = 30.0; } sub_776584((int)&v792, (char *)LODWORD(v791.x)); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v215 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v215->setScaleX)(v215, 42.426 / v214); ((void (__fastcall *)(cocos2d::CCSprite *, int))v215->setRotation)(v215, -1036779520); sub_774008(&v791); goto LABEL_1833; } LABEL_1236: this->m_bDontDraw = 1; sub_776584((int)&v791, "d_gradient_01_001.png"); v210 = this->m_objectID; if ( v210 == 1761 ) { sub_7753D4((int)&v791, "d_gradient_b_06_001.png"); v211 = 15.0; } else { if ( v210 == 1763 ) sub_7753D4((int)&v791, "d_gradient_c_01_001.png"); v211 = 30.0; } sub_776584((int)&v792, (char *)LODWORD(v791.x)); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v212 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v212->setScaleX)(v212, 67.082 / v211); ((void (__fastcall *)(cocos2d::CCSprite *, int))v212->setRotation)(v212, -1043036897); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID <= 1790 ) { if ( (int)m_objectID >= 1789 ) { this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 1) ) v140 = "block011b_01_001.png"; else v140 = "block011b_03_001.png"; sub_776584((int)&v792, v140); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v141 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v142 = v141->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v141->m_fTlVertexMod = 1.0; v141->m_fTrVertexMod = 0.5; v142->refreshTextureRect(v141); if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 1) ) v143 = "block011b_02_001.png"; else v143 = "block011b_04_001.png"; sub_776584((int)&v792, v143); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v144 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v145 = v144->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v144->m_fTlVertexMod = 0.5; v145->refreshTextureRect(v144); if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 1) ) v146 = "block011b_01_001.png"; else v146 = "block011b_03_001.png"; sub_776584((int)&v793, v146); v147 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v147->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 1) ) { v151 = "block011b_02_001.png"; } else { sub_776584((int)&v791, "block011b_03_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v148); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v149 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v150 = v149->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v149->m_fTlVertexMod = 1.0; v149->m_fTrVertexMod = 0.5; v150->refreshTextureRect(v149); v151 = "block011b_04_001.png"; } sub_776584((int)&v791, v151); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v152); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v153 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v154 = v153->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v153->m_fTlVertexMod = 0.5; v155 = 1045220557; refreshTextureRect = v154->refreshTextureRect; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 1) ) v155 = 1036831949; LODWORD(v153->m_fTrVertexMod) = v155; refreshTextureRect(v153); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6EC.st_value + 1) ) { this->m_fTrVertexMod = 0.95; this->refreshTextureRect(this); goto LABEL_1833; } if ( (int)m_objectID <= 1777 ) { if ( (int)m_objectID > 1771 ) { if ( (int)m_objectID > 1774 ) { this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6EC.st_name + 3) ) v201 = "block013_01c_001.png"; else v201 = "block013_03c_001.png"; sub_776584((int)&v792, v201); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v202 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v203 = v202->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v202->m_fTrVertexMod = 0.5; v203->refreshTextureRect(v202); if ( this->m_objectID == 1775 ) v204 = "block013_02c_001.png"; else v204 = "block013_04c_001.png"; sub_776584((int)&v792, v204); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v205 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v206 = v205->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v205->m_fTlVertexMod = 0.5; v205->m_fTrVertexMod = 1.0; v206->refreshTextureRect(v205); if ( this->m_objectID == 1775 ) { sub_776584((int)&v793, "blockOutline_15_001.png"); v207 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v207->m_bDontDraw = 1; sub_776584((int)&v791, "block013_01c_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v208); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v209 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v209->m_fTrVertexMod = 0.5; } goto LABEL_1833; } if ( (int)m_objectID >= 1773 ) { this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6EC.st_name + 1) ) v188 = "block013_01c_001.png"; else v188 = "block013_03c_001.png"; sub_776584((int)&v792, v188); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v189 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v190 = v189->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v189->m_fTlVertexMod = 1.0; v189->m_fTrVertexMod = 0.5; v190->refreshTextureRect(v189); if ( this->m_objectID == 1773 ) v191 = "block013_02c_001.png"; else v191 = "block013_04c_001.png"; sub_776584((int)&v792, v191); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v192 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v193 = v192->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v192->m_fTlVertexMod = 0.5; v193->refreshTextureRect(v192); v194 = this->m_objectID; if ( v194 == 1773 ) { sub_776584((int)&v793, "blockOutline_15_001.png"); v195 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v195->m_bDontDraw = 1; sub_776584((int)&v791, "block013_02c_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v196); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v197 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v197->m_fTlVertexMod = 0.45; } else if ( v194 == 1774 ) { sub_776584((int)&v793, "blockOutline_15_001.png"); v198 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v198->m_bDontDraw = 1; sub_776584((int)&v791, "block013_04c_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v199); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v200 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v200->m_fTlVertexMod = 0.3; } goto LABEL_1833; } } else { if ( (int)m_objectID >= 1770 ) { this->m_fTrVertexMod = 1.0; this->refreshTextureRect(this); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6DC.st_value + 3) ) goto LABEL_1236; if ( (int)m_objectID < 1763 ) goto LABEL_1242; if ( m_objectID != (ObjectToolbox *)&stru_6DC.st_other ) goto LABEL_1833; } this->m_fTlVertexMod = 1.0; this->refreshTextureRect(this); goto LABEL_1833; } if ( (int)m_objectID >= 1784 ) { if ( m_objectID == (ObjectToolbox *)&stru_6EC.st_shndx ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block011_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v178 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v178->m_fTrVertexMod = 0.5; v178->m_fTlVertexMod = 1.0; v178->refreshTextureRect(v178); sub_776584((int)&v792, "block011_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v179 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v179->m_fTrVertexMod = 0.1; v179->m_fTlVertexMod = 0.6; v179->refreshTextureRect(v179); goto LABEL_1833; } if ( (int)m_objectID > 1786 ) { this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6EC.st_shndx + 1) ) { sub_776584((int)&v792, "block011_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v180 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v180->m_fTrVertexMod = 0.5; v180->m_fTlVertexMod = 0.05; v180->refreshTextureRect(v180); sub_776584((int)&v792, "block011_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v182 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v182->m_fTlVertexMod = 0.5; v182->m_fTrVertexMod = 0.9; } else { sub_776584((int)&v792, "block011_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v181 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v181->m_fTrVertexMod = 0.4; v181->refreshTextureRect(v181); sub_776584((int)&v792, "block011_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v182 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v182->m_fTlVertexMod = 0.5; v182->m_fTrVertexMod = 1.0; } v182->refreshTextureRect(v182); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&stru_6EC.st_info ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block011_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v174 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v174->m_fTlVertexMod = 0.9; v175 = v174->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v174->m_fTrVertexMod = 0.45; v175->refreshTextureRect(v174); sub_776584((int)&v792, "block011_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v176 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v177 = v176->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v176->m_fTlVertexMod = 0.45; v177->refreshTextureRect(v176); goto LABEL_1833; } goto LABEL_1212; } if ( (int)m_objectID < 1782 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_6EC.st_value + 3) ) { this->m_fTlVertexMod = 1.0; this->m_fTrVertexMod = -0.15; this->refreshTextureRect(this); goto LABEL_1833; } if ( (int)m_objectID < 1779 ) { this->m_fTlVertexMod = 0.85; this->refreshTextureRect(this); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_6EC.st_size ) { this->m_fTrVertexMod = 1.0; this->m_fTlVertexMod = 0.05; this->refreshTextureRect(this); goto LABEL_1833; } LABEL_1212: v183 = this->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_fTrVertexMod = 1.0; v183->refreshTextureRect(this); v184 = this->m_colorSprite; if ( v184 ) { v185 = v184->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v186 = this->m_colorSprite; v184->m_fTrVertexMod = 1.0; v185->refreshTextureRect(v186); } goto LABEL_1833; } v187 = this->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_fTlVertexMod = 1.0; ((void (*)(void))v187->refreshTextureRect)(); v118 = this->m_colorSprite; if ( !v118 ) goto LABEL_1833; LABEL_1135: v119 = v118->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v120 = this->m_colorSprite; v118->m_fTlVertexMod = 1.0; v119->refreshTextureRect(v120); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_6FC.st_shndx ) goto LABEL_1140; if ( (int)m_objectID <= 1802 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_value + 3) ) goto LABEL_1134; if ( (int)m_objectID <= 1795 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_6FC.st_value + 1) ) { if ( (int)m_objectID <= 1793 ) { this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 3) ) v157 = "block011b_01_001.png"; else v157 = "block011b_03_001.png"; sub_776584((int)&v792, v157); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v158 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v159 = v158->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v158->m_fTrVertexMod = 0.5; v159->refreshTextureRect(v158); if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 3) ) v160 = "block011b_02_001.png"; else v160 = "block011b_04_001.png"; sub_776584((int)&v792, v160); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v161 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 0); sub_774008(&v792); v162 = v161->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v161->m_fTlVertexMod = 0.5; v161->m_fTrVertexMod = 1.0; v162->refreshTextureRect(v161); if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 3) ) v163 = "block011b_01_001.png"; else v163 = "block011b_03_001.png"; sub_776584((int)&v793, v163); v164 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v164->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 3) ) v165 = "block011b_01_001.png"; else v165 = "block011b_03_001.png"; sub_776584((int)&v791, v165); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v166); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v167 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v167->m_fTrVertexMod = 0.5; v167->m_fTlVertexMod = 0.1; v167->refreshTextureRect(v167); if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 3) ) v168 = "block011b_02_001.png"; else v168 = "block011b_04_001.png"; sub_776584((int)&v791, v168); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v169); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v170 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v171 = 0.77; v172 = v170->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v170->m_fTrVertexMod = 1.0; v173 = v172->refreshTextureRect; if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_name + 3) ) v171 = 0.5; v170->m_fTlVertexMod = v171; v173(v170); goto LABEL_1833; } goto LABEL_1140; } LABEL_1134: v117 = this->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_fTlVertexMod = 1.0; v117->refreshTextureRect(this); v118 = this->m_colorSprite; if ( !v118 ) goto LABEL_1833; goto LABEL_1135; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_size + 3) ) goto LABEL_1134; if ( (int)m_objectID >= 1800 ) { if ( m_objectID == (ObjectToolbox *)&stru_6FC.st_info ) goto LABEL_1140; goto LABEL_1134; } if ( m_objectID != (ObjectToolbox *)&stru_6FC.st_size ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_6FC.st_size + 1) ) { v107 = this->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_fTlVertexMod = 1.0; ((void (*)(void))v107->refreshTextureRect)(); sub_776584((int)&v792, "puzzle_piece_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v108 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v108->setRotation)(v108, 1119092736); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v109); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v110 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v110->setRotation)(v110, 1119092736); sub_774008(&v792); sub_774008(&v791); sub_776584((int)&v792, "puzzle_piece_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v111 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "puzzle_piece_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v112); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v113 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v111->setRotation)(v111, 1127481344); ((void (__fastcall *)(cocos2d::CCSprite *, int))v113->setRotation)(v113, 1127481344); v114 = this->m_colorSprite; if ( v114 ) { v115 = v114->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v116 = this->m_colorSprite; v114->m_fTlVertexMod = 1.0; v115->refreshTextureRect(v116); } } goto LABEL_1833; } LABEL_1140: this->m_bDontDraw = 1; sub_776584((int)&v785, (char *)&unk_939830); sub_776584((int)&v786, (char *)&unk_939830); switch ( this->m_objectID ) { case 0x702: sub_7753D4((int)&v785, "block012_03_001.png"); v124 = "block012_01_001.png"; goto LABEL_1142; case 0x704: sub_7753D4((int)&v785, "block012_13_001.png"); v124 = "block012_13_001.png"; goto LABEL_1142; case 0x708: sub_7753D4((int)&v785, "block012b_03_001.png"); v124 = "block012b_01_001.png"; goto LABEL_1142; case 0x70A: sub_7753D4((int)&v785, "block012b_13_001.png"); v124 = "block012b_13_001.png"; LABEL_1142: sub_7753D4((int)&v786, v124); goto LABEL_1151; case 0x70C: sub_7753D4((int)&v785, "block012_01_001.png"); v125 = "block012_03_001.png"; goto LABEL_1145; case 0x70E: sub_7753D4((int)&v785, "block012b_01_001.png"); v125 = "block012b_03_001.png"; goto LABEL_1145; case 0x710: sub_7753D4((int)&v785, "block012_13_001.png"); v125 = "block012_14_001.png"; goto LABEL_1145; case 0x712: sub_7753D4((int)&v785, "block012b_13_001.png"); v125 = "block012b_14_001.png"; LABEL_1145: sub_7753D4((int)&v786, v125); v126 = 1; break; default: LABEL_1151: v126 = 0; break; } sub_775C20(&v787); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v127 = GameObject::addCustomChild(this, &v787, (int)&v793, 0); sub_774008(&v787); if ( !v126 ) v127->m_fTlVertexMod = 1.0; v128 = v127->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v127->m_fTrVertexMod = 0.5; v128->refreshTextureRect(v127); sub_775C20(&v788); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v129 = GameObject::addCustomChild(this, &v788, (int)&v793, 0); sub_774008(&v788); if ( v126 ) v129->m_fTrVertexMod = 1.0; v130 = v129->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v129->m_fTlVertexMod = 0.5; v130->refreshTextureRect(v129); if ( this->m_objectID == 1808 ) v129->m_fTlVertexMod = 0.6; sub_775C20(&v793); v131 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v132 = this->m_objectID; v131->m_bDontDraw = 1; if ( v132 != 1796 ) { sub_775C20(&v789); GameObject::getColorFrame((int)&v790, (int)this, (char *)&v789, v133); cocos2d::CCPoint::CCPoint(&v793, -15.0, 0.0); v134 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v790, (int)&v793, -1); sub_774008(&v790); sub_774008(&v789); if ( !v126 ) v134->m_fTlVertexMod = 1.0; v135 = v134->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v134->m_fTrVertexMod = 0.5; v135->refreshTextureRect(v134); } sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v136); cocos2d::CCPoint::CCPoint(&v793, 15.0, 0.0); v137 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); if ( v126 ) v137->m_fTrVertexMod = 1.0; v138 = this->m_objectID; v137->m_fTlVertexMod = 0.5; if ( v138 == 1794 ) { v139 = 1036831949; } else { if ( v138 != 1796 ) { if ( v138 == 1808 ) v137->m_fTlVertexMod = 0.8; goto LABEL_1172; } v139 = 1045220557; } LODWORD(v137->m_fTrVertexMod) = v139; LABEL_1172: v137->refreshTextureRect(v137); sub_774008(&v786); sub_774008(&v785); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_70C.st_value ) goto LABEL_1140; if ( (int)m_objectID <= 1808 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_70C.st_name + 1) ) { if ( (int)m_objectID > 1805 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_70C.st_name + 2) ) goto LABEL_1140; } else if ( m_objectID != (ObjectToolbox *)((char *)&stru_6FC.st_shndx + 1) ) { v35 = 1804; goto LABEL_878; } } goto LABEL_1136; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_70C.st_size + 1) ) goto LABEL_1248; if ( (int)m_objectID <= 1813 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_70C.st_value + 1) ) { v35 = 1810; LABEL_878: if ( m_objectID != (ObjectToolbox *)v35 ) goto LABEL_1833; goto LABEL_1140; } LABEL_1136: v121 = this->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_fTrVertexMod = 1.0; v121->refreshTextureRect(this); v122 = this->m_colorSprite; if ( v122 ) { v123 = this->m_objectID; v122->m_fTrVertexMod = 1.0; if ( v123 == 1807 ) v122->m_fTlVertexMod = 0.1; v122->refreshTextureRect(v122); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_71C.st_size + 1) ) goto LABEL_1248; if ( m_objectID != (ObjectToolbox *)((char *)&stru_71C.st_size + 3) ) goto LABEL_1833; LABEL_1130: this->m_bDontDraw = 1; this->m_updateCustomContentSize = 1; this->m_width = 30.0; this->m_height = 30.0; cocos2d::CCPoint::CCPoint(&v793, -15.0, 15.0); cocos2d::CCPoint::operator=((PlayerObject *)&this->m_customBoxOffset, COERCE_FLOAT(&v793), v99, v100); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v792, &stru_AC7578); v101 = GameObject::addCustomChild(this, (const char **)&v791, (int)&v792, -1); setAnchorPoint = v101->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 1.0, 0.0); setAnchorPoint(v101, &v793); sub_774008(&v791); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_AFC.st_other ) { sub_776584((int)&v792, "gdh_01_2_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID <= 2825 ) { if ( (int)m_objectID <= 2040 ) { if ( (int)m_objectID < 2020 ) { if ( m_objectID == (ObjectToolbox *)&stru_76C ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "triangle_b_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v73 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v73->setRotation)(v73, -1043036897); goto LABEL_1833; } if ( (int)m_objectID > 1900 ) { if ( (int)m_objectID > 1909 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_78C.st_value + 1) ) { sub_776584((int)&v793, "fire_b_02_2_001.png"); v747 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v747->m_bDontDraw = 1; sub_776584((int)&v792, "fire_b_02_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v748 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v748->setScale)(v748, 0x40000000); } else if ( (int)m_objectID > 1937 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_78C.st_value + 2) ) { sub_776584((int)&v793, "fire_b_03_2_001.png"); v749 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v749->m_bDontDraw = 1; sub_776584((int)&v792, "fire_b_03_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v750 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v750->setScale)(v750, 0x40000000); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_78C.st_value + 3) ) { sub_776584((int)&v793, "fire_b_04_2_001.png"); v751 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v751->m_bDontDraw = 1; sub_776584((int)&v792, "fire_b_04_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v752 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v752->setScale)(v752, 0x40000000); } } else if ( m_objectID == (ObjectToolbox *)&stru_78C.st_value ) { sub_776584((int)&v793, "fire_b_01_2_001.png"); v745 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v745->m_bDontDraw = 1; sub_776584((int)&v792, "fire_b_01_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v746 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v746->setScale)(v746, 0x40000000); } goto LABEL_1833; } if ( (int)m_objectID < 1908 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_76C.st_value + 2) ) { if ( (int)m_objectID <= 1906 ) { if ( (int)m_objectID >= 1903 ) { sub_776584((int)&v793, "plank_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } goto LABEL_1833; } goto LABEL_1106; } LABEL_1102: this->m_bDontDraw = 1; this->m_colorZLayerRelated = 0; sub_776584((int)&v792, "plank_01_slope_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v81 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 10); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v81->setRotation)(v81, -1036779520); if ( this->m_objectID == 371 ) { sub_776584((int)&v792, "plank_01_slope_01_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v82 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 9); sub_774008(&v792); v82->setColor(v82, &stru_9ACEDC); v81->setTag(v81, 997); this->m_isColorSpriteBlack = 1; } else { sub_776584((int)&v793, "emptyFrame.png"); v83 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v83->m_bDontDraw = 1; sub_776584((int)&v792, "plank_01_slope_01_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v82 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -2); sub_774008(&v792); } ((void (__fastcall *)(cocos2d::CCSprite *, int))v82->setRotation)(v82, -1036779520); goto LABEL_1833; } LABEL_1099: sub_775C20(&v793); GameObject::getColorFrame((int)&v791, (int)this, (char *)&v793, v79); sub_774008(&v793); if ( (unsigned int)(this->m_objectID - 373) > 1 ) { sub_776584((int)&v793, (char *)LODWORD(v791.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else { sub_776584((int)&v792, (char *)LODWORD(v791.x)); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v80 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v80->setColor(v80, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; } LABEL_1127: sub_774008(&v791); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_73C.st_name + 3) ) { sub_776584((int)&v792, "gj_drops05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v97 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gj_drops05_2_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v98 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v97->setTag(v97, 2); v98->setTag(v98, 2); goto LABEL_1833; } if ( (int)m_objectID < 1856 ) { if ( m_objectID != (ObjectToolbox *)&stru_71C.st_shndx ) { if ( (int)m_objectID >= 1834 ) { if ( (unsigned int)&m_objectID[-7].m_sInverse.tx + 1 <= 3 ) { this->m_bDontDraw = 1; this->m_blackChildOpacityLocked = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v255 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v256 = v255->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 1.0, 0.0); v256(v255, &v793); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v257 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v258 = v257->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 0.0, 0.0); v258(v257, &v793); cocos2d::CCSprite::setFlipX(v257, 1); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v259 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v260 = v259->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 0.0, 1.0); v260(v259, &v793); cocos2d::CCSprite::setFlipX(v259, 1); cocos2d::CCSprite::setFlipY(v259, 1); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v261 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v262 = v261->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 1.0, 1.0); v262(v261, &v793); cocos2d::CCSprite::setFlipY(v261, 1); this->m_updateCustomContentSize = 1; v263 = this->m_objectID; if ( v263 == 1839 || v263 == 1841 ) { this->m_width = 60.0; this->m_height = 60.0; } else { this->m_width = 30.0; this->m_height = 30.0; } } goto LABEL_1833; } goto LABEL_1130; } LABEL_1131: this->m_bDontDraw = 1; this->m_updateCustomContentSize = 1; this->m_width = 15.0; this->m_height = 15.0; cocos2d::CCPoint::CCPoint(&v793, -7.5, 7.5); cocos2d::CCPoint::operator=((PlayerObject *)&this->m_customBoxOffset, COERCE_FLOAT(&v793), v103, v104); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v792, &stru_AC7578); v105 = GameObject::addCustomChild(this, (const char **)&v791, (int)&v792, -1); v106 = v105->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 1.0, 0.0); v106(v105, &v793); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID > 1888 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_75C.st_shndx + 1) ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "triangle_b_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v72 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v72->setRotation)(v72, -1036779520); } goto LABEL_1833; } if ( (int)m_objectID < 1886 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_73C.st_value + 2) ) { sub_776584((int)&v792, "gj_drops06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v95 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gj_drops06_3_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v96 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v95->setTag(v95, 2); v96->setTag(v96, 3); goto LABEL_1833; } v34 = 1859; LABEL_899: if ( m_objectID != (ObjectToolbox *)v34 ) goto LABEL_1833; LABEL_1248: if ( !this->m_editorEnabled ) goto LABEL_1833; sub_776584((int)&v792, "-"); v216 = this->m_objectID; if ( v216 == 1829 ) { v217 = "S"; goto LABEL_1260; } if ( v216 > 1829 ) { if ( v216 == 1859 ) { v217 = "H"; goto LABEL_1260; } if ( v216 == 2866 ) { v217 = "F"; goto LABEL_1260; } } else { if ( v216 == 1755 ) { v217 = "D"; goto LABEL_1260; } if ( v216 == 1813 ) { v217 = "J"; LABEL_1260: sub_7753D4((int)&v792, v217); } } v218 = cocos2d::CCLabelBMFont::create(); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v218->setScale)(v218, 1056964608); v218->setOpacity(v218, 175); cocos2d::CCNode::convertToNodeSpace(&v793, this, &stru_AC7578); v218->setPosition(v218, &v793); this->addChild_0(this, v218, 1); this->setObjectLabel(this, v218); sub_774008(&v792); goto LABEL_1833; } this->m_bDontDraw = 1; LODWORD(v791.x) = &unk_ACDDA8; if ( m_objectID == (ObjectToolbox *)((char *)&stru_75C.st_name + 3) ) { v87 = "d_gradient_b_02_001.png"; } else if ( m_objectID == (ObjectToolbox *)&stru_75C.st_value ) { v87 = "d_gradient_c_02_001.png"; } else { v87 = "d_gradient_02_001.png"; } sub_7753D4((int)&v791, v87); v88 = 0; while ( 1 ) { sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v89 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v90 = v89->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v793, 1.0, 0.0); v90(v89, &v793); v91 = v89->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( v88 ) { if ( v88 == 2 ) { ((void (__fastcall *)(cocos2d::CCSprite *, int))v91->setScaleX)(v89, -1082130432); v91 = v89->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; LABEL_1125: ((void (__fastcall *)(cocos2d::CCSprite *, int))v91->setScaleY)(v89, -1082130432); goto LABEL_1126; } if ( v88 == 3 ) goto LABEL_1125; ((void (__fastcall *)(cocos2d::CCSprite *, int))v91->setScaleX)(v89, -1082130432); } else { v92 = (float *)v91->getContentSize(v89); getContentSize = v89->getContentSize; this->m_width = *v92 + *v92; height = getContentSize(v89)->height; this->m_updateCustomContentSize = 1; this->m_height = height + height; } LABEL_1126: if ( ++v88 == 4 ) goto LABEL_1127; } } LABEL_1822: sub_775C20(&v793); GameObject::getColorFrame((int)&v791, (int)this, (char *)&v793, v753); sub_774008(&v793); sub_775C20(&v793); v754 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v754->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v755 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v755->setScale)(v755, 0x40000000); GameObject::setDefaultSecondaryColorMode(this, 2); sub_774008(&v791); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_name + 1) ) { sub_776584((int)&v792, "gdh_01_1_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID <= 2813 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_80C.st_value + 1) ) { GameObject::setDefaultSecondaryColorMode(this, 1011); v275 = this->m_colorSprite; this->m_bDontDraw = 1; if ( v275 ) v275->m_bDontDraw = 1; if ( GameManager::sharedState()->m_editorEnabled ) ParticleGameObject::createParticlePreviewArt((ParticleGameObject *)this); goto LABEL_1833; } if ( (int)m_objectID > 2065 ) { if ( m_objectID == (ObjectToolbox *)&stru_AEC.st_shndx ) { sub_776584((int)&v792, "gdh_01_1_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID > 2810 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_AEC.st_shndx + 1) ) { sub_776584((int)&v792, "gdh_01_1_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } sub_776584((int)&v792, "gdh_01_1_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)&stru_AEC.st_info ) { sub_776584((int)&v792, "gdh_01_1_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)&stru_AEC.st_other ) { sub_776584((int)&v792, "gdh_01_1_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } if ( (int)m_objectID <= 2050 ) { if ( (int)m_objectID < 2047 && (unsigned int)&m_objectID[-8].m_bUnkBool2 > 2 ) goto LABEL_1833; goto LABEL_1822; } v36 = 2055; goto LABEL_974; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_value + 3) ) { sub_776584((int)&v792, "gdh_01_1_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID <= 2819 ) { if ( m_objectID == (ObjectToolbox *)&stru_AFC.st_value ) { sub_776584((int)&v792, "gdh_01_1_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 2816 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_value + 1) ) { sub_776584((int)&v792, "gdh_01_1_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_2_001.png"); } else { sub_776584((int)&v792, "gdh_01_1_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06_2_001.png"); } cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_name + 2) ) { sub_776584((int)&v792, "gdh_01_1_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); } else { sub_776584((int)&v792, "gdh_01_1_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); } LABEL_946: GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_size + 2) ) { sub_776584((int)&v792, "gdh_01_1_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID <= 2822 ) { if ( m_objectID == (ObjectToolbox *)&stru_AFC.st_size ) { sub_776584((int)&v792, "gdh_01_1_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); } else { sub_776584((int)&v792, "gdh_01_1_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_09b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_10b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_1_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); } goto LABEL_946; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_size + 3) ) { sub_776584((int)&v792, "gdh_01_2_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); } else { sub_776584((int)&v792, "gdh_01_2_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); } goto LABEL_949; } if ( m_objectID == (ObjectToolbox *)&stru_B7C.st_value ) { LABEL_1013: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)&stru_B7C.st_other ) v38 = "gdh_03_1_b4_s_001.png"; else v38 = "gdh_03_1_b4_001.png"; sub_776584((int)&v790, v38); if ( this->m_objectID == 2953 ) v39 = 3.75; else v39 = 7.5; sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v39) ^ 0x80000000), 0.0); GameObject::addCustomChild(this, (const char **)&v791, (int)&v793, -1); sub_774008(&v791); sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, v39, 0.0); v40 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); cocos2d::CCSprite::setFlipX(v40, 1); sub_774008(&v792); sub_774008(&v790); goto LABEL_1833; } if ( (int)m_objectID <= 2944 ) { if ( m_objectID == (ObjectToolbox *)&stru_B0C.st_size ) { sub_776584((int)&v792, "gdh_01_2_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 2836 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_B2C.st_size + 1) ) goto LABEL_1822; if ( (int)m_objectID > 2869 ) { if ( (int)m_objectID <= 2893 ) { if ( (int)m_objectID >= 2892 ) { this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v756 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); v756->setTag(v756, 1); sub_774008(&v792); sub_775C20(&v793); GameObject::getColorFrame((int)&v791, (int)this, (char *)&v793, v757); sub_774008(&v793); sub_775C20(&v793); v758 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v758->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v759 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v759->setScale)(v759, 0x40000000); GameObject::setDefaultSecondaryColorMode(this, 2); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID < 2871 ) goto LABEL_1833; goto LABEL_1822; } v36 = 2894; } else { if ( (int)m_objectID <= 2865 ) { if ( (int)m_objectID < 2864 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_B0C.st_size + 1) ) { sub_776584((int)&v792, "gdh_01_2_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } goto LABEL_1822; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_B2C.st_value + 2) ) goto LABEL_1248; v36 = 2867; } LABEL_974: if ( m_objectID != (ObjectToolbox *)v36 ) goto LABEL_1833; goto LABEL_1822; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_B0C.st_name + 2) ) { sub_776584((int)&v792, "gdh_01_2_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 2830 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_B0C.st_value + 1) ) { sub_776584((int)&v792, "gdh_01_2_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 2833 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_B0C.st_value + 2) ) { sub_776584((int)&v792, "gdh_01_2_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); } else { sub_776584((int)&v792, "gdh_01_2_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); } } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_B0C.st_name + 3) ) { sub_776584((int)&v792, "gdh_01_2_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); } else { sub_776584((int)&v792, "gdh_01_2_09b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); } goto LABEL_946; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_AFC.st_shndx + 1) ) { sub_776584((int)&v792, "gdh_01_2_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID < 2827 ) { sub_776584((int)&v792, "gdh_01_2_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_05_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_06b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_B0C ) { sub_776584((int)&v792, "gdh_01_2_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_10b_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, -14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); } else { sub_776584((int)&v792, "gdh_01_2_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_01_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_02_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 14.8); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_11b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "gdh_01_2_12b_2_001.png"); cocos2d::CCPoint::CCPoint(&v793, -14.8, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); } LABEL_949: sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_B8C.st_name + 1) ) goto LABEL_1041; if ( (int)m_objectID > 2957 ) { if ( m_objectID == (ObjectToolbox *)&stru_BAC.st_shndx ) { sub_776584((int)&v792, "d_animWave_03b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v667 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v667->setTag(v667, 1); this->m_bDontDraw = 1; sub_776584((int)&v793, "d_animWave_03b_color_001.png"); v668 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v668->m_bDontDraw = 1; sub_776584((int)&v792, "d_animWave_03b_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v669 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v669->setTag(v669, 1); goto LABEL_1833; } if ( (int)m_objectID > 3002 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_E0C.st_value + 1) ) { if ( (int)m_objectID > 3601 ) { if ( (unsigned int)&m_objectID[-16].m_pUserObject + 3 <= 0x8A ) { this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v675 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v675->setTag(v675, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v675->setScale)(v675, 1072693248); sub_775C20(&v792); GameObject::getColorFrame((int)&v793, (int)this, (char *)&v792, v676); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1011); v675->addChild_0(v675, this->m_colorSprite, 1); v677 = this->m_colorSprite; v678 = v677->setPosition; cocos2d::CCNode::convertToNodeSpace(&v793, v675, &stru_AC7578); v678(v677, &v793); } } else if ( (unsigned int)&m_objectID[-11].m_sInverse.b <= 1 ) { v37 = this->setGlowColor; LOWORD(v793.x) = 100; BYTE2(v793.x) = -1; v37(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; } goto LABEL_1833; } goto LABEL_1754; } if ( m_objectID == (ObjectToolbox *)&stru_B8C.st_value ) { v69 = "gdh_03_1_b3_s_001.png"; goto LABEL_1064; } if ( (int)m_objectID > 2960 ) { if ( m_objectID == (ObjectToolbox *)&stru_BAC.st_info ) { sub_776584((int)&v792, "d_animWave_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v661 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v661->setTag(v661, 1); this->m_bDontDraw = 1; sub_776584((int)&v793, "d_animWave_01b_color_001.png"); v662 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v662->m_bDontDraw = 1; sub_776584((int)&v792, "d_animWave_01b_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v663 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v663->setTag(v663, 1); } else if ( m_objectID == (ObjectToolbox *)&stru_BAC.st_other ) { sub_776584((int)&v792, "d_animWave_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v664 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v664->setTag(v664, 1); this->m_bDontDraw = 1; sub_776584((int)&v793, "d_animWave_02b_color_001.png"); v665 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v665->m_bDontDraw = 1; sub_776584((int)&v792, "d_animWave_02b_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v666 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v666->setTag(v666, 1); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_B8C.st_name + 2) ) goto LABEL_1048; } else if ( m_objectID != (ObjectToolbox *)((char *)&stru_B7C.st_size + 2) ) { if ( (int)m_objectID <= 2950 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_B7C.st_value + 3) ) { if ( (int)m_objectID <= 2947 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_B7C.st_value + 1) ) goto LABEL_1027; LABEL_1020: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)&stru_B7C.st_shndx ) v41 = "gdh_03_1_b1_s_001.png"; else v41 = "gdh_03_1_b1_001.png"; sub_776584((int)&v788, v41); if ( this->m_objectID == 2954 ) v42 = 3.75; else v42 = 7.5; sub_775C20(&v789); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v42) ^ 0x80000000), v42); GameObject::addCustomChild(this, &v789, (int)&v793, -1); sub_774008(&v789); sub_775C20(&v790); cocos2d::CCPoint::CCPoint(&v793, v42, COERCE_FLOAT(LODWORD(v42) ^ 0x80000000)); v43 = GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v43->setRotation)(v43, 1127481344); sub_774008(&v790); sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, v42, v42); v44 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v791, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v44->setRotation)(v44, 1119092736); sub_774008(&v791); sub_775C20(&v792); cocos2d::CCPoint::CCPoint( &v793, COERCE_FLOAT(LODWORD(v42) ^ 0x80000000), COERCE_FLOAT(LODWORD(v42) ^ 0x80000000)); v45 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v45->setRotation)(v45, 1132920832); sub_774008(&v792); sub_774008(&v788); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&stru_B7C.st_size ) { LABEL_1048: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_B8C.st_name + 2) ) v61 = "gdh_03_1_b2_s_001.png"; else v61 = "gdh_03_1_b2_001.png"; sub_776584((int)&v788, v61); if ( this->m_objectID == 2958 ) v62 = 3.75; else v62 = 7.5; sub_775C20(&v789); cocos2d::CCPoint::CCPoint(&v793, v62, 0.0); v63 = GameObject::addCustomChild(this, &v789, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v63->setRotation)(v63, 1119092736); sub_774008(&v789); sub_775C20(&v790); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v62) ^ 0x80000000), 0.0); v64 = GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v64->setRotation)(v64, -1028390912); sub_774008(&v790); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, 0.0, COERCE_FLOAT(LODWORD(v62) ^ 0x80000000)); v65 = GameObject::addCustomChild(this, (const char **)&v791, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v65->setRotation)(v65, 1127481344); sub_774008(&v791); sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, 0.0, v62); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v788); goto LABEL_1833; } LABEL_1041: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_B8C.st_name + 1) ) v56 = "gdh_03_1_b2_s_001.png"; else v56 = "gdh_03_1_b2_001.png"; sub_776584((int)&v788, v56); if ( this->m_objectID == 2957 ) v57 = 3.75; else v57 = 7.5; sub_775C20(&v789); cocos2d::CCPoint::CCPoint(&v793, 0.0, v57); GameObject::addCustomChild(this, &v789, (int)&v793, -1); sub_774008(&v789); sub_775C20(&v790); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v57) ^ 0x80000000), 0.0); v58 = GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v58->setRotation)(v58, -1028390912); sub_774008(&v790); sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, v57, 0.0); v59 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v791, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v59->setRotation)(v59, 1119092736); sub_774008(&v791); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, 0.0, COERCE_FLOAT(LODWORD(v57) ^ 0x80000000)); v60 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v60->setRotation)(v60, 1127481344); sub_774008(&v792); sub_774008(&v788); goto LABEL_1833; } LABEL_1034: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)&stru_B8C ) v51 = "gdh_03_1_b2_s_001.png"; else v51 = "gdh_03_1_b2_001.png"; sub_776584((int)&v788, v51); if ( this->m_objectID == 2956 ) v52 = 3.75; else v52 = 7.5; sub_775C20(&v789); cocos2d::CCPoint::CCPoint(&v793, 0.0, v52); GameObject::addCustomChild(this, &v789, (int)&v793, -1); sub_774008(&v789); sub_775C20(&v790); cocos2d::CCPoint::CCPoint(&v793, 0.0, COERCE_FLOAT(LODWORD(v52) ^ 0x80000000)); v53 = GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v53->setRotation)(v53, 1127481344); sub_774008(&v790); sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, v52, 0.0); v54 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v791, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v54->setRotation)(v54, 1119092736); sub_774008(&v791); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v52) ^ 0x80000000), 0.0); v55 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v55->setRotation)(v55, -1028390912); sub_774008(&v792); sub_774008(&v788); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_B7C.st_shndx ) goto LABEL_1020; if ( (int)m_objectID > 2954 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_B7C.st_shndx + 1) ) { LABEL_1027: this->m_bDontDraw = 1; if ( m_objectID == (ObjectToolbox *)((char *)&stru_B7C.st_shndx + 1) ) v46 = "gdh_03_1_b1_s_001.png"; else v46 = "gdh_03_1_b1_001.png"; sub_776584((int)&v789, v46); if ( this->m_objectID == 2955 ) { v47 = 3.75; v48 = "gdh_03_1_b4_s_001.png"; } else { v47 = 7.5; v48 = "gdh_03_1_b4_001.png"; } sub_776584((int)&v790, v48); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v47) ^ 0x80000000), 0.0); GameObject::addCustomChild(this, (const char **)&v790, (int)&v793, -1); sub_774008(&v790); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, v47, COERCE_FLOAT(LODWORD(v47) ^ 0x80000000)); v49 = GameObject::addCustomChild(this, (const char **)&v791, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v49->setRotation)(v49, 1127481344); sub_774008(&v791); sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, v47, v47); v50 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v50->setRotation)(v50, 1119092736); sub_774008(&v792); sub_774008(&v789); goto LABEL_1833; } goto LABEL_1034; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_B7C.st_size + 3) ) { if ( m_objectID != (ObjectToolbox *)&stru_B7C.st_other ) goto LABEL_1833; goto LABEL_1013; } v69 = "gdh_03_1_b3_001.png"; LABEL_1064: sub_776584((int)&v790, v69); if ( this->m_objectID == 2960 ) v70 = 3.75; else v70 = 7.5; sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v70) ^ 0x80000000), 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v791, (int)&v793, -1); sub_774008(&v791); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, v70, 0.0); v71 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v71, 1); cocos2d::CCSprite::setFlipY(v71, 1); sub_774008(&v790); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_B8C.st_name + 3) ) v66 = "gdh_03_1_b3_s_001.png"; else v66 = "gdh_03_1_b3_001.png"; sub_776584((int)&v790, v66); if ( this->m_objectID == 2959 ) v67 = 3.75; else v67 = 7.5; sub_775C20(&v793); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, COERCE_FLOAT(LODWORD(v67) ^ 0x80000000), 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v791, (int)&v793, -1); sub_774008(&v791); sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, v67, 0.0); v68 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); cocos2d::CCSprite::setFlipX(v68, 1); sub_774008(&v792); sub_774008(&v790); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_value + 3) ) goto LABEL_1370; if ( (int)m_objectID >= 580 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_2EC.st_size + 2) ) goto LABEL_1359; if ( (int)m_objectID <= 758 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_26C.st_value + 1) ) goto LABEL_1382; if ( (int)m_objectID <= 625 ) { if ( m_objectID == (ObjectToolbox *)&stru_24C.st_shndx ) goto LABEL_1396; if ( (int)m_objectID <= 602 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_24C.st_name + 2) ) goto LABEL_1384; if ( (int)m_objectID <= 590 ) { if ( m_objectID == (ObjectToolbox *)&stru_23C.st_info ) goto LABEL_1396; if ( (int)m_objectID <= 584 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_size + 1) ) goto LABEL_1384; if ( (int)m_objectID <= 580 ) goto LABEL_1382; if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_size + 2) ) goto LABEL_1386; v21 = 583; goto LABEL_758; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_shndx + 1) ) goto LABEL_1362; if ( (int)m_objectID < 588 ) { if ( m_objectID == (ObjectToolbox *)&stru_23C.st_other ) goto LABEL_1399; v22 = 586; LABEL_295: v25 = m_objectID == (ObjectToolbox *)v22; goto LABEL_296; } if ( m_objectID == (ObjectToolbox *)&stru_24C ) goto LABEL_1370; v23 = 589; LABEL_302: if ( m_objectID != (ObjectToolbox *)v23 ) goto LABEL_1833; goto LABEL_1382; } if ( m_objectID == (ObjectToolbox *)&stru_24C.st_size ) goto LABEL_1362; if ( (int)m_objectID <= 596 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_24C.st_value + 1) ) goto LABEL_1396; if ( (int)m_objectID <= 593 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_24C.st_name + 3) ) goto LABEL_1386; v24 = m_objectID == (ObjectToolbox *)&stru_24C.st_value; LABEL_291: if ( !v24 ) goto LABEL_1833; goto LABEL_1389; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_24C.st_value + 2) ) goto LABEL_1399; v22 = 595; goto LABEL_295; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_24C.st_size + 3) ) goto LABEL_1384; if ( (int)m_objectID < 600 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_24C.st_size + 1) ) goto LABEL_1370; v23 = 598; goto LABEL_302; } if ( m_objectID == (ObjectToolbox *)&stru_24C.st_info ) goto LABEL_1386; v21 = 601; LABEL_758: v24 = m_objectID == (ObjectToolbox *)v21; goto LABEL_291; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_25C.st_size + 1) ) goto LABEL_1422; if ( (int)m_objectID <= 613 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_25C.st_name + 3) ) goto LABEL_1382; if ( (int)m_objectID >= 608 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_25C.st_value + 2) ) { if ( (int)m_objectID <= 610 ) { if ( m_objectID != (ObjectToolbox *)&stru_25C.st_value ) { v10 = 609; goto LABEL_318; } LABEL_1384: this->m_bDontDraw = 1; v343 = (char *)ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v343, 3); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v343, 3); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v344 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v344, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v344->setRotation)(v344, 1119092736); if ( !this->m_colorSprite ) goto LABEL_1824; GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v343, 3); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v343, 3); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v345 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); LABEL_1388: v348 = v345; sub_774008(&v792); cocos2d::CCSprite::setFlipX(v348, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v348->setRotation)(v348, 1119092736); goto LABEL_1824; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_25C.st_value + 3) ) { v14 = m_objectID == (ObjectToolbox *)&stru_25C.st_size; LABEL_194: if ( !v14 ) goto LABEL_1833; goto LABEL_1399; } goto LABEL_1396; } goto LABEL_1389; } if ( m_objectID == (ObjectToolbox *)&stru_25C ) goto LABEL_1422; if ( (int)m_objectID < 604 ) goto LABEL_1399; if ( m_objectID == (ObjectToolbox *)((char *)&stru_25C.st_name + 1) ) goto LABEL_1362; v12 = 606; LABEL_182: v9 = m_objectID == (ObjectToolbox *)v12; goto LABEL_183; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_25C.st_shndx + 1) ) goto LABEL_1389; if ( (int)m_objectID < 620 ) { if ( m_objectID == (ObjectToolbox *)&stru_25C.st_info ) goto LABEL_1382; if ( (int)m_objectID > 616 ) { if ( m_objectID != (ObjectToolbox *)&stru_25C.st_other ) { v10 = 618; goto LABEL_318; } goto LABEL_1384; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_25C.st_size + 2) ) goto LABEL_1362; v12 = 615; goto LABEL_182; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_26C.st_name + 2) ) goto LABEL_1422; if ( (int)m_objectID <= 622 ) { if ( m_objectID != (ObjectToolbox *)&stru_26C ) { v11 = 621; goto LABEL_193; } goto LABEL_1396; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_26C.st_name + 3) ) goto LABEL_1362; v9 = m_objectID == (ObjectToolbox *)&stru_26C.st_value; LABEL_183: if ( !v9 ) goto LABEL_1833; LABEL_1370: this->m_bDontDraw = 1; v332 = (char *)ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); v333 = &v781; v781 = (const char *)&unk_ACDDA8; v782 = &unk_ACDDA8; v334 = this->m_objectID; v335 = v332; switch ( v334 ) { case 1064: sub_7753D4((int)&v781, "persp_block009_01b_001.png"); v336 = &v782; v337 = "persp_block009_01_001.png"; LABEL_1376: sub_7753D4((int)v336, v337); LABEL_1379: sub_775C20(&v787); cocos2d::CCPoint::CCPoint(&v793, -7.5, 0.0); GameObject::addCustomChild(this, &v787, (int)&v793, -1); sub_774008(&v787); sub_775C20(&v788); cocos2d::CCPoint::CCPoint(&v793, 7.5, 0.0); GameObject::addCustomChild(this, &v788, (int)&v793, -1); sub_774008(&v788); if ( this->m_colorSprite ) { sub_775C20(&v789); GameObject::getColorFrame((int)&v790, (int)this, (char *)&v789, v339); cocos2d::CCPoint::CCPoint(&v793, -7.5, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v790, (int)&v793, -1); sub_774008(&v790); sub_774008(&v789); sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v340); cocos2d::CCPoint::CCPoint(&v793, 7.5, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); } sub_774008(&v782); goto LABEL_1394; case 1539: GameObject::perspectiveFrame((GameObject *)&v783, (const char *)this, v332, 6); sub_774794(&v781, &v783); sub_774008(&v783); GameObject::perspectiveFrame((GameObject *)&v784, (const char *)this, v335, 6); sub_774794(&v782, &v784); v338 = &v784; break; case 1553: GameObject::perspectiveFrame((GameObject *)&v785, (const char *)this, v332, 1); sub_774794(&v782, &v785); sub_774008(&v785); v336 = (void **)&v781; v337 = "persp_block011_01b_001.png"; goto LABEL_1376; default: GameObject::perspectiveFrame((GameObject *)&v786, (const char *)this, v332, 1); sub_774794(&v781, &v786); sub_774008(&v786); GameObject::perspectiveFrame((GameObject *)&v793, (const char *)this, v335, 1); sub_774794(&v782, &v793); v338 = (char **)&v793; break; } sub_774008(v338); goto LABEL_1379; } if ( m_objectID == (ObjectToolbox *)&stru_27C.st_info ) { LABEL_1350: sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v305 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v305->setScaleX)(v305, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v306 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v306->setScaleY)(v306, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v307 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v307->setScaleX)(v307, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v307->setScaleY)(v307, -1082130432); sub_776584((int)&v793, "block003_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 648 ) { if ( m_objectID == (ObjectToolbox *)&stru_27C ) goto LABEL_1386; if ( (int)m_objectID <= 636 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_26C.st_size + 2) ) goto LABEL_1399; if ( (int)m_objectID <= 630 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_26C.st_value + 3) ) { if ( (int)m_objectID < 627 ) goto LABEL_1384; if ( m_objectID == (ObjectToolbox *)&stru_26C.st_size ) goto LABEL_1389; v16 = 629; goto LABEL_242; } goto LABEL_1386; } if ( m_objectID == (ObjectToolbox *)&stru_26C.st_other ) goto LABEL_1370; if ( (int)m_objectID > 633 ) { if ( m_objectID == (ObjectToolbox *)&stru_26C.st_shndx ) goto LABEL_1382; v18 = 635; goto LABEL_218; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_26C.st_size + 3) ) goto LABEL_1422; v20 = m_objectID == (ObjectToolbox *)&stru_26C.st_info; goto LABEL_230; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_27C.st_value + 2) ) { sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v299 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v299->setScaleX)(v299, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v299->setScaleY)(v299, -1082130432); sub_776584((int)&v793, "block003_color_03_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 642 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_27C.st_name + 3) ) { if ( (int)m_objectID >= 640 ) { if ( m_objectID != (ObjectToolbox *)&stru_27C.st_value ) { sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v297 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v297->setScaleY)(v297, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v298 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v298->setScaleX)(v298, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v298->setScaleY)(v298, -1082130432); sub_776584((int)&v793, "block003_color_02_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } goto LABEL_1422; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_27C.st_name + 1) ) goto LABEL_1389; v16 = 638; goto LABEL_242; } goto LABEL_1399; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_27C.st_size + 1) ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "block003_part03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v300 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v300->setRotation)(v300, -1028390912); sub_776584((int)&v792, "block003_part03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v301 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v301->setRotation)(v301, 1119092736); sub_776584((int)&v793, "block003_color_06_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 645 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_27C.st_value + 3) ) sub_776584((int)&v793, "block003_color_04_001.png"); else sub_776584((int)&v793, "block003_color_05_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_27C.st_size + 2) ) { sub_776584((int)&v792, "block003_part03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v302 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v302->setRotation)(v302, 1119092736); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v303 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v303->setScaleY)(v303, -1082130432); sub_776584((int)&v793, "block003_color_05_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block003_color_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v304 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v304->setRotation)(v304, 1119092736); sub_774008(&v792); goto LABEL_1833; } goto LABEL_1350; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_2BC.st_size + 2) ) { sub_776584((int)&v792, "block004_slope_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID <= 710 ) { if ( (int)m_objectID <= 677 ) { if ( (int)m_objectID >= 676 ) { this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v731 = this->m_colorSprite; if ( v731 ) { v731->m_bDontDraw = 1; sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v732); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); } v733 = this->m_glowSprite; if ( v733 ) { v733->m_bDontDraw = 1; sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v734); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); } sub_775C20(&v790); GameObject::getColorFrame((int)&v791, (int)this, (char *)&v790, v735); sub_776584((int)&v792, (char *)LODWORD(v791.x)); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v736 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -2); sub_774008(&v792); sub_774008(&v791); sub_774008(&v790); v736->setColor(v736, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_27C.st_shndx + 1) ) { sub_776584((int)&v792, "block003_slope_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block003_slope_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v389); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID < 652 ) { if ( m_objectID == (ObjectToolbox *)&stru_27C.st_other ) { sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v308 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v308->setScaleX)(v308, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v309 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v309->setScaleY)(v309, -1082130432); sub_776584((int)&v792, "block003_part02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v310 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v310->setScaleX)(v310, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v310->setScaleY)(v310, -1082130432); sub_776584((int)&v793, "block003_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else { this->m_blackChildOpacity = 0.4; sub_776584((int)&v792, "block003_color_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v311 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v311->setOpacity(v311, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); v311->setColor(v311, &stru_9ACEDC); this->m_unk353 = 1; } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_28C ) { sub_776584((int)&v792, "block003_slope_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block003_slope_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v390); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); goto LABEL_1833; } v6 = m_objectID == (ObjectToolbox *)((char *)&stru_29C.st_value + 3); goto LABEL_59; } if ( (int)m_objectID > 680 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_2BC.st_size + 1) ) { sub_776584((int)&v792, "block004_slope_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } v7 = (int)m_objectID < 679; goto LABEL_378; } if ( m_objectID == (ObjectToolbox *)&stru_2CC.st_other ) { sub_776584((int)&v792, "block004_slope_02d_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID <= 729 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_2CC.st_size + 2) ) { sub_776584((int)&v792, "block004_slope_01c_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID > 726 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_2CC.st_size + 3) ) sub_776584((int)&v792, "block004_slope_02c_001.png"); else sub_776584((int)&v792, "block004_slope_01d_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_2BC.st_size + 3) ) { sub_776584((int)&v792, "block004_slope_01b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)&stru_2BC.st_info ) { sub_776584((int)&v792, "block004_slope_02b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } if ( (int)m_objectID <= 742 ) { if ( (int)m_objectID > 740 ) goto LABEL_1805; if ( m_objectID == (ObjectToolbox *)((char *)&stru_2DC.st_value + 3) ) { sub_776584((int)&v792, "block003_part01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v312 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v312->setScaleX)(v312, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v312->setScaleY)(v312, -1082130432); sub_776584((int)&v793, "block003_color_03_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } v6 = m_objectID == (ObjectToolbox *)&stru_2DC.st_size; goto LABEL_59; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_2EC.st_size + 1) ) goto LABEL_1833; LABEL_1358: sub_776584((int)&v792, "block005_07_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v324 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v324->setScaleX)(v324, -1082130432); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_36C.st_size + 3) ) { sub_776584((int)&v792, "block009b_slope_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block009b_slope_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v424); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID < 888 ) { if ( (int)m_objectID <= 829 ) { if ( (int)m_objectID < 828 ) { if ( (int)m_objectID <= 818 ) { if ( (int)m_objectID <= 816 ) { if ( (int)m_objectID <= 812 ) { if ( (int)m_objectID < 811 ) { if ( (int)m_objectID < 807 ) goto LABEL_1833; if ( (int)m_objectID > 808 ) goto LABEL_1595; LABEL_1590: if ( m_objectID != (ObjectToolbox *)&stru_42C.st_shndx ) { sub_776584((int)&v792, "block007_bgcolor_002_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v496 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v496->setColor(v496, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v497 = 0.7; v498 = v496->setOpacity; if ( this->m_objectID == 807 ) v497 = 0.5; this->m_blackChildOpacity = v497; v498(v496, (unsigned int)(float)(v497 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_001_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } LABEL_1600: if ( m_objectID != (ObjectToolbox *)&stru_43C ) { sub_776584((int)&v792, "block007_bgcolor_004_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v503 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v503->setColor(v503, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v504 = 0.7; v505 = v503->setOpacity; if ( this->m_objectID == 811 ) v504 = 0.5; this->m_blackChildOpacity = v504; v505(v503, (unsigned int)(float)(v504 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_008_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_color_008_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v506 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v506->setRotation)(v506, 1127481344); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 814 ) { LABEL_1610: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_name + 2) ) { sub_776584((int)&v792, "block007_bgcolor_006_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v511 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v511->setColor(v511, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v512 = 0.7; v513 = v511->setOpacity; if ( this->m_objectID == 815 ) v512 = 0.5; this->m_blackChildOpacity = v512; v513(v511, (unsigned int)(float)(v512 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_003_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_color_003_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v514 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v514->setRotation)(v514, 1119092736); sub_774008(&v792); sub_776584((int)&v792, "block007_color_003_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v515 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v515->setRotation)(v515, 1127481344); sub_774008(&v792); sub_776584((int)&v792, "block007_color_003_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v516 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v516->setRotation)(v516, 1132920832); sub_774008(&v792); goto LABEL_1833; } LABEL_1605: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_name + 1) ) { sub_776584((int)&v792, "block007_bgcolor_005_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v507 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v507->setColor(v507, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v508 = 0.7; v509 = v507->setOpacity; if ( this->m_objectID == 813 ) v508 = 0.5; this->m_blackChildOpacity = v508; v509(v507, (unsigned int)(float)(v508 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_color_003_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block007_color_002_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "block007_color_002_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v510 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v510->setScaleX)(v510, -1082130432); sub_774008(&v792); goto LABEL_1833; } goto LABEL_1615; } if ( (int)m_objectID <= 824 ) { if ( (int)m_objectID >= 823 ) { sub_776584((int)&v792, "block007_bgcolor_001_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v530 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v530->setColor(v530, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v531 = 0.7; v532 = v530->setOpacity; if ( this->m_objectID == 823 ) v531 = 0.5; this->m_blackChildOpacity = v531; v532(v530, (unsigned int)(float)(v531 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; goto LABEL_1833; } if ( (int)m_objectID > 820 ) { LABEL_1624: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_value + 1) ) { sub_776584((int)&v792, "block007_bgcolor_008_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v526 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v526->setColor(v526, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v527 = 0.7; v528 = v526->setOpacity; if ( this->m_objectID == 821 ) v527 = 0.5; this->m_blackChildOpacity = v527; v528(v526, (unsigned int)(float)(v527 * 255.0)); sub_776584((int)&v792, "block007_bgcolor_008_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v529 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v529->setScaleX)(v529, -1082130432); v529->setColor(v529, &stru_9ACEDC); v529->setOpacity(v529, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_08_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } sub_776584((int)&v792, "block007_bgcolor_007_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v523 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v523->setColor(v523, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v524 = 0.7; v525 = v523->setOpacity; if ( this->m_objectID == 819 ) v524 = 0.5; this->m_blackChildOpacity = v524; v525(v523, (unsigned int)(float)(v524 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; LABEL_1623: sub_776584((int)&v793, "block007_07_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&stru_32C.st_other ) { sub_776584((int)&v793, "block007_bgcolor_001_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); this->setColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; goto LABEL_1833; } LABEL_1633: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_value + 3) ) { sub_776584((int)&v792, "block007_bgcolor_009_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v533 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v533->setColor(v533, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v534 = 0.7; v535 = v533->setOpacity; if ( this->m_objectID == 826 ) v534 = 0.5; this->m_blackChildOpacity = v534; v535(v533, (unsigned int)(float)(v534 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_slope_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } LABEL_1638: if ( m_objectID != (ObjectToolbox *)&stru_43C.st_size ) { v536 = 0.7; if ( m_objectID == (ObjectToolbox *)&stru_33C ) v536 = 0.5; this->m_blackChildOpacity = v536; sub_776584((int)&v792, "block007_bgcolor_010_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v537 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v537->setColor(v537, &stru_9ACEDC); v537->setOpacity(v537, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); sub_776584((int)&v792, "block007_bgcolor_011_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v538 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v538->setColor(v538, &stru_9ACEDC); v538->setOpacity(v538, (unsigned int)(float)(this->m_blackChildOpacity * 255.0)); this->setColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_slope_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID <= 848 ) { if ( (int)m_objectID >= 846 || m_objectID == (ObjectToolbox *)&stru_33C.st_other ) { GameObject::setDefaultSecondaryColorMode(this, 1011); goto LABEL_1833; } if ( (int)m_objectID > 841 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_33C.st_shndx + 1) ) { sub_776584((int)&v792, "block007b_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v556 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v556->setScaleY)(v556, -1082130432); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1011); } else if ( (int)m_objectID < 843 ) { sub_776584((int)&v792, "block007b_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v554 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v554->setScaleX)(v554, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "block007b_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v555 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v555->setScaleY)(v555, -1082130432); sub_774008(&v792); sub_776584((int)&v793, "block007b_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); GameObject::setDefaultSecondaryColorMode(this, 1011); } else { if ( m_objectID == (ObjectToolbox *)&stru_34C ) { sub_776584((int)&v792, "block007b_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v557 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v557->setScaleY)(v557, -1082130432); sub_774008(&v792); sub_776584((int)&v793, "block007b_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else { sub_776584((int)&v792, "block007b_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v558 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v558->setRotation)(v558, 1119092736); sub_774008(&v792); sub_776584((int)&v792, "block007b_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v559 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v559->setRotation)(v559, 1127481344); sub_774008(&v792); sub_776584((int)&v792, "block007b_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v560 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v560->setRotation)(v560, 1132920832); sub_774008(&v792); } GameObject::setDefaultSecondaryColorMode(this, 1011); } goto LABEL_1833; } if ( (int)m_objectID >= 832 ) { if ( (int)m_objectID > 833 ) goto LABEL_1833; goto LABEL_1648; } LABEL_1643: if ( m_objectID != (ObjectToolbox *)((char *)&stru_43C.st_size + 1) ) { sub_776584((int)&v792, "block007_bgcolor_001_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v539 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v539->setColor(v539, &stru_9ACEDC); this->setColor(this, &stru_9ACEDC); v540 = 0.7; v541 = v539->setOpacity; if ( this->m_objectID == 830 ) v540 = 0.5; this->m_blackChildOpacity = v540; v541(v539, (unsigned int)(float)(v540 * 255.0)); this->m_isObjectBlack = 1; this->m_isColorSpriteBlack = 1; } sub_776584((int)&v793, "block007_slope_square_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID > 874 ) { if ( (int)m_objectID > 885 ) { sub_776584((int)&v792, "block009b_slope_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block009b_slope_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v423); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID < 880 && (unsigned int)&m_objectID[-4].m_allKeys.m_header.m_parent + 3 > 1 ) goto LABEL_1833; } else if ( (int)m_objectID < 867 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_35C.st_name + 1) ) { sub_776584((int)&v793, "block008_05_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block008_06_color_b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v561 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v561->setScaleX)(v561, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v561->setRotation)(v561, -1028390912); GameObject::setDefaultSecondaryColorMode(this, 1012); } else if ( (int)m_objectID > 861 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_35C.st_name + 2) ) { sub_776584((int)&v793, "block008_03_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block008_06_color_b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_35C.st_name + 3) ) { sub_776584((int)&v793, "block008_05_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block008_06_color_b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "block008_06_color_b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v562 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v562->setScaleX)(v562, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v562->setRotation)(v562, -1028390912); GameObject::setDefaultSecondaryColorMode(this, 1012); } } else if ( m_objectID == (ObjectToolbox *)&stru_34C.st_info ) { sub_776584((int)&v792, "block008_06_color_b_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } LABEL_1730: GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_3AC.st_value + 1) ) goto LABEL_1382; if ( (int)m_objectID <= 945 ) { if ( m_objectID == (ObjectToolbox *)&stru_38C.st_other ) { sub_776584((int)&v793, "Fire_04_2_looped_004.png"); v743 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v743->m_bDontDraw = 1; sub_776584((int)&v792, "Fire_04_2_looped_004.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v744 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v744->setScale)(v744, 0x40000000); goto LABEL_1833; } if ( (int)m_objectID <= 921 ) { if ( (int)m_objectID > 894 ) { if ( m_objectID == (ObjectToolbox *)&stru_37C.st_value ) { sub_776584((int)&v793, "block009c_slope_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block009c_slope_02_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v622 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v622->setRotation)(v622, -1041235968); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (int)m_objectID < 896 ) { sub_776584((int)&v793, "block009c_slope_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793)->m_bDontDraw = 1; sub_774008(&v793); sub_776584((int)&v792, "block009c_slope_01_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v621 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v621->setRotation)(v621, -1036779520); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_37C.st_size + 2) ) { if ( m_objectID == (ObjectToolbox *)&stru_38C.st_info ) { sub_776584((int)&v793, "Fire_03_2_looped_001.png"); v741 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v741->m_bDontDraw = 1; sub_776584((int)&v792, "Fire_03_2_looped_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v742 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v742->setScale)(v742, 0x40000000); } goto LABEL_1833; } this->m_bDontDraw = 1; v377 = 0; v378 = (char *)ObjectToolbox::perspectiveBlockFrame((ObjectToolbox *)((char *)&stru_37C.st_size + 2), a2); do { GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v378, 6); v379 = (float)((float)v377 * 15.0) - 22.5; cocos2d::CCPoint::CCPoint(&v793, v379, v379 * 0.5); v380 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v380->setScale)(v380, 1065437102); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v378, 6); cocos2d::CCPoint::CCPoint(&v793, (float)((float)v377 * 15.0) - 22.5, v379 * 0.5); v381 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v381->setScale)(v381, 1065437102); } ++v377; } while ( v377 != 4 ); goto LABEL_1824; } if ( (int)m_objectID <= 892 ) { if ( m_objectID == (ObjectToolbox *)&stru_36C.st_shndx ) { sub_776584((int)&v793, "block009c_color_01_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block009c_color_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v563 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v563->setRotation)(v563, -1028390912); sub_774008(&v792); GameObject::setDefaultSecondaryColorMode(this, 1012); goto LABEL_1833; } if ( (int)m_objectID >= 890 && m_objectID != (ObjectToolbox *)((char *)&stru_36C.st_shndx + 1) ) goto LABEL_1833; } goto LABEL_1730; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_39C.st_value + 3) ) { if ( (int)m_objectID < 932 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_39C.st_name + 1) ) { v649 = 15; this->m_bDontDraw = 1; this->m_ignoreFade = 1; this->m_ignoreEnter = 1; do { sub_776584((int)&v792, "d_rainbow_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v650 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v651 = (float)v649; v649 += 30; ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v650->setRotation)(v650, LODWORD(v651)); } while ( v649 != 105 ); goto LABEL_1833; } if ( (int)m_objectID <= 925 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_38C.st_shndx + 1) ) { sub_776584((int)&v793, "Fire_01_2_looped_001.png"); v737 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v737->m_bDontDraw = 1; sub_776584((int)&v792, "Fire_01_2_looped_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v738 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v738->setScale)(v738, 0x40000000); } else if ( m_objectID == (ObjectToolbox *)&stru_39C ) { sub_776584((int)&v793, "Fire_02_2_looped_001.png"); v739 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v739->m_bDontDraw = 1; sub_776584((int)&v792, "Fire_02_2_looped_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v740 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v740->setScale)(v740, 0x40000000); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_39C.st_name + 2) ) { v652 = 15; this->m_bDontDraw = 1; this->m_ignoreFade = 1; this->m_ignoreEnter = 1; do { sub_776584((int)&v792, "d_rainbow_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v653 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v654 = (float)v652; v652 += 30; ((void (__fastcall *)(cocos2d::CCSprite *, _DWORD))v653->setRotation)(v653, LODWORD(v654)); } while ( v652 != 105 ); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&stru_39C.st_value ) goto LABEL_1833; LABEL_1504: if ( m_objectID == (ObjectToolbox *)((char *)&stru_4CC.st_size + 3) ) v425 = "block010_piece_03_001.png"; else v425 = "block010_piece_04_001.png"; sub_776584((int)&v792, v425); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v426 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v426->setScaleX)(v426, -1082130432); ((void (__fastcall *)(cocos2d::CCSprite *, int))v426->setScaleY)(v426, -1082130432); goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_39C.st_shndx + 1) ) { v655 = cocos2d::CCSprite::createWithSpriteFrameName("d_flower01_01_shine_001.png"); this->m_colorSprite->addChild_0(this->m_colorSprite, v655, 10); v656 = v655->setPosition; width = this->m_colorSprite->getContentSize(this->m_colorSprite)->width; v658 = this->m_colorSprite->getContentSize(this->m_colorSprite); cocos2d::CCPoint::CCPoint(&v793, width * 0.5, v658->height * 0.5); v656(v655, &v793); goto LABEL_1833; } if ( (int)m_objectID >= 940 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_3AC.st_name + 3) ) goto LABEL_1362; v9 = m_objectID == (ObjectToolbox *)&stru_3AC.st_value; goto LABEL_183; } if ( m_objectID != (ObjectToolbox *)&stru_39C.st_size ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_39C.st_size + 3) ) goto LABEL_1833; goto LABEL_1511; } v427 = "block010_piece_03_001.png"; LABEL_1510: sub_776584((int)&v792, v427); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); goto LABEL_1833; } LABEL_1511: if ( m_objectID == (ObjectToolbox *)((char *)&stru_4CC.st_name + 3) ) { v428 = 0; v429 = 0; } else { v428 = m_objectID != (ObjectToolbox *)((char *)&stru_4CC.st_size + 2) && m_objectID != (ObjectToolbox *)((char *)&stru_39C.st_value + 3); v429 = m_objectID != (ObjectToolbox *)((char *)&stru_39C.st_size + 3); if ( m_objectID == (ObjectToolbox *)((char *)&stru_4CC.st_name + 1) ) { v430 = 1; goto LABEL_1519; } } v430 = m_objectID == (ObjectToolbox *)((char *)&stru_39C.st_value + 3); LABEL_1519: if ( v428 ) v431 = "block010_piece_05_001.png"; else v431 = "block010_piece_06_001.png"; sub_776584((int)&v792, v431); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); if ( v429 ) v432 = "block010_piece_03_001.png"; else v432 = "block010_piece_04_001.png"; sub_776584((int)&v792, v432); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v433 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v433->setScaleY)(v433, -1082130432); sub_774008(&v792); if ( v430 ) v434 = "block010_piece_03_001.png"; else v434 = "block010_piece_04_001.png"; goto LABEL_1528; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_3CC.st_size + 3) ) goto LABEL_1384; if ( (int)m_objectID < 984 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_3AC.st_size + 3) ) goto LABEL_1422; if ( (int)m_objectID < 952 ) { if ( m_objectID != (ObjectToolbox *)&stru_3AC.st_size ) { if ( (int)m_objectID <= 948 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_3AC.st_value + 2) ) { v10 = 947; goto LABEL_318; } goto LABEL_1384; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_3AC.st_size + 1) ) { v11 = 950; goto LABEL_193; } goto LABEL_1396; } goto LABEL_1389; } if ( m_objectID == (ObjectToolbox *)&stru_3CC.st_size ) goto LABEL_1362; if ( (int)m_objectID > 980 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_3CC.st_size + 1) ) goto LABEL_1370; v23 = 982; goto LABEL_302; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_3BC.st_name + 1) ) goto LABEL_1358; if ( m_objectID != (ObjectToolbox *)((char *)&stru_3BC.st_name + 2) ) goto LABEL_1833; LABEL_1359: sub_776584((int)&v793, "block005_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_776584((int)&v792, "block005_04_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v325 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v325->setScaleX)(v325, -1082130432); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 1000 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_3FC.st_name + 2) ) { this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v277 = this->m_colorSprite; if ( v277 ) { v277->m_bDontDraw = 1; sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v278); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); } v279 = this->m_glowSprite; if ( v279 ) { v279->m_bDontDraw = 1; sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v280); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); } v281 = this->setGlowColor; LOWORD(v793.x) = -231; BYTE2(v793.x) = 25; v281(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; goto LABEL_1833; } if ( (int)m_objectID <= 1022 ) { if ( (int)m_objectID >= 1019 ) { this->m_bDontDraw = 1; v26 = ObjectToolbox::sharedState(); v27 = 45; v28 = (char *)ObjectToolbox::intKeyToFrame(v26, this->m_objectID); do { sub_776584((int)&v792, v28); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v715 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v715->setRotation(v715, (float)v27); v716 = v27; v27 += 45; v715->setTag(v715, v716); } while ( v27 != 405 ); } goto LABEL_1833; } v20 = m_objectID == (ObjectToolbox *)&stru_3FC.st_value; goto LABEL_230; } if ( (int)m_objectID > 996 ) goto LABEL_1759; if ( m_objectID == (ObjectToolbox *)&stru_3CC.st_shndx ) goto LABEL_1396; if ( (int)m_objectID <= 986 ) { if ( m_objectID == (ObjectToolbox *)&stru_3CC.st_info ) goto LABEL_1386; v21 = 985; goto LABEL_758; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_3CC.st_shndx + 1) ) goto LABEL_1399; v25 = m_objectID == (ObjectToolbox *)&stru_3DC; LABEL_296: if ( !v25 ) goto LABEL_1833; goto LABEL_1422; } if ( m_objectID == (ObjectToolbox *)"inker" ) { sub_776584((int)&v793, "lighttriangle_05_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID >= 354 ) { if ( m_objectID == (ObjectToolbox *)&stru_20C.st_size ) goto LABEL_1422; if ( (int)m_objectID <= 532 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_1DC.st_value + 3) ) { sub_776584((int)&v792, "block001_slope_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block001_slope_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v385); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); goto LABEL_1833; } if ( (int)m_objectID < 484 ) { if ( (int)m_objectID > 374 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_18C.st_name + 1) ) { if ( (int)m_objectID >= 398 ) { if ( (int)m_objectID >= 414 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_1CC.st_size + 3) ) goto LABEL_1833; sub_776584((int)&v792, "blockOutline_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v464 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v464->setScaleX)(v464, -1082130432); sub_774008(&v792); if ( !this->m_glowSprite ) goto LABEL_1833; goto LABEL_1736; } if ( (int)m_objectID > 408 ) { sub_776584((int)&v793, "d_link_b_01_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); goto LABEL_1833; } if ( (int)m_objectID >= 400 ) goto LABEL_1833; goto LABEL_1805; } if ( m_objectID != (ObjectToolbox *)&byte_178[18] ) { if ( (int)m_objectID <= 394 && (int)m_objectID > 378 ) goto LABEL_1833; goto LABEL_1805; } } goto LABEL_1759; } if ( (int)m_objectID <= 372 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_16C + 3) ) goto LABEL_1271; if ( (int)m_objectID < 368 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_168 + 3) ) goto LABEL_1270; if ( (int)m_objectID < 364 ) { if ( m_objectID == (ObjectToolbox *)"ker" ) { sub_776584((int)&v793, "lighttriangle_05_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&dword_16C ) { v8 = m_objectID == (ObjectToolbox *)((char *)&dword_16C + 2); goto LABEL_803; } goto LABEL_1271; } if ( m_objectID != (ObjectToolbox *)((char *)&dword_170 + 3) ) { if ( (int)m_objectID < 372 ) { if ( (int)m_objectID <= 368 ) goto LABEL_1833; LABEL_1097: sub_776584((int)&v792, "plank_01_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v78 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v78->setColor(v78, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; goto LABEL_1833; } LABEL_1106: this->m_bDontDraw = 1; this->m_colorZLayerRelated = 0; sub_776584((int)&v792, "plank_01_slope_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v84 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 10); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v84->setRotation)(v84, -1043036897); if ( this->m_objectID == 372 ) { sub_776584((int)&v792, "plank_01_slope_02_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v85 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 9); sub_774008(&v792); v85->setColor(v85, &stru_9ACEDC); v84->setTag(v84, 997); this->m_isColorSpriteBlack = 1; } else { sub_776584((int)&v793, "emptyFrame.png"); v86 = GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); v86->m_bDontDraw = 1; sub_776584((int)&v792, "plank_01_slope_02_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v85 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -2); sub_774008(&v792); } ((void (__fastcall *)(cocos2d::CCSprite *, int))v85->setRotation)(v85, -1043036897); goto LABEL_1833; } goto LABEL_1102; } goto LABEL_1099; } if ( m_objectID != (ObjectToolbox *)&stru_1FC.st_info ) { if ( (int)m_objectID <= 520 ) { if ( (int)m_objectID <= 514 ) { if ( (int)m_objectID < 506 ) { if ( m_objectID == (ObjectToolbox *)&stru_1EC ) { sub_776584((int)&v792, "block002_slope_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block002_slope_01_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v387); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); } else if ( m_objectID == (ObjectToolbox *)((char *)&stru_1EC.st_name + 1) ) { sub_776584((int)&v792, "block002_slope_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block002_slope_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v388); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); } else if ( m_objectID == (ObjectToolbox *)&stru_1DC.st_size ) { sub_776584((int)&v792, "block001_slope_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v791, "block001_slope_02_001.png"); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v386); sub_776584((int)&v793, (char *)LODWORD(v792.x)); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } GameObject::setDefaultMainColorMode(this, 1003); goto LABEL_1824; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_1FC.st_size + 1) ) { if ( (int)m_objectID <= 517 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_1FC.st_value + 3) ) { v9 = m_objectID == (ObjectToolbox *)&stru_1FC.st_size; goto LABEL_183; } LABEL_1362: this->m_bDontDraw = 1; v326 = m_objectID == (ObjectToolbox *)((char *)&stru_5FC.st_value + 2); v327 = (char *)ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); v328 = (char **)&v792; if ( v326 ) v329 = 7; else v329 = 2; v330 = v327; GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v327, v329); cocos2d::CCPoint::CCPoint(&v793, -7.5, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); if ( v326 ) v331 = 6; else v331 = 1; GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v330, v331); cocos2d::CCPoint::CCPoint(&v793, 7.5, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v330, 2); cocos2d::CCPoint::CCPoint(&v793, -7.5, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v330, 1); cocos2d::CCPoint::CCPoint(&v793, 7.5, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); LABEL_1398: v352 = v328; goto LABEL_1395; } goto LABEL_1824; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_1FC.st_size + 2) ) { v10 = 519; LABEL_318: v13 = m_objectID == (ObjectToolbox *)v10; LABEL_189: if ( !v13 ) goto LABEL_1833; goto LABEL_1386; } goto LABEL_1384; } LABEL_1382: v341 = (ObjectToolbox *)this->m_objectID; this->m_bDontDraw = 1; v328 = &v790; v342 = (char *)ObjectToolbox::perspectiveBlockFrame(v341, a2); GameObject::perspectiveFrame((GameObject *)&v790, (const char *)this, v342, 1); sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v791, (int)&v793, -1); sub_774008(&v791); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v342, 1); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1398; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_20C.st_name + 2) ) goto LABEL_1382; if ( (int)m_objectID <= 526 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_1FC.st_shndx + 1) ) { if ( (int)m_objectID < 524 ) { if ( m_objectID != (ObjectToolbox *)&stru_1FC.st_other ) { v11 = 522; LABEL_193: v14 = m_objectID == (ObjectToolbox *)v11; goto LABEL_194; } goto LABEL_1396; } if ( m_objectID == (ObjectToolbox *)&stru_20C ) goto LABEL_1362; v12 = 525; goto LABEL_182; } LABEL_1422: this->m_bDontDraw = 1; v366 = 0; v367 = ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); v368 = this->m_objectID; if ( v368 == 1537 ) v369 = 2; else v369 = 3; if ( v368 == 1537 ) v370 = -7.5; else v370 = -10.0; if ( v368 == 1537 ) v371 = -45.0; else v371 = 0.0; v372 = (char *)v367; if ( v368 == 1537 ) v373 = 15.0; else v373 = 10.0; do { v374 = this->m_objectID; v790 = (char *)&unk_ACDDA8; if ( v374 == 1071 && v366 == 1 ) { sub_7753D4((int)&v790, "persp_block009_04b_001.png"); } else { GameObject::perspectiveFrame((GameObject *)&v793, (const char *)this, v372, 4); sub_774794(&v790, &v793); sub_774008(&v793); } sub_775C20(&v791); cocos2d::CCPoint::CCPoint(&v793, v370 + (float)((float)v366 * v373), v370 + (float)((float)v366 * v373)); v375 = GameObject::addCustomChild(this, (const char **)&v791, (int)&v793, -1); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v375->setScale)(v375, 1065437102); if ( v371 != 0.0 ) v375->setRotation(v375, COERCE_FLOAT(LODWORD(v371))); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v372, 4); cocos2d::CCPoint::CCPoint(&v793, v370 + (float)((float)v366 * v373), v370 + (float)((float)v366 * v373)); v376 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v376->setScale)(v376, 1065437102); if ( v371 != 0.0 ) v376->setRotation(v376, COERCE_FLOAT(LODWORD(v371))); } ++v366; sub_774008(&v790); } while ( v366 != v369 ); goto LABEL_1824; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_20C.st_value + 1) ) { if ( (int)m_objectID <= 529 ) { if ( m_objectID != (ObjectToolbox *)((char *)&stru_20C.st_name + 3) ) { v13 = m_objectID == (ObjectToolbox *)&stru_20C.st_value; goto LABEL_189; } goto LABEL_1384; } if ( m_objectID != (ObjectToolbox *)((char *)&stru_20C.st_value + 2) ) { v11 = 531; goto LABEL_193; } LABEL_1396: v353 = (ObjectToolbox *)this->m_objectID; this->m_bDontDraw = 1; v328 = (char **)&v792; v354 = (char *)ObjectToolbox::perspectiveBlockFrame(v353, a2); GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v354, 2); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v354, 2); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); goto LABEL_1398; } LABEL_1824: if ( this->m_hasCustomChild ) v760 = -7; else v760 = -6; this->m_defaultZOrder = v760; this->m_unk3FD = 0; this->m_objectType = Decoration; if ( GameObject::getMainColorMode(this) == 1003 ) v761 = B1; else v761 = B2; this->m_defaultZLayer = v761; v762 = this->m_objectID; if ( v762 >= 578 && (v762 <= 622 || v762 == 902) ) { GameObject::setDefaultMainColorMode(this, 3); this->m_defaultZOrder = -6; } goto LABEL_1833; } } LABEL_1389: this->m_bDontDraw = 1; v333 = (const char **)&v792; v349 = (char *)ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); if ( m_objectID == (ObjectToolbox *)&stru_5FC.st_size ) v350 = 8; else v350 = 3; v351 = v349; GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v349, v350); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v351, 3); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); LABEL_1394: v352 = v333; LABEL_1395: sub_774008(v352); goto LABEL_1824; } goto LABEL_1824; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_shndx + 1) ) goto LABEL_1386; if ( (int)m_objectID < 556 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_name + 3) ) goto LABEL_1370; if ( (int)m_objectID < 544 ) { if ( m_objectID != (ObjectToolbox *)&stru_20C.st_other ) { if ( (int)m_objectID <= 537 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_20C.st_size + 2) ) goto LABEL_1370; if ( (int)m_objectID < 534 ) goto LABEL_1362; if ( m_objectID == (ObjectToolbox *)((char *)&stru_20C.st_size + 3) ) goto LABEL_1382; v15 = m_objectID == (ObjectToolbox *)&stru_20C.st_info; LABEL_219: if ( !v15 ) goto LABEL_1833; goto LABEL_1384; } if ( m_objectID != (ObjectToolbox *)&stru_21C ) { if ( (int)m_objectID <= 540 ) { if ( m_objectID == (ObjectToolbox *)&stru_20C.st_shndx ) goto LABEL_1389; v16 = 539; LABEL_242: v19 = m_objectID == (ObjectToolbox *)v16; goto LABEL_223; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_name + 1) ) goto LABEL_1422; v17 = 542; goto LABEL_229; } LABEL_1399: this->m_bDontDraw = 1; v355 = 0; v356 = ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); if ( this->m_objectID == 1536 ) v357 = 2; else v357 = 4; if ( this->m_objectID == 1536 ) v358 = -15.0; else v358 = -22.5; if ( this->m_objectID == 1536 ) v359 = -30.0; else v359 = 0.0; v360 = (char *)v356; if ( this->m_objectID == 1536 ) v361 = 30.0; else v361 = 15.0; do { v362 = this->m_objectID; v790 = (char *)&unk_ACDDA8; if ( v362 == 1070 && (v355 & 0xFFFFFFFD) == 1 ) { sub_7753D4((int)&v790, "persp_block009_05b_001.png"); } else { GameObject::perspectiveFrame((GameObject *)&v793, (const char *)this, v360, 5); sub_774794(&v790, &v793); sub_774008(&v793); } sub_775C20(&v791); v363 = v358 + (float)((float)v355 * v361); cocos2d::CCPoint::CCPoint(&v793, v363, v363 * 0.5); v364 = GameObject::addCustomChild(this, (const char **)&v791, (int)&v793, -1); sub_774008(&v791); ((void (__fastcall *)(cocos2d::CCSprite *, int))v364->setScale)(v364, 1065437102); if ( v359 != 0.0 ) v364->setRotation(v364, COERCE_FLOAT(LODWORD(v359))); if ( this->m_colorSprite ) { GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v360, 5); cocos2d::CCPoint::CCPoint(&v793, v358 + (float)((float)v355 * v361), v363 * 0.5); v365 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v365->setScale)(v365, 1065437102); if ( v359 != 0.0 ) v365->setRotation(v365, COERCE_FLOAT(LODWORD(v359))); } ++v355; sub_774008(&v790); } while ( v355 != v357 ); goto LABEL_1824; } LABEL_1386: this->m_bDontDraw = 1; v346 = (char *)ObjectToolbox::perspectiveBlockFrame(m_objectID, a2); GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v346, 2); cocos2d::CCPoint::CCPoint(&v793, 2.5, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::perspectiveFrame((GameObject *)&v792, (const char *)this, v346, 2); cocos2d::CCPoint::CCPoint(&v793, 0.0, 2.5); v347 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v347, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v347->setRotation)(v347, 1119092736); if ( !this->m_colorSprite ) goto LABEL_1824; GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v346, 2); cocos2d::CCPoint::CCPoint(&v793, 2.5, 0.0); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); GameObject::perspectiveColorFrame((GameObject *)&v792, (const char *)this, v346, 2); cocos2d::CCPoint::CCPoint(&v793, 0.0, 2.5); v345 = GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); goto LABEL_1388; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_size + 1) ) goto LABEL_1399; if ( (int)m_objectID <= 549 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_value + 2) ) goto LABEL_1386; if ( (int)m_objectID > 546 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_value + 3) ) goto LABEL_1389; v19 = m_objectID == (ObjectToolbox *)&stru_21C.st_size; LABEL_223: if ( !v19 ) goto LABEL_1833; goto LABEL_1396; } if ( m_objectID == (ObjectToolbox *)&stru_21C.st_value ) goto LABEL_1382; v18 = 545; LABEL_218: v15 = m_objectID == (ObjectToolbox *)v18; goto LABEL_219; } if ( m_objectID == (ObjectToolbox *)&stru_21C.st_info ) goto LABEL_1370; if ( (int)m_objectID > 552 ) { if ( m_objectID == (ObjectToolbox *)&stru_21C.st_other ) goto LABEL_1382; v18 = 554; goto LABEL_218; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_21C.st_size + 2) ) goto LABEL_1422; v17 = 551; LABEL_229: v20 = m_objectID == (ObjectToolbox *)v17; goto LABEL_230; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_size + 3) ) goto LABEL_1399; if ( (int)m_objectID >= 568 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_name + 1) ) goto LABEL_1386; if ( (int)m_objectID > 573 ) { if ( m_objectID == (ObjectToolbox *)&stru_23C.st_value ) goto LABEL_1399; if ( (int)m_objectID <= 576 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_name + 2) ) goto LABEL_1389; v16 = 575; goto LABEL_242; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_23C.st_value + 1) ) goto LABEL_1422; v17 = 578; } else { if ( m_objectID == (ObjectToolbox *)&stru_22C.st_shndx ) goto LABEL_1370; if ( (int)m_objectID > 570 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_shndx + 1) ) goto LABEL_1382; v15 = m_objectID == (ObjectToolbox *)&stru_23C; goto LABEL_219; } if ( m_objectID == (ObjectToolbox *)&stru_22C.st_info ) goto LABEL_1422; v17 = 569; } goto LABEL_229; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_value + 1) ) goto LABEL_1370; if ( (int)m_objectID > 561 ) { if ( m_objectID == (ObjectToolbox *)&stru_22C.st_size ) goto LABEL_1386; if ( (int)m_objectID > 564 ) { if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_size + 1) ) goto LABEL_1389; v16 = 566; goto LABEL_242; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_value + 2) ) goto LABEL_1382; v18 = 563; goto LABEL_218; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_name + 2) ) goto LABEL_1399; if ( (int)m_objectID <= 558 ) { if ( m_objectID == (ObjectToolbox *)&stru_22C ) goto LABEL_1389; v16 = 557; goto LABEL_242; } if ( m_objectID == (ObjectToolbox *)((char *)&stru_22C.st_name + 3) ) goto LABEL_1422; v20 = m_objectID == (ObjectToolbox *)&stru_22C.st_value; LABEL_230: if ( !v20 ) goto LABEL_1833; goto LABEL_1362; } if ( m_objectID == (ObjectToolbox *)((char *)&dword_A4 + 2) ) { sub_776584((int)&v792, "blockOutline_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v643 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v643->setScaleX)(v643, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "square_g_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); if ( !this->m_glowSprite ) goto LABEL_1833; goto LABEL_1736; } if ( (int)m_objectID > 166 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_120 + 1) ) { sub_776584((int)&v792, "triangle_a_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID >= 290 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_138 + 3) ) { sub_776584((int)&v792, "triangle_f_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID >= 316 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_150 + 1) ) { sub_776584((int)&v793, "lighttriangle_02_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( (int)m_objectID >= 338 ) { if ( m_objectID == (ObjectToolbox *)"em/bin/linker" ) { sub_776584((int)&v793, "lighttriangle_03_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( (int)m_objectID >= 346 ) { if ( m_objectID == (ObjectToolbox *)"in/linker" ) { sub_776584((int)&v793, "lighttriangle_04_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( m_objectID == (ObjectToolbox *)"/linker" ) { sub_776584((int)&v793, "lighttriangle_04_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_150 + 3) ) { sub_776584((int)&v793, "lighttriangle_02_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( m_objectID == (ObjectToolbox *)"stem/bin/linker" ) { sub_776584((int)&v793, "lighttriangle_03_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_140 + 3) ) { sub_776584((int)&v792, "triangle_g_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID >= 324 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_148 + 3) ) { sub_776584((int)&v793, "lighttriangle_01_02_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_14C + 1) ) { sub_776584((int)&v793, "lighttriangle_01_04_color_001.png"); GameObject::addCustomColorChild(this, (const char **)&v793); sub_774008(&v793); } } else if ( m_objectID == (ObjectToolbox *)((char *)off_13C + 1) ) { sub_776584((int)&v792, "triangle_f_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_140 + 1) ) { sub_776584((int)&v792, "triangle_g_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_128 + 3) ) { sub_776584((int)&v792, "triangle_c_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID >= 300 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_130 + 3) ) { sub_776584((int)&v792, "triangle_d_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID >= 308 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_134 + 1) ) { sub_776584((int)&v792, "lighttriangle_01_02_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v383 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v383->setColor(v383, &stru_9ACEDC); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_134 + 3) ) { sub_776584((int)&v792, "lighttriangle_01_04_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v384 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v384->setColor(v384, &stru_9ACEDC); } } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_12C + 1) ) { sub_776584((int)&v792, "triangle_c_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_130 + 1) ) { sub_776584((int)&v792, "triangle_d_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_124 + 3) ) { sub_776584((int)&v792, "triangle_b_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v75 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v75->setRotation)(v75, -1043036897); v75->setColor(v75, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; } else if ( (int)m_objectID >= 296 ) { if ( m_objectID == (ObjectToolbox *)&dword_128 ) { this->setColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; sub_776584((int)&v792, "blockOutline_07_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_128 + 1) ) { this->setColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; sub_776584((int)&v792, "blockOutline_08_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); } } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_120 + 3) ) { sub_776584((int)&v792, "triangle_a_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_124 + 2) ) { sub_776584((int)&v792, "triangle_b_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v74 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v74->setRotation)(v74, -1036779520); v74->setColor(v74, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; } goto LABEL_1833; } if ( (int)m_objectID > 188 ) { if ( (int)m_objectID > 224 ) { if ( m_objectID != (ObjectToolbox *)((char *)&dword_108 + 1) ) { if ( (int)m_objectID < 266 ) { if ( m_objectID != (ObjectToolbox *)((char *)&dword_104 + 3) ) goto LABEL_1833; goto LABEL_1547; } if ( m_objectID == (ObjectToolbox *)((char *)&dword_108 + 3) ) { LABEL_1553: sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v455 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v455->setRotation)(v455, 1119092736); sub_774008(&v792); sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v456 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v456->setRotation)(v456, -1028390912); sub_774008(&v792); if ( this->m_glowSprite ) { sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v457); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v458 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v458->setRotation)(v458, 1119092736); sub_774008(&v792); sub_774008(&v791); sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v459); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v460 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v460->setRotation)(v460, -1028390912); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&dword_10C ) goto LABEL_1833; goto LABEL_1556; } LABEL_1550: sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v452 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v452->setRotation)(v452, -1028390912); sub_774008(&v792); if ( this->m_glowSprite ) { sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v453); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v454 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v454->setRotation)(v454, -1028390912); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } if ( (int)m_objectID >= 223 ) goto LABEL_1805; if ( (int)m_objectID < 195 ) goto LABEL_1833; if ( (int)m_objectID <= 196 ) { sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v76); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v77 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); v77->setColor(v77, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; goto LABEL_1833; } v6 = m_objectID == (ObjectToolbox *)((char *)off_DC + 2); goto LABEL_59; } if ( (int)m_objectID >= 187 ) goto LABEL_1805; if ( (int)m_objectID <= 182 ) { if ( (int)m_objectID >= 181 ) goto LABEL_1805; if ( m_objectID == (ObjectToolbox *)&dword_A8 ) { sub_776584((int)&v792, "square_g_09_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID < 168 ) { sub_776584((int)&v792, "blockOutline_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v646 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v646->setScaleX)(v646, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "square_g_08_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); if ( this->m_glowSprite ) { sub_776584((int)&v791, "blockOutline_06_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v647); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v648 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v648->setScaleX)(v648, -1082130432); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)((char *)&dword_A8 + 1) ) { sub_776584((int)&v792, "square_g_10_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } v6 = m_objectID == (ObjectToolbox *)&dword_B4; goto LABEL_59; } if ( (int)m_objectID <= 185 ) { v7 = (int)m_objectID < 184; LABEL_378: if ( !v7 ) goto LABEL_1805; } LABEL_1759: v679 = ObjectToolbox::sharedState(); v680 = (char *)ObjectToolbox::intKeyToFrame(v679, this->m_objectID); this->m_bDontDraw = 1; v681 = v680; sub_776584((int)&v792, v680); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v682 = this->m_objectID; if ( v682 == 397 || v682 == 1708 ) { v683 = 0; } else { v768 = this->m_colorSprite; v683 = 1; if ( v768 ) { v768->m_bDontDraw = 1; sub_776584((int)&v790, v681); GameObject::getColorFrame((int)&v791, (int)this, (char *)&v790, v769); sub_776584((int)&v792, (char *)LODWORD(v791.x)); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); sub_774008(&v790); v683 = 1; } } v777 = (char *)v683; v684 = this->m_glowSprite; if ( v684 ) { v684->m_bDontDraw = 1; sub_776584((int)&v791, v681); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v685); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); } if ( v681 ) { for ( i = 0; i != 3; ++i ) { v773 = i - 1 <= 1; cocos2d::CCPoint::CCPoint(&v791); if ( i == 2 ) v687 = 0.0; else v687 = -0.0; cocos2d::CCPoint::CCPoint(&v793, v687, 0.0); cocos2d::CCPoint::operator=((PlayerObject *)&v791, COERCE_FLOAT(&v793), v688, v689); sub_776584((int)&v792, v681); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v690 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v690, i <= 1); cocos2d::CCSprite::setFlipY(v690, v773); v691 = v690->setPosition; v692 = (int)v690->getPosition(v690); cocos2d::CCPoint::operator+(&v793, v692, &v791); v691(v690, &v793); if ( this->m_objectID == 675 ) { this->m_isColorSpriteBlack = 1; v690->setTag(v690, 997); sub_776584((int)&v789, v681); GameObject::getColorFrame((int)&v790, (int)this, (char *)&v789, v693); sub_776584((int)&v792, v790); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v694 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -2); sub_774008(&v792); sub_774008(&v790); sub_774008(&v789); v694->setColor(v694, &stru_9ACEDC); cocos2d::CCSprite::setFlipX(v694, i <= 1); cocos2d::CCSprite::setFlipY(v694, v773); if ( !i ) { sub_776584((int)&v789, v681); GameObject::getColorFrame((int)&v790, (int)this, (char *)&v789, v695); sub_776584((int)&v792, v790); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v696 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -2); sub_774008(&v792); sub_774008(&v790); sub_774008(&v789); v696->setColor(v696, &stru_9ACEDC); } } if ( this->m_glowSprite ) { sub_776584((int)&v792, v681); GameObject::getGlowFrame((int)&v793, (int)this, (char *)&v792, v697); v698 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)LODWORD(v793.x)); sub_774008(&v793); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v698, i <= 1); cocos2d::CCSprite::setFlipY(v698, v773); this->m_glowSprite->addChild(this->m_glowSprite, v698); cocos2d::CCNode::convertToNodeSpace(&v792, this->m_glowSprite, &stru_AC7578); v699 = v698->setPosition; cocos2d::CCPoint::operator+(&v793, &v792, &v791); v699(v698, &v793); } if ( v777 && this->m_colorSprite ) { sub_776584((int)&v792, v681); GameObject::getColorFrame((int)&v793, (int)this, (char *)&v792, v700); v701 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)LODWORD(v793.x)); sub_774008(&v793); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v701, i <= 1); cocos2d::CCSprite::setFlipY(v701, v773); this->m_colorSprite->addChild(this->m_colorSprite, v701); cocos2d::CCNode::convertToNodeSpace(&v792, this->m_colorSprite, &stru_AC7578); v702 = v701->setPosition; cocos2d::CCPoint::operator+(&v793, &v792, &v791); v702(v701, &v793); } } } goto LABEL_1833; } if ( (int)m_objectID > 87 ) { if ( (int)m_objectID <= 139 ) { if ( (int)m_objectID >= 138 ) goto LABEL_1805; if ( m_objectID == (ObjectToolbox *)((char *)off_5C + 3) ) { LABEL_1560: sub_776584((int)&v792, "lightsquare_01_05_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v465 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v465->setColor(v465, &stru_9ACEDC); goto LABEL_1833; } if ( (int)m_objectID <= 95 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_58 + 1) ) goto LABEL_1805; if ( (int)m_objectID >= 89 ) { if ( (int)m_objectID > 93 ) goto LABEL_1833; goto LABEL_1560; } LABEL_1804: this->m_bDontDraw = 1; sub_776584((int)&v792, "sawblade_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "sawblade_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v726 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v726, 1); cocos2d::CCSprite::setFlipY(v726, 1); goto LABEL_1833; } if ( (int)m_objectID > 98 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_74 + 3) ) { sub_776584((int)&v792, "square_f_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_88 + 1) ) { this->m_bDontDraw = 1; sub_776584((int)&v792, "d_wheel_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "d_wheel_01_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v725 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); cocos2d::CCSprite::setFlipX(v725, 1); } goto LABEL_1833; } if ( (int)m_objectID < 97 ) { sub_776584((int)&v792, "blockOutline_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v466 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); ((void (__fastcall *)(cocos2d::CCSprite *, int))v466->setScaleX)(v466, -1082130432); v466->setTag(v466, 997); sub_776584((int)&v792, "lightsquare_01_05_color_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v467 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v467->setColor(v467, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; if ( !this->m_glowSprite ) goto LABEL_1833; goto LABEL_1736; } LABEL_1805: this->m_bDontDraw = 1; sub_775C20(&v792); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); v727 = this->m_colorSprite; if ( v727 ) { v727->m_bDontDraw = 1; sub_775C20(&v791); GameObject::getColorFrame((int)&v792, (int)this, (char *)&v791, v728); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalCustomColorChild((int)this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_774008(&v791); } v729 = this->m_glowSprite; if ( v729 ) { v729->m_bDontDraw = 1; sub_775C20(&v791); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v730); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } if ( (int)m_objectID > 156 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_A0 + 2) ) { sub_776584((int)&v792, "square_g_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( (int)m_objectID > 162 ) { if ( m_objectID == (ObjectToolbox *)((char *)&dword_A0 + 3) ) { sub_776584((int)&v792, "square_g_04_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } else if ( m_objectID == (ObjectToolbox *)((char *)&dword_A4 + 1) ) { sub_776584((int)&v792, "square_g_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } } else if ( (int)m_objectID >= 160 ) { sub_776584((int)&v792, "square_g_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); } goto LABEL_1833; } if ( (int)m_objectID >= 155 ) goto LABEL_1805; if ( (int)m_objectID <= 141 ) { v284 = this->setGlowColor; LOWORD(v793.x) = 255; BYTE2(v793.x) = -1; v284(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; goto LABEL_1833; } v6 = m_objectID == (ObjectToolbox *)((char *)&dword_98 + 2); LABEL_59: if ( !v6 ) goto LABEL_1833; goto LABEL_1759; } if ( (int)m_objectID >= 86 ) goto LABEL_1805; if ( (int)m_objectID > 72 ) { if ( m_objectID != (ObjectToolbox *)((char *)&dword_4C + 2) ) { if ( (int)m_objectID <= 78 ) { if ( m_objectID != (ObjectToolbox *)((char *)&dword_48 + 3) ) { if ( (int)m_objectID <= 75 ) { if ( m_objectID != (ObjectToolbox *)((char *)&dword_48 + 2) ) goto LABEL_1833; LABEL_1543: sub_776584((int)&v792, "square_c_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)&dword_4C ) { sub_776584((int)&v792, "square_d_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1833; } sub_776584((int)&v792, "square_d_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); LABEL_1547: sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v443 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v443->setScaleY)(v443, -1082130432); sub_774008(&v792); sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v444 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v444->setRotation)(v444, 1119092736); sub_774008(&v792); sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v445 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v445->setRotation)(v445, -1028390912); sub_774008(&v792); if ( this->m_glowSprite ) { sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v446); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v447 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v447->setScaleY)(v447, -1082130432); sub_774008(&v792); sub_774008(&v791); sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v448); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v449 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v449->setRotation)(v449, 1119092736); sub_774008(&v792); sub_774008(&v791); sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v450); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v451 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v451->setRotation)(v451, -1028390912); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } sub_776584((int)&v792, "square_c_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); sub_776584((int)&v792, "blockOutline_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v442 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v442->setScaleX)(v442, -1082130432); sub_774008(&v792); if ( !this->m_glowSprite ) goto LABEL_1833; LABEL_1736: sub_776584((int)&v791, "blockOutline_05_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v644); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v645 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v645->setScaleX)(v645, -1082130432); sub_774008(&v792); sub_774008(&v791); goto LABEL_1833; } if ( m_objectID != (ObjectToolbox *)((char *)&dword_50 + 2) ) { if ( (int)m_objectID <= 82 ) { if ( m_objectID != (ObjectToolbox *)((char *)&dword_50 + 1) ) goto LABEL_1833; sub_776584((int)&v792, "square_d_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1553; } if ( m_objectID == (ObjectToolbox *)&dword_54 ) goto LABEL_1311; v6 = m_objectID == (ObjectToolbox *)((char *)&dword_54 + 1); goto LABEL_59; } sub_776584((int)&v792, "square_d_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); LABEL_1556: sub_776584((int)&v792, "lightsquare_04_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v461 = GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); ((void (__fastcall *)(cocos2d::CCSprite *, int))v461->setRotation)(v461, 1119092736); sub_774008(&v792); if ( this->m_glowSprite ) { sub_776584((int)&v791, "lightsquare_04_02_001.png"); GameObject::getGlowFrame((int)&v792, (int)this, (char *)&v791, v462); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); v463 = GameObject::addInternalGlowChild((int)this, (const char **)&v792, (int)&v793); ((void (__fastcall *)(cocos2d::CCSprite *, int))v463->setRotation)(v463, 1119092736); sub_774008(&v792); sub_774008(&v791); } goto LABEL_1833; } sub_776584((int)&v792, "square_d_05_001.png"); cocos2d::CCPoint::CCPoint(&v793, &stru_AC7578); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, -1); sub_774008(&v792); goto LABEL_1550; } if ( (int)m_objectID >= 69 ) goto LABEL_1543; if ( m_objectID == (ObjectToolbox *)((char *)off_3C + 3) ) { this->setObjectColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; sub_776584((int)&v792, "blockOutline_03_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 0.0); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); goto LABEL_1833; } if ( (int)m_objectID > 63 ) { if ( (int)m_objectID <= 66 ) { if ( (int)m_objectID < 65 ) { this->setObjectColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; sub_776584((int)&v792, "blockOutline_06_001.png"); cocos2d::CCPoint::CCPoint(&v793, 7.5, -7.5); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); goto LABEL_1833; } goto LABEL_1110; } if ( m_objectID != (ObjectToolbox *)((char *)&dword_40 + 3) ) { v5 = m_objectID == (ObjectToolbox *)&dword_44; LABEL_25: if ( !v5 ) goto LABEL_1833; LABEL_1110: this->setObjectColor(this, &stru_9ACEDC); this->m_isObjectBlack = 1; sub_776584((int)&v792, "blockOutline_02_001.png"); cocos2d::CCPoint::CCPoint(&v793, 0.0, 7.25); GameObject::addCustomChild(this, (const char **)&v792, (int)&v793, 1); sub_774008(&v792); goto LABEL_1833; } LABEL_1311: v276 = this->setGlowColor; LOWORD(v793.x) = -256; BYTE2(v793.x) = -1; v276(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; goto LABEL_1833; } if ( m_objectID == (ObjectToolbox *)&word_28 ) goto LABEL_1097; if ( (int)m_objectID > 40 ) { v5 = m_objectID == (ObjectToolbox *)((char *)off_3C + 2); goto LABEL_25; } if ( (unsigned int)&m_objectID[-1].m_eScriptType + 1 <= 1 ) { v4 = this->setGlowColor; LOWORD(v793.x) = -20481; BYTE2(v793.x) = 0; v4(this, (const cocos2d::ccColor3B *)&v793); this->m_cantColorGlow = 1; } LABEL_1833: v763 = this->m_objectID; if ( v763 < 400 ) { if ( v763 > 396 || v763 == 191 ) goto LABEL_1870; if ( v763 <= 191 ) { if ( v763 <= 89 ) { if ( v763 < 88 && v763 != 9 ) { v764 = v763 == 61; goto LABEL_1863; } LABEL_1870: this->setObjectColor(this, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; this->m_isObjectBlack = 1; goto LABEL_1872; } if ( v763 == 98 ) goto LABEL_1870; v764 = v763 == 135; LABEL_1863: if ( !v764 ) goto LABEL_1872; goto LABEL_1870; } if ( v763 <= 244 ) { if ( v763 >= 243 ) goto LABEL_1870; v765 = v763 - 198; goto LABEL_1855; } if ( v763 <= 362 ) goto LABEL_1872; if ( v763 <= 368 ) goto LABEL_1870; v766 = 393; goto LABEL_1849; } if ( v763 <= 672 ) { if ( v763 < 668 ) { if ( v763 < 448 ) { if ( v763 >= 446 ) goto LABEL_1870; v765 = v763 - 421; LABEL_1855: if ( v765 <= 1 ) goto LABEL_1870; goto LABEL_1872; } v766 = 667; LABEL_1849: v764 = v763 == v766; goto LABEL_1863; } LABEL_1871: this->setObjectColor(this, &stru_9ACEDC); this->m_isColorSpriteBlack = 1; this->m_isObjectBlack = 1; this->m_opacityMod2 = 0.4; goto LABEL_1872; } if ( v763 == 989 ) goto LABEL_1870; if ( v763 <= 989 ) { if ( v763 != 738 ) { if ( v763 == 768 ) goto LABEL_1870; v764 = v763 == 720; goto LABEL_1863; } goto LABEL_1871; } if ( v763 == 991 ) goto LABEL_1870; if ( v763 >= 991 && (unsigned int)(v763 - 1734) <= 2 ) GameObject::setDefaultSecondaryColorMode(this, 1010); LABEL_1872: result = GameObject::getRelativeSpriteColor(this, 1); this->m_customSpriteColor = result == nullptr; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source