// // sub_80220 from 0x80220 to 0x80294 (116 bytes) // // 1 xrefs: // > sub_80E24 @ 0x81052 // // 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_80220(int a1, int a2, _DWORD *a3) { int v3; // r0 int v4; // r1 float *v5; // r4 float *v6; // r3 int v7; // r5 float v8; // s0 float v9; // s6 float v10; // s2 float v11; // s4 if ( a3[4] == 2 ) { if ( a3[5] ) { v3 = 1; goto LABEL_5; } return 13; } v3 = a3[16] - 1; if ( v3 < 0 ) return 13; LABEL_5: v4 = a2 + 72; while ( v3 ) { v5 = (float *)(v4 - 4); v6 = (float *)&FMOD::CodecMPEG::gAaCs; v4 += 40; v7 = 7; while ( v7 >= 0 ) { v8 = *v5; --v7; v9 = *(float *)(v4 - 40); *v5 = (float)(*v6 * *v5) - (float)(*(v6 - 8) * v9); --v5; v10 = *v6; v11 = *(v6 - 8); ++v6; *(float *)(v4 - 40) = (float)(v10 * v9) + (float)(v11 * v8); v4 += 4; } --v3; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source