// // sub_92564 from 0x92564 to 0x9268c (296 bytes) // // 1 xrefs: // > sub_92858 @ 0x9291c // // 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:26 +0000 // int __fastcall sub_92564(int a1, int a2) { int v3; // s0 int v4; // kr00_4 int v5; // r1 float v6; // s16 int v7; // r11 int v8; // r9 int v9; // r4 int v10; // r10 float v11; // s0 float v12; // s18 int v13; // r0 int v14; // r1 float v15; // s0 int v16; // r0 int v17; // r2 int v18; // r3 float *v19; // r2 float *v20; // r3 float v21; // s4 float v22; // s10 float v23; // s6 float v24; // s2 float v25; // s4 float v26; // s2 int v28; // [sp+0h] [bp-48h] int v29; // [sp+4h] [bp-44h] int v31; // [sp+10h] [bp-38h] int v32; // [sp+14h] [bp-34h] v32 = 1; v3 = 1 << a2; v4 = 1 << a2; v5 = 0; v31 = v4 / 2; v6 = 1.0 / (float)v3; while ( v5 < a2 ) { v7 = v31; v8 = 0; v9 = 0; v10 = 0; v28 = v5; v29 = 2 * v31; while ( v10 < v32 ) { v11 = (float)sub_9268C(a1, v9 / v31, a2) * v6; v12 = COERCE_FLOAT(sub_926A0(a1, LODWORD(v11))); v13 = sub_92704(a1, LODWORD(v11)); v14 = v9; LODWORD(v15) = v13 ^ 0x80000000; v16 = v8; while ( v14 < v7 ) { v17 = *(_DWORD *)(a1 + 376); ++v14; v18 = v17 + 8 * v31; v19 = (float *)(v17 + v16); v20 = (float *)(v18 + v16); v16 += 8; v21 = v20[1]; v22 = v19[1]; v23 = (float)(*v20 * v15) + (float)(v21 * v12); v24 = (float)(*v20 * v12) - (float)(v21 * v15); v25 = v24 + *v19; v26 = *v19 - v24; *v19 = v25; v19[1] = v23 + v22; *v20 = v26; v20[1] = v22 - v23; } ++v10; v8 += 16 * v31; v7 += v29; v9 += v29; } v5 = v28 + 1; v32 *= 2; v31 = (unsigned int)v31 >> 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source