// // GJEffectManager::processMoveCalculations from 0x1002d2610 to 0x1002d273a (298 bytes) // // 1 xrefs: // > GJBaseGameLayer::processMoveActions @ 0x100124918 // // 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:28:13 +0000 // unsigned int *__fastcall GJEffectManager::processMoveCalculations(__int64 a1) { unsigned int *v1; // r14 unsigned int *v2; // r13 unsigned int *v3; // r14 __m128 v4; // xmm0 __m128d v5; // xmm0 __int64 v6; // rax __m128d v7; // xmm2 unsigned int *result; // rax bool v9; // zf double v10; // [rsp+0h] [rbp-40h] BYREF __m64 v11; // [rsp+8h] [rbp-38h] BYREF float v12; // [rsp+14h] [rbp-2Ch] v1 = *(unsigned int **)(a1 + 1576); v2 = *(unsigned int **)(a1 + 1584); if ( v1 != v2 ) { v3 = v1 + 2; do { v12 = *(float *)(*((_QWORD *)v3 + 1) + 676LL) * -0.017453292; sub_1002782A0(&v10); v4 = (__m128)LODWORD(v12); *(__float2 *)v4.f32 = __sincosf_stret(v12); v10 = (float)((float)(_mm_shuffle_ps(v4, v4, 225).f32[0] * _mm_moveldup_ps((__m128)*v3).f32[0]) + (float)(_mm_insert_ps(_mm_xor_ps((__m128)v3[1], (__m128)xmmword_100A035F0), (__m128)v3[1], 28).f32[0] * v4.f32[0])) * (*(float *)(*((_QWORD *)v3 + 1) + 692LL) + 1.0); sub_100278370((double *)&v11, (unsigned __int64 *)&v10, (unsigned __int64 *)v3); v5 = _mm_cvtps_pd(v11); v6 = *((_QWORD *)v3 - 1); v7 = *(__m128d *)(v6 + 144); *(__m128d *)(v6 + 56) = _mm_add_pd(*(__m128d *)(v6 + 56), v5); *(__m128d *)(v6 + 144) = _mm_add_pd(v7, v5); *(_BYTE *)(v6 + 209) = 0; result = v3 + 6; v9 = v3 + 4 == v2; v3 += 6; } while ( !v9 ); v1 = *(unsigned int **)(a1 + 1576); } *(_QWORD *)(a1 + 1584) = v1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source