//
// kmMat4Assign from 0xd507a8 to 0xd507cc (36 bytes)
//
// 9 xrefs:
// > kmMat4Inverse @ 0xd507fc
// > kmMat4Inverse @ 0xd50824
// > km_mat4_stack_push @ 0xd53718
// > kmGLPushMatrix @ 0xd53990
// > kmGLLoadMatrix @ 0xd53aa4
// > kmGLGetMatrix @ 0xd53b0c
// > kmGLGetMatrix @ 0xd53b28
// > kmGLGetMatrix @ 0xd53b44
// > ??> @ 0xb6f08
//
// 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:40 +0000
//
_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;
}