// // sub_100632420 from 0x100632420 to 0x1006324e8 (200 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:10:28 +0000 // __int64 __fastcall sub_100632420(__int64 a1, __int64 a2, __int64 a3, int a4, int a5) { int v5; // w8 int v6; // w9 float v7; // s0 float v8; // s1 int v9; // w10 int i; // w11 float v11; // s2 int v12; // w13 float v13; // s2 __int64 v14; // x12 __int64 v15; // x12 float v16; // s3 float v17; // s4 if ( a2 && a4 ) { v5 = 0; v6 = 0; v7 = *(float *)(a1 + 676); v8 = *(float *)(a1 + 672); v9 = *(_DWORD *)(a1 + 684); do { if ( v9 ) *(float *)(a1 + 536) = *(float *)(a1 + 680) * *(float *)(a1 + 536); if ( a5 ) { for ( i = 0; i != a5; ++i ) { if ( v9 ) { v12 = 0; v13 = *(float *)(a1 + 536); } else { v14 = a1 + 4LL * i; v13 = *(float *)(a1 + 680) * *(float *)(v14 + 536); *(float *)(v14 + 536) = v13; v12 = i; } v15 = (unsigned int)(v5 + i); v16 = *(float *)(a2 + 4LL * (unsigned int)v15); v17 = fabsf(v16); if ( v17 > v13 ) { *(float *)(a1 + 4LL * v12 + 536) = v17; v16 = *(float *)(a2 + 4 * v15); v13 = v17; } v11 = v8 / v13; if ( v11 > v7 ) v11 = v7; *(float *)(a3 + 4 * v15) = v16 * v11; } } ++v6; v5 += a5; } while ( v6 != a4 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source