// // sub_AC2A8 from 0xac2a8 to 0xac330 (136 bytes) // // 2 xrefs: // > sub_A4990 @ 0xa4a04 // > sub_ABFD0 @ 0xac060 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_AC2A8(int result, float a2, float a3, float a4, float a5, float a6) { float v6; // s2 int v8; // r1 int v10; // r2 double v11; // d6 float v12; // s14 int v13; // s1 int v14; // r3 int v15; // r4 v6 = a6 * a4; v8 = 0; while ( v8 != 32 ) { v10 = result + v8; v8 += 4; v11 = v6 + 0.5; *(float *)(v10 + 756) = a2; v6 = v6 * a5; *(_DWORD *)(v10 + 852) = (int)v11; v12 = a2 * a6; a2 = a2 * a3; v13 = (int)(v12 + 0.5); *(_DWORD *)(v10 + 788) = v13; v14 = *(_DWORD *)(v10 + 892); v15 = *(_DWORD *)(v10 + 924) - 1; *(_DWORD *)(v10 + 1020) = ((int)v11 + v15) & v14; *(_DWORD *)(v10 + 956) = v14 & (v15 + v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source