// // sub_14030A3F0 from 0x14030a3f0 to 0x14030a5b8 (456 bytes) // // 2 xrefs: // > GJBaseGameLayer::update @ 0x1403409db // > @ 0x14091e674 // // 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:30:10 +0000 // // local variable allocation has failed, the output may be wrong! unsigned __int64 __fastcall sub_14030A3F0(__m128i *a1, const __m128i *a2, double a3) { unsigned __int64 result; // rax char *v5; // rcx __m128 v6; // xmm5 float v7; // xmm3_4 int *v8; // rcx signed __int64 v9; // r8 __int64 v10; // r11 __m128 v11; // xmm3 result = (unsigned __int64)&a2[2].m128i_u64[1] + 4; v5 = &a1[2].m128i_i8[12]; v6 = _mm_shuffle_ps(*(__m128 *)&a3, *(__m128 *)&a3, 0); if ( a1 > (__m128i *)((char *)&a2[2].m128i_u64[1] + 4) || v5 < (char *)a2 ) { v11 = _mm_sub_ps((__m128)_mm_load_si128((const __m128i *)&xmmword_140836C20), v6); *a1 = _mm_cvttps_epi32( _mm_add_ps( _mm_mul_ps(_mm_cvtepi32_ps(_mm_loadu_si128(a2)), v6), _mm_mul_ps(_mm_cvtepi32_ps(_mm_loadu_si128(a1)), v11))); a1[1] = _mm_cvttps_epi32( _mm_add_ps( _mm_mul_ps(_mm_cvtepi32_ps(_mm_loadu_si128(a2 + 1)), v6), _mm_mul_ps(_mm_cvtepi32_ps(_mm_loadu_si128(a1 + 1)), v11))); a1[2] = _mm_cvttps_epi32( _mm_add_ps( _mm_mul_ps(_mm_cvtepi32_ps(_mm_loadu_si128(a2 + 2)), v6), _mm_mul_ps(_mm_cvtepi32_ps(_mm_loadu_si128(a1 + 2)), v11))); } else { v7 = 1.0 - *(float *)&a3; v8 = &a1->m128i_i32[1]; v9 = (char *)a2 - (char *)a1; v10 = 3; do { *(v8 - 1) = (int)(float)((float)((float)*(int *)((char *)v8 + v9 - 4) * *(float *)&a3) + (float)((float)*(v8 - 1) * v7)); *v8 = (int)(float)((float)((float)*(int *)((char *)v8 + v9) * *(float *)&a3) + (float)((float)*v8 * v7)); v8[1] = (int)(float)((float)((float)*(int *)((char *)v8 + v9 + 4) * *(float *)&a3) + (float)((float)v8[1] * v7)); result = (unsigned int)(int)(float)((float)((float)*(int *)((char *)v8 + v9 + 8) * *(float *)&a3) + (float)((float)v8[2] * v7)); v8[2] = result; v8 += 4; --v10; } while ( v10 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source