//
// kmGLGetMatrix from 0xae0e40 to 0xae0ee0 (160 bytes)
//
// 7 xrefs:
// > cocos2d::CCDirector::convertToGL @ 0xad66dc
// > cocos2d::CCDirector::convertToGL @ 0xad66ec
// > cocos2d::CCDirector::convertToUI @ 0xad6808
// > cocos2d::CCDirector::convertToUI @ 0xad681c
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0xb11d14
// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0xb11d20
// > ??> @ 0x3c2b8
//
// 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
//
_QWORD *__fastcall kmGLGetMatrix(int a1, _QWORD *a2)
{
_QWORD *result; // x0
lazyInitialize();
if ( a1 == 5889 )
return kmMat4Assign(a2, (_QWORD *)qword_12600D0);
if ( a1 == 5890 )
return kmMat4Assign(a2, (_QWORD *)qword_12600B8);
result = (_QWORD *)(elf_hash_bucket + 5384);
if ( a1 == 5888 )
return kmMat4Assign(a2, (_QWORD *)qword_12600E8);
return result;
}