// // GameObject::playShineEffect from 0x1401993b0 to 0x14019ab22 (6002 bytes) // // 14 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x1402100aa // > GJBaseGameLayer::teleportPlayer @ 0x1402101ab // > GJBaseGameLayer::collisionCheckObjects @ 0x140214cd9 // > GJBaseGameLayer::collisionCheckObjects @ 0x140214d96 // > GJBaseGameLayer::collisionCheckObjects @ 0x140214e5b // > GJBaseGameLayer::collisionCheckObjects @ 0x140214f48 // > GJBaseGameLayer::collisionCheckObjects @ 0x1402155df // > GJBaseGameLayer::collisionCheckObjects @ 0x140215665 // > GJBaseGameLayer::collisionCheckObjects @ 0x1402156f8 // > GJBaseGameLayer::collisionCheckObjects @ 0x14021578b // > GJBaseGameLayer::collisionCheckObjects @ 0x140215815 // > GJBaseGameLayer::collisionCheckObjects @ 0x1402158bb // > EffectGameObject::triggerObject @ 0x1404a68fd // > @ 0x1406cbcf4 // // 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 // // Hidden C++ exception states: #wind=22 void GameObject::playShineEffect(GameObject *a1) { float v1; // xmm3_4 GameObject *v2; // r12 unsigned __int64 v3; // rdi int m_objectID; // ecx size_t v5; // rsi unsigned __int64 v6; // r12 void **v7; // rcx unsigned __int64 v8; // rax char *v9; // r15 int v10; // r13d char *v11; // rdi bool v12; // cc void *v13; // rcx unsigned __int64 v14; // rdi char *v15; // r9 void **v16; // rdx size_t v17; // r8 __int64 v18; // r8 __int64 v19; // r9 void *v20; // rcx size_t v21; // rsi unsigned __int64 v22; // r12 void **v23; // rcx unsigned __int64 v24; // rax char *v25; // r15 int v26; // r13d char *v27; // rdi void *v28; // rcx unsigned __int64 v29; // rdi char *v30; // r9 void **v31; // rdx size_t v32; // r8 size_t v33; // rsi unsigned __int64 v34; // r12 void **v35; // rcx unsigned __int64 v36; // rax char *v37; // r15 int v38; // r13d char *v39; // rdi void *v40; // rcx unsigned __int64 v41; // rdi char *v42; // r9 void **v43; // rdx size_t v44; // r8 size_t v45; // rsi unsigned __int64 v46; // r12 void **v47; // rcx unsigned __int64 v48; // rax char *v49; // r15 int v50; // r13d char *v51; // rdi void **v52; // rdx size_t v53; // r8 unsigned __int64 v54; // rdi char *v55; // r9 unsigned __int8 v56; // bl char *v57; // rax char *v58; // rax char *v59; // rax char *v60; // rax int v61; // ecx int v62; // ecx int v63; // ecx int v64; // ecx char *v65; // rax char *v66; // rax char *v67; // rax char *v68; // rax int v69; // ecx int v70; // ecx int v71; // ecx int v72; // ecx char *v73; // rax char *v74; // rax char *v75; // rax char *v76; // rax size_t v77; // rsi unsigned __int64 v78; // r12 void **v79; // rcx unsigned __int64 v80; // rax char *v81; // r15 int v82; // r13d char *v83; // rdi void *v84; // rcx unsigned __int64 v85; // rdi char *v86; // r9 void **v87; // rdx size_t v88; // r8 int v89; // r15d int v90; // esi __int128 *p_Src; // rax __int128 *v92; // r14 unsigned __int64 v93; // rdi unsigned __int64 v94; // rax unsigned __int64 v95; // rbx const char *v96; // rcx CCSpritePlus *v97; // rdi __int64 v98; // rax unsigned int v99; // ebx __int64 v100; // rax CCSpritePlus_vtbl *v101; // rbx __int64 v102; // rax CCSpritePlus_vtbl *v103; // rbx CCSpritePlus_vtbl *v104; // rbx bool isFlipX; // al CCSpritePlus_vtbl *v106; // rbx bool isFlipY; // al CCSpritePlus_vtbl *v108; // rbx CCSpritePlus_vtbl *v109; // rbx double v110; // xmm0_8 CCSpritePlus *v111; // r14 __int64 v112; // rdi CCSpritePlus *v113; // rsi CCSpritePlus_vtbl *v114; // rbx float *v115; // rax const cocos2d::CCPoint *v116; // rax int v117; // r13d CCSpritePlus *v118; // r15 __int64 v119; // rcx cocos2d::CCObject *v120; // rax struct cocos2d::CCFadeIn *v121; // r14 struct cocos2d::CCFadeOut *v122; // rsi __int64 v123; // rdi __int64 v124; // rax struct cocos2d::CCSequence *v125; // rax cocos2d::ccColor3B *v126; // r8 float v127; // xmm1_4 CCCircleWave *v128; // rsi CCCircleWave_vtbl *v129; // rbx __int64 v130; // rax __int64 v131; // r14 __int64 v132; // rax __int64 *v133; // rbx __int64 v134; // rdi int v135; // eax cocos2d::CCObject *m_target; // rcx CCCircleWave_vtbl *v137; // rbx __int64 v138; // rax __int64 v139; // rdx CCCircleWaveDelegate *v140; // rcx CCCircleWaveDelegate *v141; // rax char v142; // [rsp+38h] [rbp-D0h] char v143; // [rsp+39h] [rbp-CFh] __int16 v144; // [rsp+3Ch] [rbp-CCh] CCSpritePlus *v145; // [rsp+40h] [rbp-C8h] void **v146; // [rsp+48h] [rbp-C0h] void **v147; // [rsp+48h] [rbp-C0h] void **v148; // [rsp+48h] [rbp-C0h] void **v149; // [rsp+48h] [rbp-C0h] void **v150; // [rsp+48h] [rbp-C0h] CCSpritePlus *v151; // [rsp+48h] [rbp-C0h] int v153; // [rsp+50h] [rbp-B8h] void *v154; // [rsp+58h] [rbp-B0h] void *v155; // [rsp+60h] [rbp-A8h] BYREF CCSpritePlus *Block; // [rsp+68h] [rbp-A0h] void *Block_8[2]; // [rsp+70h] [rbp-98h] BYREF __int64 v158; // [rsp+80h] [rbp-88h] unsigned __int64 v159; // [rsp+88h] [rbp-80h] __int64 v160; // [rsp+90h] [rbp-78h] BYREF __int64 v161; // [rsp+98h] [rbp-70h] __int64 v162; // [rsp+A0h] [rbp-68h] __int64 v163; // [rsp+A8h] [rbp-60h] __int128 v164; // [rsp+B0h] [rbp-58h] BYREF __int64 v165; // [rsp+C0h] [rbp-48h] __int64 v166; // [rsp+C8h] [rbp-40h] __int128 Src; // [rsp+D0h] [rbp-38h] BYREF __int64 v168; // [rsp+E0h] [rbp-28h] __int64 v169; // [rsp+E8h] [rbp-20h] void *v170[2]; // [rsp+F0h] [rbp-18h] BYREF unsigned __int64 v171; // [rsp+100h] [rbp-8h] unsigned __int64 v172; // [rsp+108h] [rbp+0h] void *v173[2]; // [rsp+110h] [rbp+8h] BYREF unsigned __int64 v174; // [rsp+120h] [rbp+18h] unsigned __int64 v175; // [rsp+128h] [rbp+20h] void *v176[2]; // [rsp+130h] [rbp+28h] BYREF unsigned __int64 v177; // [rsp+140h] [rbp+38h] unsigned __int64 v178; // [rsp+148h] [rbp+40h] void *v179[2]; // [rsp+150h] [rbp+48h] BYREF unsigned __int64 v180; // [rsp+160h] [rbp+58h] unsigned __int64 v181; // [rsp+168h] [rbp+60h] void *v182[2]; // [rsp+170h] [rbp+68h] BYREF unsigned __int64 v183; // [rsp+180h] [rbp+78h] unsigned __int64 v184; // [rsp+188h] [rbp+80h] v2 = a1; v3 = 0; if ( a1->hasBeenActivated(a1) || !v2->getOpacity(&v2->cocos2d::CCRGBAProtocol) || v2->m_hasNoEffects || v2->m_editorEnabled || !v2->getParent(v2) ) { return; } v164 = 0; v165 = 0; v166 = 15; LOBYTE(v164) = 0; Src = 0; v168 = 0; v169 = 15; LOBYTE(Src) = 0; v143 = 0; m_objectID = v2->m_objectID; if ( m_objectID <= 286 ) { if ( m_objectID != 286 ) { switch ( m_objectID ) { case 10: case 11: goto LABEL_113; case 12: case 13: case 47: case 111: goto LABEL_114; case 45: case 46: v56 = 1; v57 = (char *)sub_14003AA10(0x20u); v165 = 28; v166 = 31; strcpy(v57, "portalshine_03_front_001.png"); *(_QWORD *)&v164 = v57; v58 = (char *)sub_14003AA10(0x20u); v168 = 27; v169 = 31; strcpy(v58, "portalshine_03_back_001.png"); *(_QWORD *)&Src = v58; goto LABEL_142; case 99: case 101: v56 = 1; v59 = (char *)sub_14003AA10(0x20u); v165 = 28; v166 = 31; strcpy(v59, "portalshine_04_front_001.png"); *(_QWORD *)&v164 = v59; v60 = (char *)sub_14003AA10(0x20u); v168 = 27; v169 = 31; strcpy(v60, "portalshine_04_back_001.png"); *(_QWORD *)&Src = v60; goto LABEL_142; case 200: *(_OWORD *)v170 = 0; v172 = 15; v170[0] = sub_14003AA10(0x20u); v171 = 16; v172 = 31; strcpy((char *)v170[0], "boost_01_001.png"); v161 = 0; v162 = 8; v163 = 15; v160 = *(_QWORD *)"_001.png"; v5 = 14; v158 = 14; v6 = 15; v159 = 15; strcpy((char *)Block_8, "_shine_001.png"); HIBYTE(Block_8[1]) = 0; while ( 2 ) { v7 = v170; if ( v172 > 0xF ) v7 = (void **)v170[0]; v146 = v7; if ( v171 < 8 ) break; v8 = v171 - 8; if ( v3 > v171 - 8 ) break; v9 = (char *)v7 + v8; v10 = (char)v160; v11 = (char *)memchr((char *)v7 + v3, (char)v160, v8 + 1 - v3); if ( !v11 ) break; while ( memcmp(v11, &v160, 8u) ) { v11 = (char *)memchr(v11 + 1, v10, v9 - v11); if ( !v11 ) goto LABEL_17; } v14 = v11 - (char *)v146; if ( v14 != -1 ) { v15 = (char *)Block_8; if ( v6 > 0xF ) v15 = (char *)Block_8[0]; sub_140041FF0(v170, v14, 8u, v15, v5); v5 = v158; v3 = v158 + v14; v6 = v159; continue; } break; } LABEL_17: v12 = v6 <= 0xF; v2 = a1; if ( !v12 ) { v13 = Block_8[0]; if ( v159 + 1 >= 0x1000 ) { v13 = *((void **)Block_8[0] - 1); if ( (unsigned __int64)((char *)Block_8[0] - (char *)v13 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v13); } v16 = v170; if ( v172 > 0xF ) v16 = (void **)v170[0]; v17 = -1; do ++v17; while ( *((_BYTE *)v16 + v17) ); sub_14003CCE0((void **)&v164, v16, v17); if ( v172 <= 0xF ) goto LABEL_141; v20 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v20 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v20 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } goto LABEL_140; case 201: *(_OWORD *)v176 = 0; v177 = 0; v178 = 15; v176[0] = sub_14003AA10(0x20u); v177 = 16; v178 = 31; strcpy((char *)v176[0], "boost_02_001.png"); v161 = 0; v162 = 8; v163 = 15; v160 = *(_QWORD *)"_001.png"; v21 = 14; v158 = 14; v22 = 15; v159 = 15; strcpy((char *)Block_8, "_shine_001.png"); HIBYTE(Block_8[1]) = 0; while ( 2 ) { v23 = v176; if ( v178 > 0xF ) v23 = (void **)v176[0]; v147 = v23; if ( v177 < 8 ) break; v24 = v177 - 8; if ( v3 > v177 - 8 ) break; v25 = (char *)v23 + v24; v26 = (char)v160; v27 = (char *)memchr((char *)v23 + v3, (char)v160, v24 + 1 - v3); if ( !v27 ) break; while ( memcmp(v27, &v160, 8u) ) { v27 = (char *)memchr(v27 + 1, v26, v25 - v27); if ( !v27 ) goto LABEL_42; } v29 = v27 - (char *)v147; if ( v29 != -1 ) { v30 = (char *)Block_8; if ( v22 > 0xF ) v30 = (char *)Block_8[0]; sub_140041FF0(v176, v29, 8u, v30, v21); v21 = v158; v3 = v158 + v29; v22 = v159; continue; } break; } LABEL_42: v12 = v22 <= 0xF; v2 = a1; if ( !v12 ) { v28 = Block_8[0]; if ( v159 + 1 >= 0x1000 ) { v28 = *((void **)Block_8[0] - 1); if ( (unsigned __int64)((char *)Block_8[0] - (char *)v28 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v28); } v31 = v176; if ( v178 > 0xF ) v31 = (void **)v176[0]; v32 = -1; do ++v32; while ( *((_BYTE *)v31 + v32) ); sub_14003CCE0((void **)&v164, v31, v32); sub_14003A830((__int64)v176); goto LABEL_141; case 202: *(_OWORD *)v179 = 0; v180 = 0; v181 = 15; v179[0] = sub_14003AA10(0x20u); v180 = 16; v181 = 31; strcpy((char *)v179[0], "boost_03_001.png"); v161 = 0; v162 = 8; v163 = 15; v160 = *(_QWORD *)"_001.png"; v33 = 14; v158 = 14; v34 = 15; v159 = 15; strcpy((char *)Block_8, "_shine_001.png"); HIBYTE(Block_8[1]) = 0; while ( 2 ) { v35 = v179; if ( v181 > 0xF ) v35 = (void **)v179[0]; v148 = v35; if ( v180 < 8 ) break; v36 = v180 - 8; if ( v3 > v180 - 8 ) break; v37 = (char *)v35 + v36; v38 = (char)v160; v39 = (char *)memchr((char *)v35 + v3, (char)v160, v36 + 1 - v3); if ( !v39 ) break; while ( memcmp(v39, &v160, 8u) ) { v39 = (char *)memchr(v39 + 1, v38, v37 - v39); if ( !v39 ) goto LABEL_64; } v41 = v39 - (char *)v148; if ( v41 != -1 ) { v42 = (char *)Block_8; if ( v34 > 0xF ) v42 = (char *)Block_8[0]; sub_140041FF0(v179, v41, 8u, v42, v33); v33 = v158; v3 = v158 + v41; v34 = v159; continue; } break; } LABEL_64: v12 = v34 <= 0xF; v2 = a1; if ( !v12 ) { v40 = Block_8[0]; if ( v159 + 1 >= 0x1000 ) { v40 = *((void **)Block_8[0] - 1); if ( (unsigned __int64)((char *)Block_8[0] - (char *)v40 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v40); } v43 = v179; if ( v181 > 0xF ) v43 = (void **)v179[0]; v44 = -1; do ++v44; while ( *((_BYTE *)v43 + v44) ); sub_14003CCE0((void **)&v164, v43, v44); sub_14003A830((__int64)v179); goto LABEL_141; case 203: *(_OWORD *)v182 = 0; v183 = 0; v184 = 15; v182[0] = sub_14003AA10(0x20u); v183 = 16; v184 = 31; strcpy((char *)v182[0], "boost_04_001.png"); v161 = 0; v162 = 8; v163 = 15; v160 = *(_QWORD *)"_001.png"; v45 = 14; v158 = 14; v46 = 15; v159 = 15; strcpy((char *)Block_8, "_shine_001.png"); HIBYTE(Block_8[1]) = 0; LABEL_79: v47 = v182; if ( v184 > 0xF ) v47 = (void **)v182[0]; v149 = v47; if ( v183 < 8 ) goto LABEL_86; v48 = v183 - 8; if ( v3 > v183 - 8 ) goto LABEL_86; v49 = (char *)v47 + v48; v50 = (char)v160; v51 = (char *)memchr((char *)v47 + v3, (char)v160, v48 + 1 - v3); if ( !v51 ) goto LABEL_86; break; default: goto LABEL_210; } while ( memcmp(v51, &v160, 8u) ) { v51 = (char *)memchr(v51 + 1, v50, v49 - v51); if ( !v51 ) goto LABEL_86; } v54 = v51 - (char *)v149; if ( v54 != -1 ) { v55 = (char *)Block_8; if ( v46 > 0xF ) v55 = (char *)Block_8[0]; sub_140041FF0(v182, v54, 8u, v55, v45); v45 = v158; v3 = v158 + v54; v46 = v159; goto LABEL_79; } LABEL_86: v12 = v46 <= 0xF; v2 = a1; if ( !v12 ) std::string::_Deallocate_for_capacity((__int64)v47, Block_8[0], v159); sub_14003A830((__int64)&v160); v52 = v182; if ( v184 > 0xF ) v52 = (void **)v182[0]; v53 = -1; do ++v53; while ( *((_BYTE *)v52 + v53) ); sub_14003CCE0((void **)&v164, v52, v53); sub_14003A830((__int64)v182); LABEL_141: v56 = 0; v143 = 1; goto LABEL_142; } LABEL_107: v56 = 1; v67 = (char *)sub_14003AA10(0x20u); v165 = 28; v166 = 31; strcpy(v67, "portalshine_05_front_001.png"); *(_QWORD *)&v164 = v67; v68 = (char *)sub_14003AA10(0x20u); v168 = 27; v169 = 31; strcpy(v68, "portalshine_05_back_001.png"); *(_QWORD *)&Src = v68; goto LABEL_142; } if ( m_objectID <= 1331 ) { if ( m_objectID != 1331 ) { v61 = m_objectID - 287; if ( !v61 ) goto LABEL_107; v62 = v61 - 373; if ( v62 ) { v63 = v62 - 85; if ( v63 ) { v64 = v63 - 2; if ( v64 && v64 != 2 ) goto LABEL_210; goto LABEL_106; } } } LABEL_114: v56 = 1; v75 = (char *)sub_14003AA10(0x20u); v165 = 28; v166 = 31; strcpy(v75, "portalshine_02_front_001.png"); *(_QWORD *)&v164 = v75; v76 = (char *)sub_14003AA10(0x20u); v168 = 27; v169 = 31; strcpy(v76, "portalshine_02_back_001.png"); *(_QWORD *)&Src = v76; goto LABEL_142; } v69 = m_objectID - 1334; if ( !v69 ) { *(_OWORD *)v173 = 0; v174 = 0; v175 = 15; v173[0] = sub_14003AA10(0x20u); v174 = 16; v175 = 31; strcpy((char *)v173[0], "boost_05_001.png"); v161 = 0; v162 = 8; v163 = 15; v160 = *(_QWORD *)"_001.png"; v77 = 14; v158 = 14; v78 = 15; v159 = 15; strcpy((char *)Block_8, "_shine_001.png"); HIBYTE(Block_8[1]) = 0; while ( 1 ) { v79 = v173; if ( v175 > 0xF ) v79 = (void **)v173[0]; v150 = v79; if ( v174 < 8 ) break; v80 = v174 - 8; if ( v3 > v174 - 8 ) break; v81 = (char *)v79 + v80; v82 = (char)v160; v83 = (char *)memchr((char *)v79 + v3, (char)v160, v80 + 1 - v3); if ( !v83 ) break; while ( memcmp(v83, &v160, 8u) ) { v83 = (char *)memchr(v83 + 1, v82, v81 - v83); if ( !v83 ) goto LABEL_123; } v85 = v83 - (char *)v150; if ( v85 == -1 ) break; v86 = (char *)Block_8; if ( v78 > 0xF ) v86 = (char *)Block_8[0]; sub_140041FF0(v173, v85, 8u, v86, v77); v77 = v158; v3 = v158 + v85; v78 = v159; } LABEL_123: v12 = v78 <= 0xF; v2 = a1; if ( !v12 ) { v84 = Block_8[0]; if ( v159 + 1 >= 0x1000 ) { v84 = *((void **)Block_8[0] - 1); if ( (unsigned __int64)((char *)Block_8[0] - (char *)v84 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v84); } v87 = v173; if ( v175 > 0xF ) v87 = (void **)v173[0]; v88 = -1; do ++v88; while ( *((_BYTE *)v87 + v88) ); sub_14003CCE0((void **)&v164, v87, v88); if ( v175 > 0xF ) { v20 = v173[0]; if ( v175 + 1 >= 0x1000 ) { v20 = *((void **)v173[0] - 1); if ( (unsigned __int64)((char *)v173[0] - (char *)v20 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } LABEL_140: j_j_free(v20); } goto LABEL_141; } v70 = v69 - 599; if ( !v70 ) goto LABEL_114; v71 = v70 - 131; if ( !v71 || (v72 = v71 - 838) == 0 ) { LABEL_106: v56 = 1; v65 = (char *)sub_14003AA10(0x20u); v165 = 28; v166 = 31; strcpy(v65, "portalshine_06_front_001.png"); *(_QWORD *)&v164 = v65; v66 = (char *)sub_14003AA10(0x20u); v168 = 27; v169 = 31; strcpy(v66, "portalshine_06_back_001.png"); *(_QWORD *)&Src = v66; goto LABEL_142; } if ( v72 != 24 ) goto LABEL_210; LABEL_113: v56 = 1; v73 = (char *)sub_14003AA10(0x20u); v165 = 28; v166 = 31; strcpy(v73, "portalshine_01_front_001.png"); *(_QWORD *)&v164 = v73; v74 = (char *)sub_14003AA10(0x20u); v168 = 27; v169 = 31; strcpy(v74, "portalshine_01_back_001.png"); *(_QWORD *)&Src = v74; LABEL_142: switch ( v2->m_objectID ) { case 0xC8: v144 = -1; v142 = 0; break; case 0xC9: LABEL_147: v142 = -1; v144 = -27136; break; case 0xCA: v142 = -106; v144 = -256; break; case 0xCB: v142 = -1; v144 = 255; break; case 0x536: v142 = 50; v144 = 13055; break; default: goto LABEL_147; } Block = nullptr; v151 = nullptr; v145 = nullptr; v89 = v56 + 1; v153 = v89; v90 = 0; do { p_Src = &v164; if ( v90 ) p_Src = &Src; *(_OWORD *)Block_8 = 0; v158 = 0; v159 = 0; v92 = p_Src; if ( *((_QWORD *)p_Src + 3) > 0xFu ) v92 = *(__int128 **)p_Src; v93 = *((_QWORD *)p_Src + 2); if ( v93 > 0x7FFFFFFFFFFFFFFFLL ) sub_140007B50(&Src, 22, v18, v19); v94 = 15; v159 = 15; if ( v93 > 0xF ) { v95 = v93 | 0xF; if ( (v93 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { if ( v95 < 0x16 ) v95 = 22; } else { v95 = 0x7FFFFFFFFFFFFFFFLL; } Block_8[0] = sub_14003AA10(v95 + 1); v158 = v93; v159 = v95; memcpy(Block_8[0], v92, v93 + 1); v94 = v159; } else { v158 = v93; *(_OWORD *)Block_8 = *v92; } v96 = (const char *)Block_8; if ( v94 > 0xF ) v96 = (const char *)Block_8[0]; v97 = CCSpritePlus::createWithSpriteFrameName(v96); if ( v90 ) { v99 = 5; } else { v98 = (__int64)v2->getParent(v2); v99 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v98 + 96LL))(v98) + 1; } v100 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v154 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v154); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v100 = qword_1406C2ED8; } (*(void (__fastcall **)(_QWORD, CCSpritePlus *, _QWORD))(**(_QWORD **)(*(_QWORD *)(v100 + 520) + 4072LL) + 440LL))( *(_QWORD *)(*(_QWORD *)(v100 + 520) + 4072LL), v97, v99); v101 = v97->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v102 = ((__int64 (__fastcall *)(GameObject *, void **))v2->getRealPosition)(v2, &v155); v101->setPosition_0(v97, (const cocos2d::CCPoint *)v102); v103 = v97->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v2->getRotation(v2); ((void (__fastcall *)(CCSpritePlus *))v103->setRotation)(v97); v104 = v97->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; isFlipX = cocos2d::CCSprite::isFlipX(v2); v104->setFlipX(v97, isFlipX); v106 = v97->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; isFlipY = cocos2d::CCSprite::isFlipY(v2); v106->setFlipY(v97, isFlipY); v108 = v97->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v2->getScaleX(v2); ((void (__fastcall *)(CCSpritePlus *))v108->setScaleX)(v97); v109 = v97->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v110 = ((double (__fastcall *)(GameObject *))v2->getScaleY)(v2); ((void (__fastcall *)(CCSpritePlus *))v109->setScaleY)(v97); if ( v90 ) { v151 = v97; v111 = Block; } else { v111 = v97; Block = v97; } sub_14003A830((__int64)Block_8); ++v90; } while ( v90 < v89 ); v112 = (__int64)v2->getChildByTag(v2, 91); if ( v112 ) { v113 = CCSpritePlus::createWithSpriteFrameName("portal_extra_shine_001.png"); v145 = v113; v114 = v113->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v112 + 304LL))(v112); v115 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v112 + 304LL))(v112); cocos2d::CCPoint::CCPoint(*(float *)&v110, *v115 * 0.5); v114->setPosition_0(v113, v116); (*(void (__fastcall **)(__int64, CCSpritePlus *, __int64))(*(_QWORD *)v112 + 440LL))(v112, v113, 1); v153 = v89 + 1; } else { v113 = nullptr; } v117 = 0; do { if ( v117 ) { if ( v117 == 1 ) { v118 = v151; v151->setOpacity(&v151->cocos2d::CCRGBAProtocol, 0); } else { v118 = v113; v113->setOpacity(&v113->cocos2d::CCRGBAProtocol, 0); if ( v117 == 2 ) goto LABEL_188; } } else { v118 = v111; v111->setOpacity(&v111->cocos2d::CCRGBAProtocol, 0); } v118->m_followingSprite = v2; v2->m_hasFollower = 1; if ( !v2->m_followers ) { v120 = (cocos2d::CCObject *)cocos2d::CCArray::create(v119); v2->m_followers = (cocos2d::CCArray *)v120; cocos2d::CCObject::retain(v120); } cocos2d::CCArray::addObject(v2->m_followers, v118); LABEL_188: ((void (__fastcall *)(cocos2d::CCTextureProtocol *, __int64))v118->setBlendFunc)( &v118->cocos2d::CCTextureProtocol, 0x100000302LL); v121 = cocos2d::CCFadeIn::create(0.050000001); v122 = cocos2d::CCFadeOut::create(0.40000001); v123 = cocos2d::CCCallFunc::create(v118, CCSpritePlus::removeFollower); v124 = cocos2d::CCCallFunc::create(v118, sub_14003BE70); v125 = cocos2d::CCSequence::create(v121, v122, v123, v124); cocos2d::CCNode::runAction((CCLightFlash *)v118, (cocos2d::CCPoint)v125, v126, v1, 0.0); ++v117; v111 = Block; v113 = v145; } while ( v117 < v153 ); if ( v143 ) { v127 = 70.0; if ( v2->m_objectID == 200 ) { v127 = 60.0; } else if ( v2->m_objectID == 201 ) { v127 = 65.0; } else if ( v2->m_objectID != 202 ) { if ( v2->m_objectID == 203 ) { v127 = 80.0; } else if ( v2->m_objectID == 1334 ) { v127 = 90.0; } } v128 = CCCircleWave::create(5.0, v127, 0.30000001, 0, 1); *(_WORD *)&v128->m_color.r = v144; v128->m_color.b = v142; v129 = v128->__vftable; v130 = (__int64)v2->getPosition_0(v2); v129->setPosition_0(v128, (const cocos2d::CCPoint *)v130); if ( v2->getParent(v2) ) { v131 = (__int64)v2->getParent(v2); v132 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v155 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v155); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v132 = qword_1406C2ED8; } v133 = *(__int64 **)(*(_QWORD *)(v132 + 520) + 4072LL); v134 = *v133; v135 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v131 + 96LL))(v131); (*(void (__fastcall **)(__int64 *, CCCircleWave *, _QWORD))(v134 + 440))(v133, v128, (unsigned int)(v135 - 1)); } v128->m_circleMode = Outline; v128->m_lineWidth = 6; m_target = v128->m_target; if ( m_target ) cocos2d::CCObject::release(m_target); v128->m_target = v2; cocos2d::CCObject::retain(v2); cocos2d::CCNode::unschedule(v128, CCCircleWave::updatePosition); v137 = v128->__vftable; v138 = (__int64)v128->m_target->getPosition_0(v128->m_target); v137->setPosition_0(v128, (const cocos2d::CCPoint *)v138); v139 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v155 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v155); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v139 = qword_1406C2ED8; } v140 = *(CCCircleWaveDelegate **)(v139 + 520); v141 = v140 + 1780; if ( !v140 ) v141 = nullptr; v128->m_delegate = v141; cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(*(_QWORD *)(v139 + 520) + 14520LL), v128); } LABEL_210: sub_14003A830((__int64)&Src); sub_14003A830((__int64)&v164); }
GD Web Decomp Icon

GD Web Decomp

Raw Source