{"type": "func", "start": 6442957520, "end": 6442957622, "name": "cocos2d::CCEGLView::showCursor", "pseudocode": "// \n// cocos2d::CCEGLView::showCursor from 0x18007bad0 to 0x18007bb36 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bedd0\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::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_1800DD5A0(*((_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 0x18007bad0 to 0x18007bb36 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bedd0\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; \npush    rbx                                                            ; +0x0, 0x18007bad0\nsub     rsp, 20h                                                       ; +0x2, 0x18007bad2\nmovzx   eax, byte ptr [rcx+0B8h]                                       ; +0x6, 0x18007bad6\nlea     rbx, [rcx+0ECh]                                                ; +0xd, 0x18007badd\nxor     dl, 1                                                          ; +0x14, 0x18007bae4\nmov     [rcx+0EBh], dl                                                 ; +0x17, 0x18007bae7\njz      short loc_18007BB07                                            ; +0x1d, 0x18007baed\ntest    al, al                                                         ; +0x1f, 0x18007baef\njz      short loc_18007BAF8                                            ; +0x21, 0x18007baf1\ncmp     byte ptr [rbx], 0                                              ; +0x23, 0x18007baf3\njz      short loc_18007BB2D                                            ; +0x26, 0x18007baf6\nmov     byte ptr [rcx+0B8h], 1                                         ; +0x28, 0x18007baf8\nmov     r8d, 34002h                                                    ; +0x2f, 0x18007baff\njmp     short loc_18007BB1C                                            ; +0x35, 0x18007bb05\ntest    al, al                                                         ; +0x37, 0x18007bb07\njnz     short loc_18007BB0F                                            ; +0x39, 0x18007bb09\ncmp     [rbx], al                                                      ; +0x3b, 0x18007bb0b\njz      short loc_18007BB2D                                            ; +0x3d, 0x18007bb0d\nmov     byte ptr [rcx+0B8h], 0                                         ; +0x3f, 0x18007bb0f\nmov     r8d, 34001h                                                    ; +0x46, 0x18007bb16\nmov     rcx, [rcx+0C8h]                                                ; +0x4c, 0x18007bb1c\nmov     edx, 33001h                                                    ; +0x53, 0x18007bb23\ncall    sub_1800DD5A0                                                  ; +0x58, 0x18007bb28\nmov     byte ptr [rbx], 0                                              ; +0x5d, 0x18007bb2d\nadd     rsp, 20h                                                       ; +0x60, 0x18007bb30\npop     rbx                                                            ; +0x64, 0x18007bb34\nretn                                                                   ; +0x65, 0x18007bb35", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bedd0"], "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"}