// // PlayerObject::updateDashAnimation from 0x1002b9324 to 0x1002b94c8 (420 bytes) // // 1 xrefs: // > PlayerObject::update @ 0x1002b6c44 // // This function is hookable on this platform (idp: arm, 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:02:25 +0000 // void __fastcall PlayerObject::updateDashAnimation(__int64 a1) { float v2; // s0 int v3; // w21 __int64 v4; // x0 __int64 v5; // x20 __int64 v6; // x0 __int64 CString; // x22 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x21 __int64 v11; // x23 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // x0 __int64 v16; // x0 double *v17; // x0 float v18; // [xsp+10h] [xbp-50h] BYREF __int64 v19; // [xsp+18h] [xbp-48h] BYREF v2 = *(double *)(a1 + 2624) / (float)((float)(0.04 / *(float *)(a1 + 2476)) * (float)((float)((float)(fabsf((*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1632) + 368LL))(*(_QWORD *)(a1 + 1632))) / -70.0) * 0.4) + 1.0)); v3 = (int)vcvtms_s32_f32(v2) % 12 + 1; if ( v3 != *(_DWORD *)(a1 + 2464) ) { *(_DWORD *)(a1 + 2464) = v3; v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1632) + 488LL))(*(_QWORD *)(a1 + 1632)); v5 = sub_1002E75A0(v4, 0); v6 = sub_1003065B0("playerDash2_%03d.png", v3); CString = cocos2d::CCString::getCString(v6); v8 = sub_1003065B0("playerDash2_outline_%03d.png", v3); v9 = cocos2d::CCString::getCString(v8); if ( CString ) { v10 = v9; v11 = *(_QWORD *)(a1 + 1632); v12 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v9); v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, CString); v14 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 1160LL))(v11, v13); v15 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v14); v16 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v15, v10); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 1160LL))(v5, v16); v17 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1632) + 328LL))(*(_QWORD *)(a1 + 1632)); sub_100026438(&v19, v17); sub_1000262BC(&v18, *(float *)&v19 * 0.5, *((float *)&v19 + 1) * 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v18); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source