//
// kmMat4Assign from 0x1003bca50 to 0x1003bca80 (48 bytes)
//
// 4 xrefs:
// > kmGLPushMatrix @ 0x1001eb2e0
// > kmGLLoadMatrix @ 0x1001eb3d2
// > kmGLGetMatrix @ 0x1001eb417
// > sub_1006B8B70 @ 0x1006b8b8d
//
// This function is hookable on this platform (idp: pc, 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 12:29:31 +0000
//
__int128 *__fastcall kmMat4Assign(__int128 *a1, __int128 *a2)
{
__int128 v2; // xmm0
__int128 v3; // xmm1
__int128 v4; // xmm2
if ( a1 == a2 )
sub_1009A6690(a1);
v2 = *a2;
v3 = a2[1];
v4 = a2[2];
a1[3] = a2[3];
a1[2] = v4;
a1[1] = v3;
*a1 = v2;
return a1;
}