//
// sub_100502730 from 0x100502730 to 0x100502766 (54 bytes)
//
// 1 xrefs:
// > -[EAGLView mouseMovedExec:] @ 0x100745a62
//
// This function is hookable on this platform (idp: pc, 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 12:31:30 +0000
//
CGError __fastcall sub_100502730(_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;
}