//
// sub_100503A40 from 0x100503a40 to 0x100503a7c (60 bytes)
//
// 0 xrefs:
//
// 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
//
CGError __fastcall sub_100503A40(unsigned __int8 *a1)
{
CGError result; // eax
result = a1[116];
if ( a1[118] == 1 )
{
if ( !(_BYTE)result || !a1[117] )
{
a1[118] = 0;
return CGDisplayShowCursor(0);
}
}
else if ( (_BYTE)result && a1[117] == 1 )
{
a1[118] = 1;
return CGDisplayHideCursor(0);
}
return result;
}