// // sub_100601208 from 0x100601208 to 0x1006012a8 (160 bytes) // // 0 xrefs: // // 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:09:57 +0000 // float32_t __fastcall sub_100601208(int32x4_t *a1, float32x4_t *a2, float32x4_t *a3, unsigned int a4) { __int64 v4; // x9 int32x4_t *v5; // x10 float32x4_t *v6; // x11 float32x4_t *v7; // x12 __int64 v8; // x13 float32x4_t v9; // q0 float32x4_t v10; // q1 int *v11; // x10 float *v12; // x11 __int32 *v13; // x12 __int64 v14; // x8 int v15; // t1 float v16; // s0 float v17; // t1 if ( a4 ) { v4 = 0; if ( a4 < 8 ) goto LABEL_7; if ( (unsigned __int64)((char *)a3 - (char *)a2) < 0x20 ) goto LABEL_7; v4 = a4 & 0xFFFFFFF8; v5 = a1 + 1; v6 = a2 + 1; v7 = a3 + 1; v8 = v4; do { v9 = vmulq_f32(v6[-1], vcvtq_f32_s32(v5[-1])); v10 = vmulq_f32(*v6, vcvtq_f32_s32(*v5)); v7[-1] = v9; *v7 = v10; v5 += 2; v6 += 2; v7 += 2; v8 -= 8; } while ( v8 ); if ( v4 != a4 ) { LABEL_7: v11 = &a1->i32[v4]; v12 = &a2->f32[v4]; v13 = &a3->i32[v4]; v14 = a4 - v4; do { v15 = *v11++; v16 = (float)v15; v17 = *v12++; v9.f32[0] = v17 * v16; *v13++ = v9.i32[0]; --v14; } while ( v14 ); } } return v9.f32[0]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source