//
// cocos2d::CCEGLView::toggleLockCursor from 0x180079030 to 0x180079068 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
void __fastcall cocos2d::CCEGLView::toggleLockCursor(cocos2d::CCEGLView *this, char a2)
{
__int64 v2; // r8
*((_BYTE *)this + 236) = a2;
if ( a2 )
v2 = 212995;
else
v2 = (unsigned int)(*((_BYTE *)this + 235) != 0) + 212993;
sub_1800D5870(*((_QWORD *)this + 25), 208897, v2);
}