//
// sub_100503A80 from 0x100503a80 to 0x100503ab6 (54 bytes)
//
// 1 xrefs:
// > -[EAGLView mouseMovedExec:] @ 0x100666602
//
// 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_100503A80(_BYTE *a1, char a2)
{
char v2; // si
CGError result; // eax
a1[117] = a2;
v2 = a1[116] & a2;
if ( a1[118] == 1 )
{
if ( !v2 )
{
a1[118] = 0;
return CGDisplayShowCursor(0);
}
}
else if ( v2 )
{
a1[118] = 1;
return CGDisplayHideCursor(0);
}
return result;
}