// // PlayerObject::playSpiderDashEffect from 0x1003fb5b0 to 0x1003fbd87 (2007 bytes) // // 1 xrefs: // > PlayerObject::spiderTestJumpInternal @ 0x1003fb499 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:00 +0000 // void __fastcall PlayerObject::playSpiderDashEffect(__int64 a1, float *a2, float *a3) { float v4; // xmm0_4 char v5; // r13 char *v6; // r12 __int64 v7; // rax __int16 v8; // cx __int64 v9; // rax __int64 v10; // rcx __int64 v11; // rax char *v12; // r12 __int64 v13; // rax __int16 v14; // cx __int64 v15; // rax __int64 v16; // rcx __int64 v17; // rax char *v18; // r12 __int64 v19; // rax __int16 v20; // cx __int64 v21; // rax __int64 v22; // rcx __int64 v23; // rax _OWORD *v24; // rax __int64 v25; // r12 char *v26; // rax __int64 v27; // r12 __int64 v28; // xmm0_8 __int64 v29; // xmm1_8 __int64 v30; // rax __int64 v31; // rax float v32; // xmm0_4 float *v33; // rax float v34; // xmm1_4 float v35; // xmm0_4 __int64 v36; // r14 __int64 v37; // r13 __int64 v38; // rax const char *CString; // rax __int64 v40; // rax __int64 v41; // r13 __int64 v42; // rax const char *v43; // rax __int64 v44; // rax __int64 v45; // r13 __int64 v46; // rax const char *v47; // rax __int64 v48; // rax __int64 v49; // r13 __int64 v50; // rax const char *v51; // rax __int64 v52; // rax __int64 v53; // r13 __int64 v54; // rax const char *v55; // rax __int64 v56; // rax __int64 v57; // r13 __int64 v58; // rax const char *v59; // rax __int64 v60; // rax __int64 v61; // r13 __int64 v62; // rax const char *v63; // rax __int64 v64; // rax __int64 v65; // r13 __int64 v66; // rax const char *v67; // rax __int64 v68; // rax _QWORD *v69; // rax char *v70; // r14 __int64 v71; // rax __int64 v72; // rax char v73; // [rsp+0h] [rbp-40h] char v74; // [rsp+0h] [rbp-40h] char v75; // [rsp+0h] [rbp-40h] char v76; // [rsp+0h] [rbp-40h] char v77; // [rsp+0h] [rbp-40h] char v78; // [rsp+0h] [rbp-40h] char v79; // [rsp+0h] [rbp-40h] char v80; // [rsp+0h] [rbp-40h] float v81[12]; // [rsp+10h] [rbp-30h] BYREF if ( *(_BYTE *)(a1 + 1972) == 1 && !*(_BYTE *)(a1 + 1787) ) { if ( *(_BYTE *)(a1 + 2426) ) v4 = -7.5; else v4 = 7.5; v5 = *(_BYTE *)(a1 + 2427); *a2 = *a2 + v4; *a3 = v4 + *a3; if ( !*(_BYTE *)(GameManager::sharedState() + 925) ) { *a3 = *a3 + 6.0; v6 = CCCircleWave::create(0, 0, (float)(*(float *)(a1 + 2472) * 10.0) * 1.3, 1.0, 0.15000001); v7 = 3 * (*(unsigned __int8 *)(a1 + 2649) ^ 1LL); v8 = *(_WORD *)(a1 + v7 + 2602); v6[342] = *(_BYTE *)(a1 + v7 + 2604); *((_WORD *)v6 + 170) = v8; (*(void (__fastcall **)(char *, float *))(*(_QWORD *)v6 + 184LL))(v6, a2); (*(void (__fastcall **)(_QWORD, char *, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))(*(_QWORD *)(a1 + 3024), v6, 0); v9 = *(_QWORD *)(GameManager::sharedState() + 544); v10 = v9 + 13992; if ( !v9 ) v10 = 0; *((_QWORD *)v6 + 46) = v10; v11 = GameManager::sharedState(); PlayLayer::addCircle(*(_QWORD *)(v11 + 544), (__int64)v6); *((_DWORD *)v6 + 90) = 1054280254; v12 = CCCircleWave::create(0, 0, (float)(*(float *)(a1 + 2472) * 20.0) * 1.3, 2.0, 0.25); v13 = 3 * (*(unsigned __int8 *)(a1 + 2649) ^ 1LL); v14 = *(_WORD *)(a1 + v13 + 2602); v12[342] = *(_BYTE *)(a1 + v13 + 2604); *((_WORD *)v12 + 170) = v14; (*(void (__fastcall **)(char *, float *))(*(_QWORD *)v12 + 184LL))(v12, a3); (*(void (__fastcall **)(_QWORD, char *, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))( *(_QWORD *)(a1 + 3024), v12, 0); v15 = *(_QWORD *)(GameManager::sharedState() + 544); v16 = v15 + 13992; if ( !v15 ) v16 = 0; *((_QWORD *)v12 + 46) = v16; v17 = GameManager::sharedState(); PlayLayer::addCircle(*(_QWORD *)(v17 + 544), (__int64)v12); *((_DWORD *)v12 + 90) = 1062668862; v18 = CCCircleWave::create(0, 0, 10.0 * *(float *)(a1 + 2472), (float)(*(float *)(a1 + 2472) * 30.0) * 1.5, 0.25); v19 = 3 * (*(unsigned __int8 *)(a1 + 2649) ^ 1LL); v20 = *(_WORD *)(a1 + v19 + 2602); v18[342] = *(_BYTE *)(a1 + v19 + 2604); *((_WORD *)v18 + 170) = v20; (*(void (__fastcall **)(char *, float *))(*(_QWORD *)v18 + 184LL))(v18, a3); (*(void (__fastcall **)(_QWORD, char *, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))( *(_QWORD *)(a1 + 3024), v18, 0); v21 = *(_QWORD *)(GameManager::sharedState() + 544); v22 = v21 + 13992; if ( !v21 ) v22 = 0; *((_QWORD *)v18 + 46) = v22; v23 = GameManager::sharedState(); PlayLayer::addCircle(*(_QWORD *)(v23 + 544), (__int64)v18); *((_DWORD *)v18 + 88) = 1; } *(_BYTE *)(a1 + 2026) = -1; *(_WORD *)(a1 + 2024) = -1; *(_BYTE *)(a1 + 2029) = -1; *(_WORD *)(a1 + 2027) = -1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 960LL))(a1, a1 + 2024); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1808) + 960LL))(*(_QWORD *)(a1 + 1808), a1 + 2027); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1840) + 960LL))(*(_QWORD *)(a1 + 1840), a1 + 2027); GJRobotSprite::updateColor02( *(_QWORD *)(a1 + 2136), *(unsigned __int16 *)(a1 + 2027) | (*(unsigned __int8 *)(a1 + 2029) << 16)); GJRobotSprite::updateColor02( *(_QWORD *)(a1 + 2144), *(unsigned __int16 *)(a1 + 2027) | (*(unsigned __int8 *)(a1 + 2029) << 16)); *(_QWORD *)(a1 + 2008) = *(_QWORD *)(a1 + 2624); *(_QWORD *)(a1 + 2016) = 0x3D4CCCCD3E99999ALL; cocos2d::CCNode::stopActionByTag(*(_QWORD *)(a1 + 2144), 10); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 2144) + 160LL))(*(_QWORD *)(a1 + 2144), 0.40000001); v24 = cocos2d::CCScaleTo::create_1((__m128)0x3EE66666u, 1.0); v25 = cocos2d::CCEaseElasticOut::create(v24, 0.34999999); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v25 + 72LL))(v25, 10); cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 2144), v25); if ( *(_BYTE *)(a1 + 1972) == 1 ) { v26 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"spiderDash_002.png", COERCE_DOUBLE(1051931443)); v27 = (__int64)v26; if ( *(_BYTE *)(a1 + 2423) ) { v28 = 1127481344; v29 = 1119092736; v30 = *(_QWORD *)v26; if ( !*(_BYTE *)(a1 + 2427) ) goto LABEL_21; } else { v28 = 0; v29 = 3266576384LL; v30 = *(_QWORD *)v26; if ( !*(_BYTE *)(a1 + 2427) ) LABEL_21: v28 = v29; } (*(void (__fastcall **)(__int64, double, double))(v30 + 360))(v27, *(double *)&v28, *(double *)&v29); v31 = GameManager::sharedState(); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(*(_QWORD *)(v31 + 544) + 3920LL) + 464LL))( *(_QWORD *)(*(_QWORD *)(v31 + 544) + 3920LL), v27, 40); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v27 + 1080LL))(v27, 0x100000302LL); v32 = fabs(a2[v5 == 0] - a3[v5 == 0]) + 30.0; v73 = LOBYTE(v32); v33 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v27 + 328LL))(v27); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v27 + 128LL))(v27, v32 / *v33); if ( *(_BYTE *)(a1 + 2427) ) { v34 = a2[1]; v35 = (float)((float)(*a3 - *a2) * 0.5) + *a2; } else { v35 = *a2; v34 = (float)((float)(a3[1] - a2[1]) * 0.5) + a2[1]; } sub_100278250(v81, v35, v34); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v27 + 184LL))(v27, v81); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v27 + 960LL))( v27, a1 + 3 * (*(unsigned __int8 *)(a1 + 2649) ^ 1LL) + 2602); v36 = sub_1007FE900(v27); v37 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v38 = sub_10088E820("spiderDash_%03d.png", v73); CString = (const char *)cocos2d::CCString::getCString(v38); v40 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v37, CString); sub_1007FEBF0(v36, v40); v41 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v42 = sub_10088E820("spiderDash_%03d.png", v74); v43 = (const char *)cocos2d::CCString::getCString(v42); v44 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v41, v43); sub_1007FEBF0(v36, v44); v45 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v46 = sub_10088E820("spiderDash_%03d.png", v75); v47 = (const char *)cocos2d::CCString::getCString(v46); v48 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v45, v47); sub_1007FEBF0(v36, v48); v49 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v50 = sub_10088E820("spiderDash_%03d.png", v76); v51 = (const char *)cocos2d::CCString::getCString(v50); v52 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v49, v51); sub_1007FEBF0(v36, v52); v53 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v54 = sub_10088E820("spiderDash_%03d.png", v77); v55 = (const char *)cocos2d::CCString::getCString(v54); v56 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v53, v55); sub_1007FEBF0(v36, v56); v57 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v58 = sub_10088E820("spiderDash_%03d.png", v78); v59 = (const char *)cocos2d::CCString::getCString(v58); v60 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v57, v59); sub_1007FEBF0(v36, v60); v61 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v62 = sub_10088E820("spiderDash_%03d.png", v79); v63 = (const char *)cocos2d::CCString::getCString(v62); v64 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v61, v63); sub_1007FEBF0(v36, v64); v65 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v66 = sub_10088E820("spiderDash_%03d.png", v80); v67 = (const char *)cocos2d::CCString::getCString(v66); v68 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v65, v67); sub_1007FEBF0(v36, v68); v69 = cocos2d::CCAnimation::createWithSpriteFrames(v36, 0.039999999); v70 = cocos2d::CCAnimate::create((__int64)v69); v71 = cocos2d::CCCallFunc::create(v27, 537, 0); v72 = sub_10039EB60((__int64)v70, v71, 0); cocos2d::CCNode::runAction(v27, v72); } } if ( !*(_BYTE *)(a1 + 1787) && (*(_BYTE *)(a1 + 2422) != 1 || !*(_BYTE *)(a1 + 2832)) ) cocos2d::CCParticleSystem::resetSystem(*(_QWORD *)(a1 + 2160)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source