//
// cocos2d::CCEGLView::onGLFWCursorEnterFunCallback from 0x180077600 to 0x180077669 (105 bytes)
//
// 2 xrefs:
// > sub_180077670 @ 0x180077685
// > ??> @ 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::onGLFWCursorEnterFunCallback(
cocos2d::CCEGLView *this,
struct GLFWwindow *a2,
int a3)
{
__int64 v3; // r8
if ( a3 )
{
if ( !*((_BYTE *)this + 184) )
{
if ( !*((_BYTE *)this + 235) )
goto LABEL_7;
if ( !*((_BYTE *)this + 236) )
{
*((_BYTE *)this + 184) = 1;
v3 = 212994;
LABEL_10:
sub_1800D5870(*((_QWORD *)this + 25), 208897, v3);
return;
}
}
if ( *((_BYTE *)this + 235) )
return;
}
LABEL_7:
if ( *((_BYTE *)this + 184) && !*((_BYTE *)this + 236) )
{
*((_BYTE *)this + 184) = 0;
v3 = 212993;
goto LABEL_10;
}
}