//
// sub_1001F1258 from 0x1001f1258 to 0x1001f12f8 (160 bytes)
//
// 5 xrefs:
// > kmGLMatrixMode @ 0x1001f1308
// > kmGLPushMatrix @ 0x1001f1350
// > kmGLLoadIdentity @ 0x1001f13b4
// > kmGLMultMatrix @ 0x1001f1420
// > kmGLGetMatrix @ 0x1001f1458
//
// 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 sub_1001F1258()
{
__int64 result; // x0
_BYTE v1[64]; // [xsp+0h] [xbp-60h] BYREF
if ( (byte_1009F47A0 & 1) == 0 )
{
sub_10047DD90(&unk_100A0F878);
sub_10047DD90(&unk_100A0F890);
sub_10047DD90(&unk_100A0F8A8);
qword_100A0F870 = (__int64)&unk_100A0F878;
byte_1009F47A0 = 1;
kmMat4Identity(v1);
sub_10047DDC4(&unk_100A0F878, v1);
sub_10047DDC4(&unk_100A0F890, v1);
return sub_10047DDC4(&unk_100A0F8A8, v1);
}
return result;
}