//
// kmMat4ExtractRotation from 0xd513e8 to 0xd51434 (76 bytes)
//
// 2 xrefs:
// > kmMat4RotationToAxisAngle @ 0xd51470
// > ??> @ 0x7cae0
//
// 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 13:07:41 +0000
//
_DWORD *__fastcall kmMat4ExtractRotation(_DWORD *result, int *a2)
{
int v2; // w10
int v3; // w9
int v4; // w8
int v5; // w7
int v6; // w6
int v7; // w5
int v8; // w4
int v9; // w3
int v10; // w1
v2 = *a2;
v3 = a2[1];
v4 = a2[2];
v5 = a2[4];
v6 = a2[5];
v7 = a2[6];
v8 = a2[8];
v9 = a2[9];
v10 = a2[10];
*result = v2;
result[1] = v3;
result[2] = v4;
result[3] = v5;
result[4] = v6;
result[5] = v7;
result[6] = v8;
result[7] = v9;
result[8] = v10;
return result;
}