// // matrixMult from 0x3f2a80 to 0x3f2afe (126 bytes) // // 4 xrefs: // > hueMatrix @ 0x3f2b30 // > hueMatrix @ 0x3f2b52 // > hueMatrix @ 0x3f2b66 // > hueMatrix @ 0x3f2b7a // // 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:47:15 +0000 // float __fastcall matrixMult(float (*a1)[3], float (*a2)[3], float (*a3)[3]) { int i; // r4 float v4; // s12 float *v5; // r7 float *v6; // r3 float v7; // s13 float v8; // s14 float v9; // s11 int v10; // r3 float *v11; // r1 float result; // r0 float v13; // r1 _BYTE v14[36]; // [sp+0h] [bp-2Ch] BYREF for ( i = 0; i != 36; i += 12 ) { v4 = (*a2)[0]; v5 = (float *)&v14[i]; v6 = (float *)a1; v7 = (*a2)[1]; v8 = (*a2)[2]; do { v9 = *v6++; *v5++ = (float)((float)(v7 * v6[2]) + (float)(v4 * v9)) + (float)(v8 * v6[5]); } while ( v6 != &(*a1)[3] ); ++a2; } v10 = 0; do { v11 = (float *)&v14[v10]; v10 += 12; (*++a3)[-3] = *v11; result = v11[1]; v13 = v11[2]; (*a3)[-2] = result; (*a3)[-1] = v13; } while ( v10 != 36 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source