// // GJBaseGameLayer::visit from 0x598608 to 0x599220 (3096 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:53:10 +0000 // int __fastcall GJBaseGameLayer::visit(GJBaseGameLayer *this) { int result; // r0 float v3; // s15 int v4; // r3 cocos2d::CCDirector *v5; // r0 const cocos2d::CCPoint *v6; // r0 const cocos2d::CCPoint *v7; // r0 int v8; // r0 int v9; // r3 int v10; // r2 float *v11; // r6 float v12; // s19 int v13; // r0 float v14; // s16 float v15; // s16 int v16; // r9 float *v17; // r7 void (__fastcall *v18)(int, float *); // r10 int v19; // r11 float v20; // s19 float v21; // s15 int v22; // r0 float v23; // s19 float v24; // s15 int v25; // r0 float v26; // s15 int v27; // r0 int v28; // r0 float v29; // s16 float v30; // s15 float v31; // r0 float v32; // s16 float v33; // s19 float v34; // s15 int v35; // r0 float v36; // s16 float *v37; // r0 int v38; // r5 void (__fastcall *v39)(int, _BYTE *); // r10 float v40; // s16 int v41; // r11 float v42; // s15 int v43; // r0 float v44; // s16 float v45; // s15 int v46; // r0 int i; // r8 float v48; // s20 int v49; // r0 int v50; // r3 int v51; // r3 int v52; // r8 int *v53; // r5 int v54; // r9 int MainObject; // r10 int v56; // r11 int v57; // r0 float v58; // s17 float v59; // s15 float v60; // s17 float v61; // s16 float v62; // s16 float v63; // s23 float v64; // s15 float v65; // s23 float v66; // s19 int v67; // r3 void (__fastcall *v68)(int *, _BYTE *); // r2 int (__fastcall *v69)(int *); // r3 int v70; // r11 float v71; // s22 float v72; // r0 void (__fastcall *v73)(int *, _DWORD); // r9 float v74; // s22 float v75; // r0 float v76; // s19 float v77; // r0 void (__fastcall *v78)(int *, _DWORD); // r9 float v79; // s19 float v80; // r0 void (__fastcall *v81)(int *, _BYTE *); // r10 int v82; // r0 int v83; // r2 int v84; // r5 int v85; // r0 int v86; // r5 void (__fastcall *v87)(int, _BYTE *); // r7 const cocos2d::CCPoint *v88; // r0 _DWORD *v89; // r3 int *v90; // r7 int *v91; // r6 int v92; // r3 int v93; // t1 void (__fastcall *v94)(int, _BYTE *); // r11 int v95; // r0 float v96; // s16 float v97; // s15 float v98; // s16 int v99; // r5 float v100; // s16 void (__fastcall *v101)(int, _BYTE *); // r9 int v102; // r10 float v103; // s15 int v104; // r0 int v105; // r0 float v106; // s16 float v107; // s15 float v108; // r0 float v109; // s16 float v110; // s17 float v111; // s15 int v112; // r0 float *v113; // r0 int v114; // r5 void (__fastcall *v115)(int, _BYTE *); // r9 float v116; // s16 int v117; // r10 float v118; // s15 int v119; // r0 float v120; // s16 float v121; // s15 int v122; // r0 int v123; // r3 int v124; // r7 int j; // r8 int v126; // r5 int v127; // r0 _DWORD *v128; // r3 int *v129; // r7 int *v130; // r6 int v131; // r3 int v132; // t1 int v133; // r0 int v134; // r0 float v135; // s15 _BOOL4 v136; // r7 int v137; // r0 float v138; // s13 int v139; // r9 void (__fastcall *v140)(int, _BYTE *); // r8 float v141; // r2 int v142; // [sp+8h] [bp-CCh] void (__fastcall *v143)(int, float *); // [sp+8h] [bp-CCh] int v144; // [sp+Ch] [bp-C8h] void (__fastcall *v145)(int *, _BYTE *); // [sp+Ch] [bp-C8h] int v146; // [sp+Ch] [bp-C8h] int v147; // [sp+Ch] [bp-C8h] int v148; // [sp+10h] [bp-C4h] int v149; // [sp+14h] [bp-C0h] float v150; // [sp+24h] [bp-B0h] BYREF float v151; // [sp+28h] [bp-ACh] _BYTE v152[8]; // [sp+2Ch] [bp-A8h] BYREF _BYTE v153[8]; // [sp+34h] [bp-A0h] BYREF _BYTE v154[8]; // [sp+3Ch] [bp-98h] BYREF _BYTE v155[8]; // [sp+44h] [bp-90h] BYREF float v156[2]; // [sp+4Ch] [bp-88h] BYREF _BYTE v157[8]; // [sp+54h] [bp-80h] BYREF _BYTE v158[8]; // [sp+5Ch] [bp-78h] BYREF _BYTE v159[8]; // [sp+64h] [bp-70h] BYREF _BYTE v160[8]; // [sp+6Ch] [bp-68h] BYREF _BYTE v161[8]; // [sp+74h] [bp-60h] BYREF _BYTE v162[16]; // [sp+7Ch] [bp-58h] BYREF _BYTE v163[16]; // [sp+8Ch] [bp-48h] BYREF _BYTE v164[16]; // [sp+9Ch] [bp-38h] BYREF _BYTE v165[16]; // [sp+ACh] [bp-28h] BYREF float v166; // [sp+BCh] [bp-18h] BYREF float v167; // [sp+C0h] [bp-14h] float v168; // [sp+C4h] [bp-10h] float v169; // [sp+C8h] [bp-Ch] if ( *((float *)this + 2697) < 1.0 ) return cocos2d::CCNode::visit(this); if ( !*((_DWORD *)this + 519) || !GJBaseGameLayer::isFlipping(this) ) goto LABEL_9; v3 = *((float *)this + 215); if ( *((float *)this + 2700) == 1.0 ) { if ( v3 < 0.5 ) goto LABEL_9; LABEL_10: GJBaseGameLayer::flipObjects(this); v4 = 1; goto LABEL_11; } if ( v3 <= 0.5 ) goto LABEL_10; LABEL_9: v4 = 0; LABEL_11: v149 = v4; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v162, (const cocos2d::CCRect *)&unk_D2C418); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v163, (const cocos2d::CCRect *)&unk_D2C418); v5 = (cocos2d::CCDirector *)cocos2d::CCRect::CCRect((cocos2d::CCRect *)v164, (const cocos2d::CCRect *)&unk_D2C418); cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v150); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v152, v150 * 0.5, v151 * 0.5); v6 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v153, v6); v7 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 615) + 96))(*((_DWORD *)this + 615)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v154, v7); v8 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 176))(*((_DWORD *)this + 614)); v9 = *((_DWORD *)this + 614); if ( v8 ) v10 = *(unsigned __int8 *)(v9 + 349) ^ 1; else v10 = 1; v142 = v10; (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v9 + 316) + 456))(*(_DWORD *)(v9 + 316), 100); if ( *((float *)this + 177) == 0.0 ) { cocos2d::CCRect::operator=(v162, *((_DWORD *)this + 612) + 336); cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v166, (const cocos2d::CCRect *)v162); if ( *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)) + 4) < 0.0 ) v96 = 0.0; else v96 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)) + 4); v97 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)) + 4); if ( v142 ) v98 = -*(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)) + 4); else v98 = v96 - v97; v99 = *((_DWORD *)this + 612); v100 = v98 - 1.0; v101 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v99 + 92); v102 = (*(int (__fastcall **)(int))(*(_DWORD *)v99 + 96))(v99); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v161, 0.0, v100); cocos2d::CCPoint::operator+(v165, v102, v161); v101(v99, v165); v103 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v104 = *((_DWORD *)this + 615); v167 = v167 - (float)(v100 / v103); if ( (*(int (__fastcall **)(int))(*(_DWORD *)v104 + 176))(v104) ) { v105 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 615) + 96))(*((_DWORD *)this + 615)); v106 = v151; if ( *(float *)(v105 + 4) <= v151 ) v106 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 615) + 96))(*((_DWORD *)this + 615)) + 4); } else { v106 = v151; } v107 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)) + 4); v108 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v109 = (float)(v106 - v107) + 1.0; v110 = v169 - (float)(v109 / v108); v111 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v112 = *((_DWORD *)this + 612); v169 = v109 / v111; v167 = v167 + v110; v113 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v112 + 96))(v112); v114 = *((_DWORD *)this + 612); v115 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v114 + 92); v116 = -1.0 - *v113; v117 = (*(int (__fastcall **)(int))(*(_DWORD *)v114 + 96))(v114); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v161, v116, 0.0); cocos2d::CCPoint::operator+(v165, v117, v161); v115(v114, v165); v118 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v119 = *((_DWORD *)this + 612); v166 = v166 + (float)(v116 / v118); v120 = v150 + 2.0; v121 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v119 + 84))(v119)); v122 = *((_DWORD *)this + 612); v168 = v120 / v121; (*(void (__fastcall **)(int, float *))(*(_DWORD *)v122 + 568))(v122, &v166); } else { cocos2d::CCPoint::operator-(v155, v152); v11 = (float *)((char *)this + 10808); v12 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)) + 4); v13 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)); v14 = -(float)(*((float *)this + 2702) * 0.5); if ( *(float *)(v13 + 4) >= v14 ) v14 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)) + 4); if ( v142 ) v15 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)) + 4) + (float)(*v11 * 0.5); else v15 = v12 - v14; v16 = *((_DWORD *)this + 612); v17 = (float *)((char *)this + 10804); v18 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v16 + 92); v19 = (*(int (__fastcall **)(int))(*(_DWORD *)v16 + 96))(v16); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v165, -(float)(*((float *)this + 2701) * 0.5), -v15); cocos2d::CCPoint::operator+(&v166, v19, v165); v18(v16, &v166); cocos2d::CCRect::operator=(v162, *((_DWORD *)this + 612) + 336); cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v166, (const cocos2d::CCRect *)v162); v20 = *((float *)this + 2701) * 0.5; v21 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v22 = *((_DWORD *)this + 612); v166 = v166 - (float)(v20 / v21); v23 = *((float *)this + 2701); v24 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v22 + 84))(v22)); v25 = *((_DWORD *)this + 612); v168 = v168 + (float)(v23 / v24); v26 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v25 + 84))(v25)); v27 = *((_DWORD *)this + 615); v167 = v167 + (float)(v15 / v26); if ( (*(int (__fastcall **)(int))(*(_DWORD *)v27 + 176))(v27) ) { v28 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 615) + 96))(*((_DWORD *)this + 615)); v29 = v151 + (float)(*v11 * 0.5); if ( *(float *)(v28 + 4) <= v29 ) v29 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 615) + 96))(*((_DWORD *)this + 615)) + 4); } else { v29 = v151 + (float)(*v11 * 0.5); } v30 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)) + 4); v31 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v32 = (float)(v29 - v30) + 1.0; v33 = v169 - (float)(v32 / v31); v34 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v35 = *((_DWORD *)this + 612); v169 = v32 / v34; v167 = v167 + v33; v36 = (float)-(float)(*v17 * 0.5) - 1.0; v37 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v35 + 96))(v35); v38 = *((_DWORD *)this + 612); v39 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v38 + 92); v40 = v36 - *v37; v41 = (*(int (__fastcall **)(int))(*(_DWORD *)v38 + 96))(v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v161, v40, 0.0); cocos2d::CCPoint::operator+(v165, v41, v161); v39(v38, v165); v42 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612))); v43 = *((_DWORD *)this + 612); v166 = v166 + (float)(v40 / v42); v44 = v150 + *v17; v45 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v43 + 84))(v43)); v46 = *((_DWORD *)this + 612); v168 = (float)(v44 + 1.0) / v45; (*(void (__fastcall **)(int, float *))(*(_DWORD *)v46 + 568))(v46, &v166); if ( lastGradientUpdate != *((_DWORD *)this + 202) ) { lastGradientUpdate = *((_DWORD *)this + 202); if ( v142 ) { v48 = *v11 * 0.5; } else { v49 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)); v48 = *v11 * 0.5; if ( *(float *)(v49 + 4) >= (float)-v48 ) v48 = -*(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 614) + 96))(*((_DWORD *)this + 614)) + 4); } v50 = *((_DWORD *)this + 2676); if ( v50 ) { v51 = *(_DWORD *)(v50 + 52); if ( v51 ) v52 = *(_DWORD *)(v51 + 272); else v52 = 0; while ( v51 ) { v53 = *(int **)(v51 + 260); if ( (*(int (__fastcall **)(int *))(*v53 + 256))(v53) ) { v54 = v53[119]; MainObject = GJBaseGameLayer::tryGetMainObject((cocos2d::CCDictionary **)this, *(_DWORD *)(v54 + 1660)); v56 = GJBaseGameLayer::tryGetMainObject((cocos2d::CCDictionary **)this, *(_DWORD *)(v54 + 1664)); v144 = GJBaseGameLayer::tryGetMainObject((cocos2d::CCDictionary **)this, *(_DWORD *)(v54 + 1668)); v57 = GJBaseGameLayer::tryGetMainObject((cocos2d::CCDictionary **)this, *(_DWORD *)(v54 + 1672)); v58 = *v17 * 0.5; v148 = v57; if ( *((_BYTE *)v53 + 480) ) v59 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 609) + 84))(*((_DWORD *)this + 609))); else v59 = 1.0; v60 = v58 / v59; if ( *((_BYTE *)v53 + 480) ) v61 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 609) + 84))(*((_DWORD *)this + 609))); else v61 = 1.0; v62 = v48 / v61; v63 = *v11 * 0.5; if ( *((_BYTE *)v53 + 480) ) v64 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 609) + 84))(*((_DWORD *)this + 609))); else v64 = 1.0; v65 = v63 / v64; if ( *(_BYTE *)(v54 + 1676) ) { if ( MainObject ) cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, (const cocos2d::CCPoint *)&unk_D2C400); else cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v156, v60, v62); if ( v56 ) cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v157, (const cocos2d::CCPoint *)v156); else cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v157, v60 + v156[0], 0.0); if ( v144 ) cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v158, (const cocos2d::CCPoint *)v156); else cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v158, 0.0, v65 + v156[1]); if ( v148 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v159, (const cocos2d::CCPoint *)v156); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v165, v60, v65); cocos2d::CCPoint::operator+(v159, v156, v165); } v81 = *(void (__fastcall **)(int *, _BYTE *))(*v53 + 92); v82 = (*(int (__fastcall **)(int *))(*v53 + 96))(v53); cocos2d::CCPoint::operator-(v165, v82, v156); v81(v53, v165); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v160, (const cocos2d::CCPoint *)v157); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v161, (const cocos2d::CCPoint *)v158); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v165, (const cocos2d::CCPoint *)v159); cocos2d::CCLayerColor::addToVertices(v53, v160, v161, v165); } else { if ( v144 ) v66 = 0.0; else v66 = v60; v67 = *v53; if ( v148 ) v60 = 0.0; v68 = *(void (__fastcall **)(int *, _BYTE *))(v67 + 92); v69 = *(int (__fastcall **)(int *))(v67 + 96); v145 = v68; if ( v56 ) v62 = 0.0; if ( MainObject ) v65 = 0.0; v70 = v69(v53); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v161, v66, v62); cocos2d::CCPoint::operator-(v165, v70, v161); v145(v53, v165); if ( (float)(v66 + v60) != 0.0 ) { v71 = v150; v72 = COERCE_FLOAT((*(int (__fastcall **)(int *))(*v53 + 68))(v53)); v73 = *(void (__fastcall **)(int *, _DWORD))(*v53 + 64); v74 = v71 * v72; v75 = COERCE_FLOAT((*(int (__fastcall **)(int *))(*v53 + 68))(v53)); v73(v53, v75 * (float)((float)((float)(v74 + v66) + v60) / v74)); } if ( (float)(v62 + v65) != 0.0 ) { v76 = v151; v77 = COERCE_FLOAT((*(int (__fastcall **)(int *))(*v53 + 76))(v53)); v78 = *(void (__fastcall **)(int *, _DWORD))(*v53 + 72); v79 = v76 * v77; v80 = COERCE_FLOAT((*(int (__fastcall **)(int *))(*v53 + 76))(v53)); v78(v53, v80 * (float)((float)((float)(v79 + v62) + v65) / v79)); } } } if ( v52 ) v83 = *(_DWORD *)(v52 + 272); else v83 = 0; v51 = v52; v52 = v83; } } } for ( i = 0; i != 3; ++i ) { if ( i ) { if ( i == 1 ) v84 = *((_DWORD *)this + 607); else v84 = *((_DWORD *)this + 608); } else { v84 = *((_DWORD *)this + 606); } v85 = (*(int (__fastcall **)(int))(*(_DWORD *)v84 + 244))(v84); if ( v85 ) { v89 = *(_DWORD **)(v85 + 52); if ( *v89 ) { v90 = (int *)v89[3]; v91 = &v90[*v89 - 1]; while ( v90 <= v91 ) { v93 = *v90++; v92 = v93; if ( !v93 ) break; v146 = v92; v94 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v92 + 92); v95 = (*(int (__fastcall **)(int))(*(_DWORD *)v92 + 96))(v92); cocos2d::CCPoint::operator+(v165, v95, v155); v94(v146, v165); } } } (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v84 + 92))(v84, v152); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v84 + 180))(v84, *((_DWORD *)this + 177)); } (*(void (__fastcall **)(_DWORD, unsigned int))(**((_DWORD **)this + 2813) + 180))( *((_DWORD *)this + 2813), *((_DWORD *)this + 177) ^ 0x80000000); v86 = *((_DWORD *)this + 2813); v87 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v86 + 92); v88 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v86 + 256))(v86); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v165, v88); v87(v86, v165); } cocos2d::CCRect::CCRect((cocos2d::CCRect *)v165); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v159); v123 = *((_DWORD *)this + 2678); if ( v123 ) { v124 = *(unsigned __int8 *)(v123 + 950); if ( *(_BYTE *)(v123 + 950) ) { if ( *(int *)(v123 + 940) > 0 ) { cocos2d::CCRect::operator=(v165, *((_DWORD *)this + 612) + 336); v134 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 96))(*((_DWORD *)this + 612)); cocos2d::CCPoint::operator=(v159, v134); cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v166, (const cocos2d::CCRect *)v165); v135 = 100.0 / (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 612) + 84))(*((_DWORD *)this + 612)); if ( v142 ) v136 = 1; else v136 = *((float *)this + 177) == 0.0; v137 = *((_DWORD *)this + 612); v166 = v166 - v135; v167 = v167 - v135; v138 = 1.0; v168 = v168 + (float)(v135 + v135); if ( v136 ) v138 = 2.0; v169 = v169 + (float)(v135 * v138); (*(void (__fastcall **)(int, float *))(*(_DWORD *)v137 + 568))(v137, &v166); v139 = *((_DWORD *)this + 612); v140 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v139 + 92); if ( v136 ) v141 = -100.0; else v141 = 0.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v160, -100.0, v141); cocos2d::CCPoint::operator+(v161, v159, v160); v124 = 1; v140(v139, v161); } else { v124 = 0; } } } else { v124 = 0; } if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 2698) + 176))(*((_DWORD *)this + 2698)) ) GJBaseGameLayer::visitWithColorFlash(this); else cocos2d::CCNode::visit(this); if ( v124 ) { (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 612) + 568))(*((_DWORD *)this + 612), v165); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 612) + 92))(*((_DWORD *)this + 612), v159); } if ( *((float *)this + 177) != 0.0 ) { for ( j = 0; j != 3; ++j ) { if ( j ) { if ( j == 1 ) v126 = *((_DWORD *)this + 607); else v126 = *((_DWORD *)this + 608); } else { v126 = *((_DWORD *)this + 606); } v127 = (*(int (__fastcall **)(int))(*(_DWORD *)v126 + 244))(v126); if ( v127 ) { v128 = *(_DWORD **)(v127 + 52); if ( *v128 ) { v129 = (int *)v128[3]; v130 = &v129[*v128 - 1]; while ( v129 <= v130 ) { v132 = *v129++; v131 = v132; if ( !v132 ) break; v147 = v131; v143 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v131 + 92); v133 = (*(int (__fastcall **)(int))(*(_DWORD *)v131 + 96))(v131); cocos2d::CCPoint::operator+(&v166, v133, v152); v143(v147, &v166); } } } (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v126 + 180))(v126, 0); (*(void (__fastcall **)(int, void *))(*(_DWORD *)v126 + 92))(v126, &unk_D2C400); } (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 2813) + 180))(*((_DWORD *)this + 2813), 0); (*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 2813) + 92))(*((_DWORD *)this + 2813), &unk_D2C400); } (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 612) + 568))(*((_DWORD *)this + 612), v162); result = (*(int (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 612) + 92))(*((_DWORD *)this + 612), v153); if ( v149 ) return GJBaseGameLayer::flipObjects(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source