{"type": "func", "start": 6442958912, "end": 6442958968, "name": "cocos2d::CCEGLView::toggleLockCursor", "pseudocode": "// \n// cocos2d::CCEGLView::toggleLockCursor from 0x18007c040 to 0x18007c078 (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:00 +0000\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_1800DD5A0(*((_QWORD *)this + 25), 208897, v2);\n}", "assembly": "; \n; cocos2d::CCEGLView::toggleLockCursor from 0x18007c040 to 0x18007c078 (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:00 +0000\n; \nmov     [rcx+0ECh], dl                                                 ; +0x0, 0x18007c040\ntest    dl, dl                                                         ; +0x6, 0x18007c046\njz      short loc_18007C052                                            ; +0x8, 0x18007c048\nmov     r8d, 34003h                                                    ; +0xa, 0x18007c04a\njmp     short loc_18007C067                                            ; +0x10, 0x18007c050\nxor     r8d, r8d                                                       ; +0x12, 0x18007c052\ncmp     [rcx+0EBh], r8b                                                ; +0x15, 0x18007c055\nsetnz   r8b                                                            ; +0x1c, 0x18007c05c\nadd     r8d, 34001h                                                    ; +0x20, 0x18007c060\nmov     rcx, [rcx+0C8h]                                                ; +0x27, 0x18007c067\nmov     edx, 33001h                                                    ; +0x2e, 0x18007c06e\njmp     sub_1800DD5A0                                                  ; +0x33, 0x18007c073", "xrefs": ["<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}