//
// cocos2d::CCEGLView::showCursor from 0x18007bad0 to 0x18007bb36 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bedd0
//
// 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 11:22:00 +0000
//
void __fastcall cocos2d::CCEGLView::showCursor(cocos2d::CCEGLView *this, char a2)
{
char v2; // al
_BYTE *v3; // rbx
char v4; // dl
__int64 v5; // r8
v2 = *((_BYTE *)this + 184);
v3 = (char *)this + 236;
v4 = a2 ^ 1;
*((_BYTE *)this + 235) = v4;
if ( v4 )
{
if ( !v2 || *v3 )
{
*((_BYTE *)this + 184) = 1;
v5 = 212994;
LABEL_8:
sub_1800DD5A0(*((_QWORD *)this + 25), 208897, v5);
}
}
else if ( v2 || *v3 )
{
*((_BYTE *)this + 184) = 0;
v5 = 212993;
goto LABEL_8;
}
*v3 = 0;
}