//
// sub_100617194 from 0x100617194 to 0x100617220 (140 bytes)
//
// 1 xrefs:
// > sub_1005E460C @ 0x1005e4664
//
// 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
//
_BYTE *sub_100617194()
{
_BYTE *v0; // x19
__int64 v1; // x0
v0 = sub_100588710(48, (__int64)"ui_lib.c", 81);
if ( v0 )
{
v1 = qword_100884EC8;
if ( !qword_100884EC8 )
{
v1 = sub_10061826C(0);
qword_100884EC8 = v1;
}
*(_QWORD *)v0 = v1;
*((_DWORD *)v0 + 10) = 0;
*((_QWORD *)v0 + 1) = 0;
*((_QWORD *)v0 + 2) = 0;
sub_1005893A4(11, (__int64)v0, (__int64)(v0 + 24));
}
else
{
sub_1005E0E48(40, 104, 65, (__int64)"ui_lib.c", 83);
return nullptr;
}
return v0;
}