// // sub_705F8 from 0x705f8 to 0x70664 (108 bytes) // // 1 xrefs: // > @ 0x118948 // // 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 12:13:59 +0000 // // positive sp value has been detected, the output may be wrong! void __fastcall sub_705F8(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6) { float *v6; // x19 float *v7; // x20 int v8; // w21 float *v9; // x22 __int64 v10; // x23 __int64 v11; // x24 __int64 v12; // x25 __int64 v13; // x30 float v14; // s10 float v15; // s11 float v16; // s12 __int64 v17; // x0 long double v18; // q0 long double v19; // q1 float v20; // s0 bool v21; // cc char v22; // zf char v23; // nf char v24; // vf v17 = ((__int64 (__fastcall *)(__int64, __int64, __int64, __int64, __int64, __int64, __int64))sub_707F4)( a1, a2, a3, a4, a5, a6, v13); while ( (int)v12 < v8 ) { v20 = (float)(*v9 * *v9) + (float)(v9[1] * v9[1]); v21 = v20 <= *v6; *(float *)&v18 = v20 - *v7; if ( v21 ) *(float *)&v19 = v14; else *(float *)&v19 = v15; v17 = ((__int64 (__fastcall *)(__int64, long double, long double))sub_70874)(v17, v18, v19); if ( !(v23 ^ v24 | v22) ) *(float *)&v18 = ((float (__fastcall *)(__int64))sub_70868)(v17) * v16; *(_QWORD *)&v19 = *(_QWORD *)(v11 + 8 * v12); v9 += 2; *(float32x2_t *)&v18 = vmul_n_f32(*(float32x2_t *)&v19, *(float *)&v18); *(_QWORD *)(v10 + 8 * v12++) = *(_QWORD *)&v18; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source