//
// kmMat4Assign from 0xaddb40 to 0xaddb64 (36 bytes)
//
// 9 xrefs:
// > kmMat4Inverse @ 0xaddb94
// > kmMat4Inverse @ 0xaddbbc
// > km_mat4_stack_push @ 0xae0ab0
// > kmGLPushMatrix @ 0xae0d28
// > kmGLLoadMatrix @ 0xae0e3c
// > kmGLGetMatrix @ 0xae0ea4
// > kmGLGetMatrix @ 0xae0ec0
// > kmGLGetMatrix @ 0xae0edc
// > ??> @ 0x89f88
//
// 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
//
_QWORD *__fastcall kmMat4Assign(_QWORD *result, _QWORD *a2)
{
__int64 v2; // x5
__int64 v3; // x5
__int64 v4; // x5
__int64 v5; // x5
v2 = a2[1];
*result = *a2;
result[1] = v2;
v3 = a2[3];
result[2] = a2[2];
result[3] = v3;
v4 = a2[5];
result[4] = a2[4];
result[5] = v4;
v5 = a2[7];
result[6] = a2[6];
result[7] = v5;
return result;
}