//
// sub_1001EB1E0 from 0x1001eb1e0 to 0x1001eb271 (145 bytes)
//
// 6 xrefs:
// > kmGLMatrixMode @ 0x1001eb288
// > kmGLPushMatrix @ 0x1001eb2c9
// > kmGLLoadIdentity @ 0x1001eb324
// > kmGLMultMatrix @ 0x1001eb389
// > kmGLLoadMatrix @ 0x1001eb3b9
// > kmGLGetMatrix @ 0x1001eb3ed
//
// 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:26:31 +0000
//
__int64 sub_1001EB1E0()
{
__int64 result; // rax
_BYTE v1[104]; // [rsp-68h] [rbp-68h] BYREF
if ( !byte_100BE1530 )
{
sub_1006B8B40(&unk_100BE8B00);
sub_1006B8B40(&unk_100BE8B18);
sub_1006B8B40(&unk_100BE8B30);
qword_100BE8AF8 = (__int64)&unk_100BE8B00;
byte_100BE1530 = 1;
kmMat4Identity(v1);
sub_1006B8B70(&unk_100BE8B00, v1);
sub_1006B8B70(&unk_100BE8B18, v1);
return sub_1006B8B70(&unk_100BE8B30, v1);
}
return result;
}