// // PlayerObject::updateDashArt from 0x1404f43c0 to 0x1404f4850 (1168 bytes) // // 14 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x14031695a // > GJBaseGameLayer::collisionCheckObjects @ 0x14031c2c7 // > PlayerObject::startDashing @ 0x1404f3f2d // > PlayerObject::rotateGameplay @ 0x1404f840b // > PlayerObject::toggleFlyMode @ 0x1404f8aaf // > PlayerObject::toggleBirdMode @ 0x1404f8da5 // > PlayerObject::toggleSwingMode @ 0x1404f9062 // > PlayerObject::toggleDartMode @ 0x1404f958b // > PlayerObject::toggleRollMode @ 0x1404f99ac // > PlayerObject::toggleRobotMode @ 0x1404f9d41 // > PlayerObject::toggleSpiderMode @ 0x1404fa063 // > @ 0x1408d4eec // > @ 0x1408d4f20 // > @ 0x14092a02c // // 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 11:33:20 +0000 // void __fastcall PlayerObject::updateDashArt(__int64 a1) { __int64 *v2; // rdi float v3; // xmm6_4 __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rax __int64 v7; // rcx __int64 v8; // rax __int64 v9; // rcx __int64 v10; // rax float v11; // xmm6_4 float *v12; // rax float v13; // xmm1_4 float v14; // xmm0_4 float v15; // xmm0_4 struct cocos2d::CCActionInterval *v16; // rax struct cocos2d::CCAction *v17; // rbx struct cocos2d::CCActionInterval *v18; // rax struct cocos2d::CCAction *v19; // rbx __int64 v20; // [rsp+20h] [rbp-48h] BYREF __int64 v21; // [rsp+28h] [rbp-40h] __int64 v22; // [rsp+30h] [rbp-38h] __int64 v23; // [rsp+38h] [rbp-30h] char v24; // [rsp+70h] [rbp+8h] BYREF if ( !*(_BYTE *)(a1 + 2540) ) return; cocos2d::CCNode::stopActionByTag(*(cocos2d::CCNode **)(a1 + 1856), 12); cocos2d::CCNode::stopActionByTag(*(cocos2d::CCNode **)(a1 + 1880), 12); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1856) + 352LL))(*(_QWORD *)(a1 + 1856)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1880) + 352LL))(*(_QWORD *)(a1 + 1880)); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1); cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(a1 + 1640)); v2 = *(__int64 **)(a1 + 1640); v3 = 1.0; v4 = *v2; if ( *(_BYTE *)(a1 + 2497) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 0.0, -2.0); (*(void (__fastcall **)(__int64 *, __int64))(v4 + 184))(v2, v5); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 120LL))(*(_QWORD *)(a1 + 1640)); LABEL_10: (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 136LL))(*(_QWORD *)(a1 + 1640)); goto LABEL_11; } if ( *(_BYTE *)(a1 + 2498) ) goto LABEL_9; if ( !*(_BYTE *)(a1 + 2501) ) { if ( *(_BYTE *)(a1 + 2502) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 0.0); (*(void (__fastcall **)(__int64 *, __int64))(v4 + 184))(v2, v8); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 120LL))(*(_QWORD *)(a1 + 1640)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 136LL))(*(_QWORD *)(a1 + 1640)); v9 = *(_QWORD *)(a1 + 2224); v21 = 112; v22 = 9; v20 = 0x6F6F6C5F6C6C6166LL; v23 = 15; CCAnimatedSprite::runAnimation(v9, (__int64)&v20); goto LABEL_11; } LABEL_9: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 0.0, 0.0); (*(void (__fastcall **)(__int64 *, __int64))(v4 + 184))(v2, v10); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 120LL))(*(_QWORD *)(a1 + 1640)); goto LABEL_10; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 1.0, 0.0); (*(void (__fastcall **)(__int64 *, __int64))(v4 + 184))(v2, v6); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 120LL))(*(_QWORD *)(a1 + 1640)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1640) + 136LL))(*(_QWORD *)(a1 + 1640)); v7 = *(_QWORD *)(a1 + 2216); v21 = 112; v22 = 9; v20 = 0x6F6F6C5F6C6C6166LL; v23 = 15; CCAnimatedSprite::runAnimation(v7, (__int64)&v20); LABEL_11: if ( !*(_BYTE *)(a1 + 2497) && !*(_BYTE *)(a1 + 2498) && !*(_BYTE *)(a1 + 2500) && !*(_BYTE *)(a1 + 2508) && !*(_BYTE *)(a1 + 2501) && !*(_BYTE *)(a1 + 2502) ) { (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1856) + 160LL))(*(_QWORD *)(a1 + 1856)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1880) + 160LL))(*(_QWORD *)(a1 + 1880)); if ( *(_BYTE *)(a1 + 2507) != *(_BYTE *)(a1 + 2503) ) v3 = -1.0; v11 = (float)(v3 * 288.0) * *(float *)(a1 + 2956); if ( *(_BYTE *)(a1 + 2936) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, *(double *)(a1 + 1392), *(double *)(a1 + 1400)); v13 = (float)(v12[1] * v12[1]) + (float)(*v12 * *v12); if ( v13 < 0.0 ) v14 = sqrtf(v13); else v14 = fsqrt(v13); if ( v14 <= 17.310005 ) v15 = (float)((float)(v14 / 17.310005) * 1.7) + 0.30000001; else v15 = 2.0; v11 = v11 * v15; } v16 = cocos2d::CCRotateBy::create(0.30000001, v11); v17 = cocos2d::CCRepeatForever::create(v16); (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v17 + 64LL))(v17, 12); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 1856), v17); v18 = cocos2d::CCRotateBy::create(0.30000001, v11); v19 = cocos2d::CCRepeatForever::create(v18); (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v19 + 64LL))(v19, 12); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 1880), v19); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source