//
// sub_1005E141C from 0x1005e141c to 0x1005e146c (80 bytes)
//
// 5 xrefs:
// > sub_100540544 @ 0x100540568
// > sub_100545AF4 @ 0x100545c00
// > sub_1005834D0 @ 0x1005836c0
// > sub_1005F0540 @ 0x1005f0648
// > sub_1005FD094 @ 0x1005fd3a4
//
// 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
//
__int64 sub_1005E141C()
{
_DWORD *v0; // x0
int v1; // w8
int v3; // w9
int v4; // w8
v0 = sub_1005E0F4C();
v1 = v0[149];
if ( v1 == v0[148] )
return 0;
v3 = v1 + 1;
if ( v1 + 1 >= 0 )
v4 = v1 + 1;
else
v4 = v1 + 16;
return *(_QWORD *)&v0[2 * (v3 - (v4 & 0xFFFFFFF0)) + 20];
}