// // PlayerObject::spiderTestJumpX from 0x10040ed60 to 0x10040fc1e (3774 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall PlayerObject::spiderTestJumpX(PlayerObject *a1, bool a2) { GJBaseGameLayer *m_gameLayer; // r12 int v4; // eax unsigned __int64 *v5; // rax __m128 *v6; // r14 cocos2d::CCArray *v8; // r15 cocos2d::CCArray *v9; // r13 int (__cdecl *v10)(const void *, const void *); // rcx int (__cdecl *v11)(const void *, const void *); // rcx double v12; // xmm0_8 double *v13; // rsi double v14; // xmm0_8 double v15; // xmm1_8 unsigned int v16; // r12d unsigned int v17; // eax __int64 v18; // r14 bool m_isUpsideDown; // r13 __int64 v20; // rdi double v21; // xmm0_8 unsigned int *v22; // rax double v23; // xmm0_8 unsigned int v24; // r14d __int64 v25; // rax unsigned __int64 *v26; // rax int v27; // eax __int64 v28; // rax char v29; // al float v30; // xmm0_4 __int64 v31; // rax __int32 v32; // xmm0_4 _BOOL8 v33; // rax bool v34; // r14 double *v35; // rax __m128d v36; // xmm0 double v37; // xmm1_8 __m128d v38; // xmm3 float v39; // xmm0_4 CCCircleWave *v40; // r14 __int64 v41; // rax __int16 v42; // cx PlayLayer *m_playLayer; // rax CCCircleWaveDelegate *v44; // rcx GameManager *v45; // rax CCCircleWave *v46; // r15 __int64 v47; // rax __int16 v48; // cx PlayLayer *v49; // rax CCCircleWaveDelegate *v50; // rcx GameManager *v51; // rax CCCircleWave *v52; // r15 __int64 v53; // rax __int16 v54; // cx PlayLayer *v55; // rax CCCircleWaveDelegate *v56; // rcx GameManager *v57; // rax cocos2d::CCScaleTo *v58; // rax cocos2d::CCEaseElasticOut *v59; // r14 cocos2d::CCSprite *v60; // r14 __int64 v61; // xmm0_8 GameManager *v62; // rax __m128 v63; // xmm0 __m128 v64; // xmm0 float *v65; // rax cocos2d::ccColor3B *v66; // rsi cocos2d::CCArray *v67; // r15 cocos2d::CCSpriteFrameCache *v68; // r13 cocos2d::CCString *v69; // rax const char *CString; // rax cocos2d::CCSpriteFrame *v71; // rax cocos2d::CCSpriteFrameCache *v72; // r13 cocos2d::CCString *v73; // rax const char *v74; // rax cocos2d::CCSpriteFrame *v75; // rax cocos2d::CCSpriteFrameCache *v76; // r13 cocos2d::CCString *v77; // rax const char *v78; // rax cocos2d::CCSpriteFrame *v79; // rax cocos2d::CCSpriteFrameCache *v80; // r13 cocos2d::CCString *v81; // rax const char *v82; // rax cocos2d::CCSpriteFrame *v83; // rax cocos2d::CCSpriteFrameCache *v84; // r13 cocos2d::CCString *v85; // rax const char *v86; // rax cocos2d::CCSpriteFrame *v87; // rax cocos2d::CCSpriteFrameCache *v88; // r13 cocos2d::CCString *v89; // rax const char *v90; // rax cocos2d::CCSpriteFrame *v91; // rax cocos2d::CCSpriteFrameCache *v92; // r13 cocos2d::CCString *v93; // rax const char *v94; // rax cocos2d::CCSpriteFrame *v95; // rax cocos2d::CCSpriteFrameCache *v96; // r13 cocos2d::CCString *v97; // rax const char *v98; // rax cocos2d::CCSpriteFrame *v99; // rax cocos2d::CCAnimation *v100; // rax cocos2d::CCAnimate *v101; // r15 cocos2d::CCCallFunc *v102; // rax cocos2d::CCSequence *v103; // rax GJBaseGameLayer *v104; // rdi char v105; // [rsp-C8h] [rbp-C8h] char v106; // [rsp-C8h] [rbp-C8h] char v107; // [rsp-C8h] [rbp-C8h] char v108; // [rsp-C8h] [rbp-C8h] char v109; // [rsp-C8h] [rbp-C8h] char v110; // [rsp-C8h] [rbp-C8h] char v111; // [rsp-C8h] [rbp-C8h] char v112; // [rsp-C8h] [rbp-C8h] __m128 v113; // [rsp-C0h] [rbp-C0h] BYREF __m128 v114; // [rsp-B0h] [rbp-B0h] BYREF __int64 v115; // [rsp-A0h] [rbp-A0h] BYREF __m128 v116; // [rsp-98h] [rbp-98h] BYREF cocos2d::CCArray *v117; // [rsp-88h] [rbp-88h] __m128 v118; // [rsp-80h] [rbp-80h] BYREF __m128 v119; // [rsp-70h] [rbp-70h] BYREF float MinPortalY; // [rsp-60h] [rbp-60h] float MaxPortalY; // [rsp-5Ch] [rbp-5Ch] __m128 v122; // [rsp-58h] [rbp-58h] __m128 v123; // [rsp-48h] [rbp-48h] BYREF int v124; // [rsp-38h] [rbp-38h] int v125; // [rsp-34h] [rbp-34h] __int64 v126; // [rsp-8h] [rbp-8h] BYREF cocos2d::CCRect v127; // 0:xmm0_8.8,8:xmm1_8.8 if ( a1->m_isDead || a1->m_isLocked || a1->m_maybeReducedEffects ) return; v122.i32[0] = a2; m_gameLayer = a1->m_gameLayer; MinPortalY = GJBaseGameLayer::getMinPortalY(m_gameLayer); MaxPortalY = GJBaseGameLayer::getMaxPortalY(m_gameLayer); if ( !m_gameLayer->m_gameState.m_isFreeMode && (a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing || a1->m_isBall || a1->m_isSpider) ) { v125 = 0; } else { MinPortalY = 90.0; LOBYTE(v4) = 1; v125 = v4; MaxPortalY = 2490.0; } v5 = (unsigned __int64 *)((__int64 (__fastcall *)(PlayerObject *))a1->getObjectRect)(a1); sub_10028D180(&v116, v5); sub_10028D180(&v118, (unsigned __int64 *)&v116); if ( a1->m_isUpsideDown ) { v118.f32[3] = (float)(v118.f32[1] - MinPortalY) + 2.0; v118.f32[1] = MinPortalY; } else { v118.f32[1] = (float)(v118.f32[3] + -2.0) + v118.f32[1]; v118.f32[3] = MaxPortalY - v118.f32[1]; } v6 = &v114; sub_10028D180(&v114, (unsigned __int64 *)&v118); v114.i32[2] = v116.i32[2]; v114.i32[0] = v116.i32[0]; sub_10028D180(&v113, (unsigned __int64 *)&v114); v113.f32[2] = v113.f32[2] + 4.0; v114.f32[2] = a1->m_vehicleSize * 8.0; v114.f32[0] = (float)((float)(v118.f32[2] - v114.f32[2]) * 0.5) + v114.f32[0]; v127.size.height = 0.0; v127.size.width = (float)(v116.f32[2] * 0.5) + 1.0; v118.f32[2] = v127.size.width; v118.f32[0] = (float)(v116.f32[2] * 0.5) + v118.f32[0]; *(double *)&v127.origin = sub_10028D180(&v123, (unsigned __int64 *)&v118); v8 = GJBaseGameLayer::staticObjectsInRect(m_gameLayer, v127, (unsigned __int8)&v126 - 64); *(double *)&v127.origin = sub_10028D180(&v123, (unsigned __int64 *)&v114); v9 = GJBaseGameLayer::damagingObjectsInRect(m_gameLayer, v127, (unsigned __int8)&v126 - 64); if ( !(unsigned int)sub_100720070(v8) ) { v27 = sub_100720070(v9); LOBYTE(v6) = 1; if ( !(v122.i8[0] | (v27 != 0)) ) goto LABEL_19; goto LABEL_18; } LOBYTE(v6) = 1; if ( v122.i8[0] ) { LABEL_18: *(double *)&v127.origin = sub_10028D180(&v123, (unsigned __int64 *)&v113); v8 = GJBaseGameLayer::staticObjectsInRect(m_gameLayer, v127, (unsigned __int8)&v126 - 64); LODWORD(v6) = 0; } LABEL_19: if ( (unsigned int)sub_100720070(v8) ) { v10 = (int (__cdecl *)(const void *, const void *))sub_1003FA1C0; if ( a1->m_isUpsideDown ) v10 = (int (__cdecl *)(const void *, const void *))sub_1003FA220; qsort(v8->data->arr, v8->data->num, 8u, v10); } if ( (unsigned int)sub_100720070(v9) ) { v11 = (int (__cdecl *)(const void *, const void *))sub_1003FA1C0; if ( a1->m_isUpsideDown ) v11 = (int (__cdecl *)(const void *, const void *))sub_1003FA220; qsort(v9->data->arr, v9->data->num, 8u, v11); } if ( !(unsigned int)sub_100720070(v8) ) { if ( (unsigned int)sub_100720070(v9) ) { v28 = sub_1007200C0(v9, 0); (*(void (__fastcall **)(__m128 *, __int64))(*(_QWORD *)v28 + 1344LL))(&v123, v28); LODWORD(v15) = v123.i32[1]; v29 = 1; if ( v123.f32[1] == 0.0 ) goto LABEL_52; } else { v29 = 0; v30 = v116.f32[3] * 0.5; if ( !a1->m_isUpsideDown ) goto LABEL_57; LABEL_53: *(float *)&v15 = MinPortalY + v30; } LABEL_54: v122.i32[0] = LODWORD(v15); if ( !v29 ) goto LABEL_58; goto LABEL_65; } v12 = sub_10028D180(&v123, (unsigned __int64 *)&v116); v13 = (double *)((__int64 (__fastcall *)(PlayerObject *, double))a1->getPosition)(a1, v12); v14 = sub_10028CC60(&v115, v13); v15 = 0.0; if ( !(unsigned int)sub_100720070(v8) ) goto LABEL_51; v124 = (int)v6; v16 = 0; v117 = v9; do { v18 = sub_1007200C0(v8, v16); m_isUpsideDown = a1->m_isUpsideDown; v20 = (*(__int64 (__fastcall **)(__int64, double, double))(*(_QWORD *)v18 + 1312LL))(v18, v14, v15); if ( m_isUpsideDown ) { v21 = sub_10028D280(v20); *(_QWORD *)&v15 = v116.u32[3]; *(float *)&v15 = v116.f32[3] * 0.5; } else { v21 = sub_10028D2C0(v20); *(_QWORD *)&v15 = v116.u32[3]; *(float *)&v15 = v116.f32[3] * -0.5; } *(float *)&v15 = *(float *)&v15 + *(float *)&v21; v122.i32[0] = LODWORD(v15); *(_QWORD *)&v14 = HIDWORD(v115); if ( a1->m_isUpsideDown ) { *(float *)&v14 = *((float *)&v115 + 1) + 10.0; if ( (float)(*((float *)&v115 + 1) + 10.0) < v122.f32[0] ) goto LABEL_30; } else { *(float *)&v14 = *((float *)&v115 + 1) + -10.0; *(_QWORD *)&v15 = v122.u32[0]; if ( v122.f32[0] < (float)(*((float *)&v115 + 1) + -10.0) ) goto LABEL_30; } v22 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 1312LL))(v18); v23 = sub_10028D270(v22); if ( *(float *)&v23 <= *(float *)&v115 || !(unsigned int)sub_100720070(v8) ) { LABEL_50: LODWORD(v15) = v122.i32[0]; LOBYTE(v6) = v124; v9 = v117; goto LABEL_51; } v24 = 0; while ( 1 ) { v25 = sub_1007200C0(v8, v24); if ( v16 != v24 ) { v123.f32[1] = (float)(v116.f32[3] * -0.5) + v122.f32[0]; v26 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 1312LL))(v25); sub_10028D180(&v119, v26); *(_QWORD *)&v14 = v119.u32[1]; *(_QWORD *)&v15 = v119.u32[3]; *(float *)&v15 = v119.f32[3] + -4.0; v119.f32[3] = v119.f32[3] + -4.0; *(float *)&v14 = v119.f32[1] + 2.0; v119.f32[1] = v119.f32[1] + 2.0; if ( sub_10028D320(v119.f32, v123.f32) ) break; } if ( ++v24 >= (unsigned int)sub_100720070(v8) ) goto LABEL_50; } LABEL_30: ++v16; v17 = sub_100720070(v8); v9 = v117; } while ( v16 < v17 ); LOBYTE(v6) = v124; LODWORD(v15) = 0; LABEL_51: v29 = 0; if ( *(float *)&v15 != 0.0 ) goto LABEL_54; LABEL_52: v30 = v116.f32[3] * 0.5; if ( a1->m_isUpsideDown ) goto LABEL_53; LABEL_57: v122.f32[0] = MaxPortalY - v30; if ( !v29 ) { LABEL_58: if ( (unsigned int)sub_100720070(v9) ) { v31 = sub_1007200C0(v9, 0); (*(void (__fastcall **)(__m128 *, __int64))(*(_QWORD *)v31 + 1344LL))(&v123, v31); v32 = v123.i32[1]; v33 = v122.f32[0] > v123.f32[1]; if ( a1->m_isUpsideDown ) LOBYTE(v33) = v123.f32[1] > v122.f32[0]; v34 = v33 & (unsigned __int8)v6; if ( !v33 ) v32 = v122.i32[0]; v122.i32[0] = v32; if ( v34 ) { PlayerObject::spiderTestJump(a1, 1); return; } } } LABEL_65: v35 = (double *)((__int64 (__fastcall *)(PlayerObject *))a1->getPosition)(a1); sub_10028CC60(&v123, v35); sub_10028CBE0(v119.f32, v123.f32[0], v122.f32[0]); ((void (__fastcall *)(PlayerObject *, __m128 *))a1->setPosition)(a1, &v119); PlayerObject::flipGravity(a1, !a1->m_isUpsideDown, 1); if ( a1->m_isUpsideDown ) v36 = (__m128d)0x3FF0000000000000uLL; else v36 = (__m128d)0xBFF0000000000000LL; v37 = _mm_cvtepi32_pd(_mm_cvttpd_epi32(v36)).f64[0]; if ( v36.f64[0] != v37 ) { v36.f64[0] = (v36.f64[0] - v37) * 1000.0; v38 = _mm_or_pd(_mm_and_pd((__m128d)xmmword_100816590, v36), (__m128d)xmmword_100816960); v38.f64[0] = v38.f64[0] + v36.f64[0]; v36.f64[0] = _mm_round_sd((__m128d)0LL, v38, 11).f64[0] / 1000.0 + v37; } a1->m_yVelocity = v36.f64[0]; a1->m_isOnGround3 = 0; a1->m_jumpBuffered = 0; cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogTop); cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogBottom); cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogLeft); cocos2d::CCDictionary::removeAllObjects(a1->m_collisionLogRight); *(_OWORD *)&a1->m_lastCollisionBottom = -1; *(_QWORD *)&a1->m_unk50C = -1; LODWORD(a1->m_position.y) = v119.i32[1]; a1->m_lastSpiderFlipTime = a1->m_totalTime; if ( a1->m_playEffects && !a1->m_isHidden ) { if ( a1->m_isGoingLeft ) v39 = -7.5; else v39 = 7.5; v123.f32[0] = v123.f32[0] + v39; v119.f32[0] = v39 + v119.f32[0]; if ( !GameManager::sharedState()->m_performanceMode ) { v119.f32[0] = v119.f32[0] + 6.0; v40 = CCCircleWave::create((float)(a1->m_vehicleSize * 10.0) * 1.3, 1.0, 0.15000001, 0, 0); v41 = 3 * !a1->m_swapColors; v42 = *(_WORD *)(&a1->m_playerColor1.r + v41); v40->m_color.b = *(&a1->m_playerColor1.b + v41); *(_WORD *)&v40->m_color.r = v42; ((void (__fastcall *)(CCCircleWave *, __m128 *))v40->setPosition)(v40, &v123); ((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, _QWORD))a1->m_parentLayer->addChild_0)( a1->m_parentLayer, v40, 0); m_playLayer = GameManager::sharedState()->m_playLayer; v44 = &m_playLayer->CCCircleWaveDelegate; if ( !m_playLayer ) v44 = nullptr; v40->m_delegate = v44; v45 = GameManager::sharedState(); PlayLayer::addCircle(v45->m_playLayer, v40); v40->m_opacityMod = 0.42000002; v46 = CCCircleWave::create((float)(a1->m_vehicleSize * 20.0) * 1.3, 2.0, 0.25, 0, 0); v47 = 3 * !a1->m_swapColors; v48 = *(_WORD *)(&a1->m_playerColor1.r + v47); v46->m_color.b = *(&a1->m_playerColor1.b + v47); *(_WORD *)&v46->m_color.r = v48; ((void (__fastcall *)(CCCircleWave *, __m128 *))v46->setPosition)(v46, &v119); ((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, _QWORD))a1->m_parentLayer->addChild_0)( a1->m_parentLayer, v46, 0); v49 = GameManager::sharedState()->m_playLayer; v50 = &v49->CCCircleWaveDelegate; if ( !v49 ) v50 = nullptr; v46->m_delegate = v50; v51 = GameManager::sharedState(); PlayLayer::addCircle(v51->m_playLayer, v46); v46->m_opacityMod = 0.84000003; v52 = CCCircleWave::create(10.0 * a1->m_vehicleSize, (float)(a1->m_vehicleSize * 30.0) * 1.5, 0.25, 0, 0); v53 = 3 * !a1->m_swapColors; v54 = *(_WORD *)(&a1->m_playerColor1.r + v53); v52->m_color.b = *(&a1->m_playerColor1.b + v53); *(_WORD *)&v52->m_color.r = v54; ((void (__fastcall *)(CCCircleWave *, __m128 *))v52->setPosition)(v52, &v119); ((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, _QWORD))a1->m_parentLayer->addChild_0)( a1->m_parentLayer, v52, 0); v55 = GameManager::sharedState()->m_playLayer; v56 = &v55->CCCircleWaveDelegate; if ( !v55 ) v56 = nullptr; v52->m_delegate = v56; v57 = GameManager::sharedState(); PlayLayer::addCircle(v57->m_playLayer, v52); v52->m_circleMode = Outline; } a1->m_flashMainColor.b = -1; *(_WORD *)&a1->m_flashMainColor.r = -1; a1->m_flashSecondColor.b = -1; *(_WORD *)&a1->m_flashSecondColor.r = -1; ((void (__fastcall *)(PlayerObject *, cocos2d::ccColor3B *))a1->setColor)(a1, &a1->m_flashMainColor); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::ccColor3B *))a1->m_iconSpriteSecondary->setColor)( a1->m_iconSpriteSecondary, &a1->m_flashSecondColor); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::ccColor3B *))a1->m_vehicleSpriteSecondary->setColor)( a1->m_vehicleSpriteSecondary, &a1->m_flashSecondColor); GJRobotSprite::updateColor02( a1->m_robotSprite, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a1->m_flashSecondColor.r | (a1->m_flashSecondColor.b << 16))); GJRobotSprite::updateColor02( a1->m_spiderSprite, (cocos2d::ccColor3B)(*(unsigned __int16 *)&a1->m_flashSecondColor.r | (a1->m_flashSecondColor.b << 16))); a1->m_flashTime = a1->m_totalTime; *(_QWORD *)&a1->m_flashDuration = 0x3D4CCCCD3E99999ALL; cocos2d::CCNode::stopActionByTag(a1->m_spiderSprite, 10); ((void (__fastcall *)(GJSpiderSprite *, float))a1->m_spiderSprite->setScale)(a1->m_spiderSprite, 0.40000001); v58 = cocos2d::CCScaleTo::create_1(0.44999999, 1.0); v59 = cocos2d::CCEaseElasticOut::create(v58, 0.34999999); ((void (__fastcall *)(cocos2d::CCEaseElasticOut *, __int64))v59->setTag)(v59, 10); cocos2d::CCNode::runAction(a1->m_spiderSprite, v59); if ( a1->m_playEffects ) { v60 = cocos2d::CCSprite::createWithSpriteFrameName("spiderDash_002.png"); if ( a1->m_isUpsideDown ) v61 = 1119092736; else v61 = 3266576384LL; ((void (__fastcall *)(cocos2d::CCSprite *, double))v60->setRotation)(v60, *(double *)&v61); v62 = GameManager::sharedState(); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSprite *, __int64))v62->m_playLayer->m_objectLayer->addChild_0)( v62->m_playLayer->m_objectLayer, v60, 40); ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v60->setBlendFunc)(v60, 0x100000302LL); v63 = (__m128)v123.u32[1]; v63.f32[0] = v123.f32[1] - v119.f32[1]; v64 = _mm_and_ps(v63, (__m128)xmmword_100815500); v64.f32[0] = v64.f32[0] + 30.0; v122 = v64; v65 = (float *)((__int64 (__fastcall *)(cocos2d::CCSprite *))v60->getContentSize)(v60); ((void (__fastcall *)(cocos2d::CCSprite *, float))v60->setScaleX)(v60, v122.f32[0] / *v65); sub_10028CBE0((float *)&v115, v123.f32[0], (float)((float)(v119.f32[1] - v123.f32[1]) * 0.5) + v123.f32[1]); ((void (__fastcall *)(cocos2d::CCSprite *, __int64 *))v60->setPosition)(v60, &v115); v66 = &a1->m_playerColor1 + !a1->m_swapColors; ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::ccColor3B *))v60->setColor)(v60, v66); v67 = (cocos2d::CCArray *)sub_10071F9E0(v60, v66); v68 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v69 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v105); CString = cocos2d::CCString::getCString(v69); v71 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v68, CString); sub_10071FCD0(v67, v71); v72 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v73 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v106); v74 = cocos2d::CCString::getCString(v73); v75 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v72, v74); sub_10071FCD0(v67, v75); v76 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v77 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v107); v78 = cocos2d::CCString::getCString(v77); v79 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v76, v78); sub_10071FCD0(v67, v79); v80 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v81 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v108); v82 = cocos2d::CCString::getCString(v81); v83 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v80, v82); sub_10071FCD0(v67, v83); v84 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v85 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v109); v86 = cocos2d::CCString::getCString(v85); v87 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v84, v86); sub_10071FCD0(v67, v87); v88 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v89 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v110); v90 = cocos2d::CCString::getCString(v89); v91 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v88, v90); sub_10071FCD0(v67, v91); v92 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v93 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v111); v94 = cocos2d::CCString::getCString(v93); v95 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v92, v94); sub_10071FCD0(v67, v95); v96 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v97 = (cocos2d::CCString *)sub_1007AB580("spiderDash_%03d.png", v112); v98 = cocos2d::CCString::getCString(v97); v99 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v96, v98); sub_10071FCD0(v67, v99); v100 = cocos2d::CCAnimation::createWithSpriteFrames(v67, 0.039999999); v101 = cocos2d::CCAnimate::create(v100); v102 = cocos2d::CCCallFunc::create(v60, (cocos2d::SEL_CallFunc)0x209uLL); v103 = sub_1003B5760(v101, v102, 0); cocos2d::CCNode::runAction(v60, v103); } } if ( !a1->m_isHidden && (!a1->m_isSpider || !a1->m_isPlatformer) ) cocos2d::CCParticleSystem::resetSystem(a1->m_playerGroundParticles); if ( (_BYTE)v125 ) { v104 = a1->m_gameLayer; if ( v104 ) GJBaseGameLayer::checkCameraLimitAfterTeleport(v104, a1, 60.0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source