{"type": "func", "start": 6442946608, "end": 6442946664, "name": "cocos2d::CCEGLView::toggleLockCursor", "pseudocode": "// \n// cocos2d::CCEGLView::toggleLockCursor from 0x180079030 to 0x180079068 (56 bytes)\n// \n// 1 xrefs:\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::toggleLockCursor(cocos2d::CCEGLView *this, char a2)\n{\n  __int64 v2; // r8\n\n  *((_BYTE *)this + 236) = a2;\n  if ( a2 )\n    v2 = 212995;\n  else\n    v2 = (unsigned int)(*((_BYTE *)this + 235) != 0) + 212993;\n  sub_1800D5870(*((_QWORD *)this + 25), 208897, v2);\n}", "assembly": "; \n; cocos2d::CCEGLView::toggleLockCursor from 0x180079030 to 0x180079068 (56 bytes)\n; \n; 1 xrefs:\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\nmov     [rcx+0ECh], dl                                                 ; +0x0, 0x180079030\ntest    dl, dl                                                         ; +0x6, 0x180079036\njz      short loc_180079042                                            ; +0x8, 0x180079038\nmov     r8d, 34003h                                                    ; +0xa, 0x18007903a\njmp     short loc_180079057                                            ; +0x10, 0x180079040\nxor     r8d, r8d                                                       ; +0x12, 0x180079042\ncmp     [rcx+0EBh], r8b                                                ; +0x15, 0x180079045\nsetnz   r8b                                                            ; +0x1c, 0x18007904c\nadd     r8d, 34001h                                                    ; +0x20, 0x180079050\nmov     rcx, [rcx+0C8h]                                                ; +0x27, 0x180079057\nmov     edx, 33001h                                                    ; +0x2e, 0x18007905e\njmp     sub_1800D5870                                                  ; +0x33, 0x180079063", "xrefs": ["<???> @ 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"}