//
// kmGLGetMatrix from 0x1001f1444 to 0x1001f1498 (84 bytes)
//
// 4 xrefs:
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1001b4074
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1001b4080
// > sub_1002073BC @ 0x1002073d8
// > sub_1002073BC @ 0x1002073e4
//
// 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 11:00:38 +0000
//
__int64 __fastcall kmGLGetMatrix(int a1, __int64 a2)
{
__int64 result; // x0
result = sub_1001F1258();
if ( (unsigned int)(a1 - 5888) <= 2 )
return kmMat4Assign(a2, *(_QWORD *)*(&off_1008F2DB8 + (unsigned int)(a1 - 5888)));
return result;
}