//
// kmMat3Transpose from 0x1800b7690 to 0x1800b76c7 (55 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 kmMat3Transpose(__int64 a1, __int64 a2)
{
__int64 v2; // rdx
__int64 v3; // r8
__int64 v4; // r9
int v5; // eax
v2 = a2 + 24;
v3 = a1 + 8;
v4 = 3;
do
{
v5 = *(_DWORD *)(v2 - 24);
v2 += 4;
*(_DWORD *)(v3 - 8) = v5;
v3 += 12;
*(_DWORD *)(v3 - 16) = *(_DWORD *)(v2 - 16);
*(_DWORD *)(v3 - 12) = *(_DWORD *)(v2 - 4);
--v4;
}
while ( v4 );
return a1;
}