//
// sub_1800BF740 from 0x1800bf740 to 0x1800bf7e6 (166 bytes)
//
// 10 xrefs:
// > kmGLGetMatrix @ 0x1800bf46f
// > kmGLLoadIdentity @ 0x1800bf4e4
// > kmGLLoadMatrix @ 0x1800bf509
// > kmGLMatrixMode @ 0x1800bf538
// > kmGLMultMatrix @ 0x1800bf599
// > kmGLPushMatrix @ 0x1800bf5e3
// > ??> @ 0x18014adfc
// > ??> @ 0x18014ae0c
// > ??> @ 0x1801c3294
// > ??> @ 0x1801c32a0
//
// 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 11:22:24 +0000
//
__int64 sub_1800BF740()
{
__int64 result; // rax
_OWORD v1[4]; // [rsp+20h] [rbp-58h] BYREF
if ( !byte_1801B3B88 )
{
sub_1800BF310(&unk_1801B6D60);
sub_1800BF310(&unk_1801B6D40);
sub_1800BF310(&unk_1801B6D20);
qword_1801B3B80 = (__int64)&unk_1801B6D60;
byte_1801B3B88 = 1;
kmMat4Identity((__int64)v1);
sub_1800BF360((unsigned int *)&unk_1801B6D60, v1);
sub_1800BF360((unsigned int *)&unk_1801B6D40, v1);
return sub_1800BF360((unsigned int *)&unk_1801B6D20, v1);
}
return result;
}