// // sub_98B86 from 0x98b86 to 0x98c34 (174 bytes) // // 1 xrefs: // > sub_98CF8 @ 0x98d02 // // 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:41:29 +0000 // int __fastcall sub_98B86(float *a1, float *a2, int a3, int a4, int a5) { float v5; // s0 int v6; // r8 float v7; // s2 float v8; // s4 int v9; // lr float *v10; // r4 int v11; // r5 float v12; // s8 float v13; // s10 float v14; // s10 float v15; // s8 int v16; // r4 int v17; // r5 float *v18; // r6 float *v19; // r9 if ( a2 ) { v5 = a1[98]; v6 = 0; v7 = a1[99]; v8 = a1[100]; v9 = 4 * a5; while ( v6 != a4 ) { v10 = a2; v11 = a5; v12 = a1[94] - v8; if ( v12 < v5 ) v12 = v5; a1[94] = v12; while ( v11 ) { v13 = *v10++; --v11; v14 = fabsf(v13); if ( v14 > v12 ) { a1[94] = v14; v12 = v14; } } v15 = 1.0 / v12; v16 = 0; v17 = a5; if ( v15 > v7 ) v15 = v7; while ( v17 ) { v18 = &a2[v16]; v19 = (float *)(a3 + v16 * 4); ++v16; --v17; *v19 = *v18 * v15; } a3 += v9; a2 = (float *)((char *)a2 + v9); ++v6; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source