//
// kmMat4Transpose from 0x1800b9180 to 0x1800b91be (62 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
__int64 __fastcall kmMat4Transpose(__int64 a1, __int64 a2)
{
__int64 v2; // rdx
__int64 v3; // r8
__int64 v4; // r9
int v5; // eax
v2 = a2 + 32;
v3 = a1 + 8;
v4 = 4;
do
{
v5 = *(_DWORD *)(v2 - 32);
v2 += 4;
*(_DWORD *)(v3 - 8) = v5;
v3 += 16;
*(_DWORD *)(v3 - 20) = *(_DWORD *)(v2 - 20);
*(_DWORD *)(v3 - 16) = *(_DWORD *)(v2 - 4);
*(_DWORD *)(v3 - 12) = *(_DWORD *)(v2 + 12);
--v4;
}
while ( v4 );
return a1;
}