{"type": "func", "start": 6442939904, "end": 6442940009, "name": "cocos2d::CCEGLView::onGLFWCursorEnterFunCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWCursorEnterFunCallback from 0x180077600 to 0x180077669 (105 bytes)\n// \n// 2 xrefs:\n// > sub_180077670 @ 0x180077685\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCEGLView::onGLFWCursorEnterFunCallback(\n        cocos2d::CCEGLView *this,\n        struct GLFWwindow *a2,\n        int a3)\n{\n  __int64 v3; // r8\n\n  if ( a3 )\n  {\n    if ( !*((_BYTE *)this + 184) )\n    {\n      if ( !*((_BYTE *)this + 235) )\n        goto LABEL_7;\n      if ( !*((_BYTE *)this + 236) )\n      {\n        *((_BYTE *)this + 184) = 1;\n        v3 = 212994;\nLABEL_10:\n        sub_1800D5870(*((_QWORD *)this + 25), 208897, v3);\n        return;\n      }\n    }\n    if ( *((_BYTE *)this + 235) )\n      return;\n  }\nLABEL_7:\n  if ( *((_BYTE *)this + 184) && !*((_BYTE *)this + 236) )\n  {\n    *((_BYTE *)this + 184) = 0;\n    v3 = 212993;\n    goto LABEL_10;\n  }\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWCursorEnterFunCallback from 0x180077600 to 0x180077669 (105 bytes)\n; \n; 2 xrefs:\n; > sub_180077670 @ 0x180077685\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    r8d, r8d                                                       ; +0x0, 0x180077600\njz      short loc_180077638                                            ; +0x3, 0x180077603\ncmp     byte ptr [rcx+0B8h], 0                                         ; +0x5, 0x180077605\njnz     short loc_18007762F                                            ; +0xc, 0x18007760c\ncmp     byte ptr [rcx+0EBh], 0                                         ; +0xe, 0x18007760e\njz      short loc_180077638                                            ; +0x15, 0x180077615\ncmp     byte ptr [rcx+0ECh], 0                                         ; +0x17, 0x180077617\njnz     short loc_18007762F                                            ; +0x1e, 0x18007761e\nmov     byte ptr [rcx+0B8h], 1                                         ; +0x20, 0x180077620\nmov     r8d, 34002h                                                    ; +0x27, 0x180077627\njmp     short loc_180077657                                            ; +0x2d, 0x18007762d\ncmp     byte ptr [rcx+0EBh], 0                                         ; +0x2f, 0x18007762f\njnz     short locret_180077668                                         ; +0x36, 0x180077636\ncmp     byte ptr [rcx+0B8h], 0                                         ; +0x38, 0x180077638\njz      short locret_180077668                                         ; +0x3f, 0x18007763f\ncmp     byte ptr [rcx+0ECh], 0                                         ; +0x41, 0x180077641\njnz     short locret_180077668                                         ; +0x48, 0x180077648\nmov     byte ptr [rcx+0B8h], 0                                         ; +0x4a, 0x18007764a\nmov     r8d, 34001h                                                    ; +0x51, 0x180077651\nmov     rcx, [rcx+0C8h]                                                ; +0x57, 0x180077657\nmov     edx, 33001h                                                    ; +0x5e, 0x18007765e\njmp     sub_1800D5870                                                  ; +0x63, 0x180077663\nretn                                                                   ; +0x68, 0x180077668", "xrefs": ["sub_180077670 @ 0x180077685", "<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}