// // PlayerObject::updateDashAnimation from 0x1003ee9d0 to 0x1003eeb87 (439 bytes) // // 1 xrefs: // > PlayerObject::update @ 0x1003eaf4c // // 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:29:52 +0000 // __int64 __fastcall PlayerObject::updateDashAnimation(__int64 a1) { double v1; // xmm1_8 __m128 v2; // xmm0 __int64 result; // rax int v4; // r15d __int64 v5; // rax __int64 v6; // r14 __int64 v7; // rax const char *CString; // r12 __int64 v9; // rax const char *v10; // r15 __int64 v11; // r13 __int64 v12; // rax __int64 v13; // rax __int64 v14; // rax __int64 v15; // rax _QWORD *v16; // rax char v17; // [rsp+0h] [rbp-40h] char v18; // [rsp+0h] [rbp-40h] float v19[2]; // [rsp+4h] [rbp-3Ch] BYREF __int64 v20; // [rsp+Ch] [rbp-34h] BYREF float v21; // [rsp+14h] [rbp-2Ch] v21 = 0.039999999 / *(float *)(a1 + 2476); v1 = *(double *)(a1 + 2624) / (float)((float)((float)((float)(fabs((*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1632) + 368LL))(*(_QWORD *)(a1 + 1632))) / -70.0) * 0.40000001) + 1.0) * v21); v2 = 0; v2.f32[0] = v1; result = (int)_mm_round_ss(v2, v2, 9).f32[0]; v4 = (int)result % 12 + 1; if ( v4 != *(_DWORD *)(a1 + 2464) ) { *(_DWORD *)(a1 + 2464) = v4; v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1632) + 488LL))(*(_QWORD *)(a1 + 1632)); v6 = sub_1007FEFE0(v5, 0); v7 = sub_10088E820("playerDash2_%03d.png", v17); CString = (const char *)cocos2d::CCString::getCString(v7); v9 = sub_10088E820("playerDash2_outline_%03d.png", v18); result = cocos2d::CCString::getCString(v9); if ( CString ) { v10 = (const char *)result; v11 = *(_QWORD *)(a1 + 1632); v12 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, CString); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 1160LL))(v11, v13); v14 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v15 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v14, v10); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 1160LL))(v6, v15); v16 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1632) + 328LL))(*(_QWORD *)(a1 + 1632)); sub_100278630(&v20, v16); sub_100278250(v19, *(float *)&v20 * 0.5, 0.5 * *((float *)&v20 + 1)); return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, v19); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source