// // sub_6D5F4 from 0x6d5f4 to 0x6d872 (638 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:40:59 +0000 // float *__fastcall sub_6D5F4( int a1, int a2, float *a3, int a4, int a5, int a6, int a7, int a8, int a9, float a10, float a11, float a12) { int v12; // r9 int v13; // r1 int i; // r2 float *v15; // r6 float *v16; // r10 float v17; // r0 float v18; // s22 float v19; // r0 float v20; // r0 float v21; // r0 float v22; // s22 float v23; // r0 float v24; // r0 float v25; // r1 float v26; // r0 float v27; // s22 float v28; // r0 float v29; // r0 float v30; // r0 float v31; // s22 float v32; // r0 float v33; // s0 float v34; // r1 float v35; // r0 float v36; // s22 float v37; // r0 float v38; // r0 float v39; // r0 float v40; // s22 float v41; // r0 float v42; // r0 float *v43; // r6 float v44; // r1 float v45; // r0 float v46; // s22 float v47; // r0 float v48; // r0 float v49; // r0 float v50; // s22 float v51; // r0 float v52; // r0 float *result; // r0 int v54; // r4 int j; // r8 float v56; // r0 float v57; // s22 float v58; // r0 float v59; // r0 float v60; // r0 float v61; // s22 float v62; // r0 float v63; // s0 int v65; // [sp+8h] [bp-78h] float *v68; // [sp+14h] [bp-6Ch] int v69; // [sp+18h] [bp-68h] int v70; // [sp+1Ch] [bp-64h] int v71; // [sp+20h] [bp-60h] int v72; // [sp+24h] [bp-5Ch] int v73; // [sp+28h] [bp-58h] int v74; // [sp+2Ch] [bp-54h] int v75; // [sp+30h] [bp-50h] int v76; // [sp+34h] [bp-4Ch] int v77; // [sp+38h] [bp-48h] int v78; // [sp+3Ch] [bp-44h] v12 = a4; v78 = a9 + 16 * a5; v71 = v78 + 512; v77 = a8 + 16 * a5; v76 = v77 + 512; v75 = a7 + 16 * a5; v74 = v75 + 512; v73 = a6 + 16 * a5; v72 = v73 + 512; v13 = (int)a3 >> 2; v65 = 16 * a4; for ( i = 0; ; i = v69 + v65 ) { v15 = (float *)(a1 + i); v16 = (float *)(a2 + i); if ( !v13 ) break; v70 = v13; v69 = i; v17 = sub_6D5B0(v73, *v16); v18 = sub_6D5B0(v72, v17) * a10; v19 = sub_6D5B0(v77, *v16); v20 = sub_6D5B0(v76, v19); v21 = sub_6D5B0(v75, v20); v22 = v18 + (float)(sub_6D5B0(v74, v21) * a11); v23 = sub_6D5B0(v78, *v16); v24 = sub_6D5B0(v71, v23); v25 = v16[v12]; *v15 = v22 + (float)(v24 * a12); v26 = sub_6D5B0(v73, v25); v27 = sub_6D5B0(v72, v26) * a10; v28 = sub_6D5B0(v77, v16[v12]); v29 = sub_6D5B0(v76, v28); v30 = sub_6D5B0(v75, v29); v31 = v27 + (float)(sub_6D5B0(v74, v30) * a11); v32 = sub_6D5B0(v78, v16[v12]); v33 = sub_6D5B0(v71, v32); v68 = &v15[v12]; v34 = v16[v12 + v12]; *v68 = v31 + (float)(v33 * a12); v35 = sub_6D5B0(v73, v34); v36 = sub_6D5B0(v72, v35) * a10; v37 = sub_6D5B0(v77, v16[v12 + v12]); v38 = sub_6D5B0(v76, v37); v39 = sub_6D5B0(v75, v38); v40 = v36 + (float)(sub_6D5B0(v74, v39) * a11); v41 = sub_6D5B0(v78, v16[v12 + v12]); v42 = sub_6D5B0(v71, v41); v43 = &v16[v12 + v12]; v44 = v43[v12]; v68[v12] = v40 + (float)(v42 * a12); v45 = sub_6D5B0(v73, v44); v46 = sub_6D5B0(v72, v45) * a10; v47 = sub_6D5B0(v77, v43[v12]); v48 = sub_6D5B0(v76, v47); v49 = sub_6D5B0(v75, v48); v50 = v46 + (float)(sub_6D5B0(v74, v49) * a11); v51 = sub_6D5B0(v78, v43[v12]); v52 = sub_6D5B0(v71, v51); v13 = v70 - 1; v68[v12 + v12] = v50 + (float)(v52 * a12); } result = a3; v54 = 0; for ( j = (unsigned __int8)a3 & 3; j; --j ) { v56 = sub_6D5B0(v73, *(float *)((char *)v16 + v54)); v57 = sub_6D5B0(v72, v56) * a10; v58 = sub_6D5B0(v77, *(float *)((char *)v16 + v54)); v59 = sub_6D5B0(v76, v58); v60 = sub_6D5B0(v75, v59); v61 = v57 + (float)(sub_6D5B0(v74, v60) * a11); v62 = sub_6D5B0(v78, *(float *)((char *)v16 + v54)); v63 = sub_6D5B0(v71, v62); result = (float *)((char *)v15 + v54); v54 += v12 * 4; *result = v61 + (float)(v63 * a12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source