{"type": "func", "start": 6442945712, "end": 6442945814, "name": "cocos2d::CCEGLView::showCursor", "pseudocode": "// \n// cocos2d::CCEGLView::showCursor from 0x180078cb0 to 0x180078d16 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4ae8\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::showCursor(cocos2d::CCEGLView *this, char a2)\n{\n  char v2; // al\n  _BYTE *v3; // rbx\n  char v4; // dl\n  __int64 v5; // r8\n\n  v2 = *((_BYTE *)this + 184);\n  v3 = (char *)this + 236;\n  v4 = a2 ^ 1;\n  *((_BYTE *)this + 235) = v4;\n  if ( v4 )\n  {\n    if ( !v2 || *v3 )\n    {\n      *((_BYTE *)this + 184) = 1;\n      v5 = 212994;\nLABEL_8:\n      sub_1800D5870(*((_QWORD *)this + 25), 208897, v5);\n    }\n  }\n  else if ( v2 || *v3 )\n  {\n    *((_BYTE *)this + 184) = 0;\n    v5 = 212993;\n    goto LABEL_8;\n  }\n  *v3 = 0;\n}", "assembly": "; \n; cocos2d::CCEGLView::showCursor from 0x180078cb0 to 0x180078d16 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4ae8\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\npush    rbx                                                            ; +0x0, 0x180078cb0\nsub     rsp, 20h                                                       ; +0x2, 0x180078cb2\nmovzx   eax, byte ptr [rcx+0B8h]                                       ; +0x6, 0x180078cb6\nlea     rbx, [rcx+0ECh]                                                ; +0xd, 0x180078cbd\nxor     dl, 1                                                          ; +0x14, 0x180078cc4\nmov     [rcx+0EBh], dl                                                 ; +0x17, 0x180078cc7\njz      short loc_180078CE7                                            ; +0x1d, 0x180078ccd\ntest    al, al                                                         ; +0x1f, 0x180078ccf\njz      short loc_180078CD8                                            ; +0x21, 0x180078cd1\ncmp     byte ptr [rbx], 0                                              ; +0x23, 0x180078cd3\njz      short loc_180078D0D                                            ; +0x26, 0x180078cd6\nmov     byte ptr [rcx+0B8h], 1                                         ; +0x28, 0x180078cd8\nmov     r8d, 34002h                                                    ; +0x2f, 0x180078cdf\njmp     short loc_180078CFC                                            ; +0x35, 0x180078ce5\ntest    al, al                                                         ; +0x37, 0x180078ce7\njnz     short loc_180078CEF                                            ; +0x39, 0x180078ce9\ncmp     [rbx], al                                                      ; +0x3b, 0x180078ceb\njz      short loc_180078D0D                                            ; +0x3d, 0x180078ced\nmov     byte ptr [rcx+0B8h], 0                                         ; +0x3f, 0x180078cef\nmov     r8d, 34001h                                                    ; +0x46, 0x180078cf6\nmov     rcx, [rcx+0C8h]                                                ; +0x4c, 0x180078cfc\nmov     edx, 33001h                                                    ; +0x53, 0x180078d03\ncall    sub_1800D5870                                                  ; +0x58, 0x180078d08\nmov     byte ptr [rbx], 0                                              ; +0x5d, 0x180078d0d\nadd     rsp, 20h                                                       ; +0x60, 0x180078d10\npop     rbx                                                            ; +0x64, 0x180078d14\nretn                                                                   ; +0x65, 0x180078d15", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4ae8"], "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"}