//
// kmMat4RotationToAxisAngle from 0x1003bda10 to 0x1003bda81 (113 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall kmMat4RotationToAxisAngle(__int64 a1, __int64 a2, unsigned int *a3)
{
_BYTE v4[16]; // [rsp+0h] [rbp-50h] BYREF
_OWORD v5[2]; // [rsp+10h] [rbp-40h] BYREF
unsigned int v6; // [rsp+30h] [rbp-20h]
v5[0] = _mm_insert_ps(
_mm_shuffle_ps(
_mm_movelh_ps((__m128)*a3, (__m128)*(unsigned __int64 *)(a3 + 1)),
(__m128)*(unsigned __int64 *)(a3 + 1),
216),
(__m128)a3[4],
48);
v5[1] = _mm_loadh_ps((const double *)a3 + 4);
v6 = a3[10];
kmQuaternionRotationMatrix(v4, v5);
kmQuaternionToAxisAngle(v4, a1, a2);
return a1;
}