{"type": "func", "start": 6443353728, "end": 6443353930, "name": "sub_1800DC680", "pseudocode": "// \n// sub_1800DC680 from 0x1800dc680 to 0x1800dc74a (202 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007be56\n// > sub_1800DB6E0 @ 0x1800db707\n// > <???> @ 0x1801c4db8\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:35 +0000\n// \n\nvoid __fastcall sub_1800DC680(__int64 *a1)\n{\n  __int64 *v2; // rcx\n  __int64 *i; // rdx\n\n  if ( *(_DWORD *)&ModuleName )\n  {\n    if ( a1 )\n    {\n      *((_OWORD *)a1 + 46) = 0;\n      *((_OWORD *)a1 + 47) = 0;\n      *((_OWORD *)a1 + 48) = 0;\n      *((_OWORD *)a1 + 49) = 0;\n      *((_OWORD *)a1 + 50) = 0;\n      *((_OWORD *)a1 + 51) = 0;\n      *((_OWORD *)a1 + 52) = 0;\n      *((_OWORD *)a1 + 53) = 0;\n      *((_OWORD *)a1 + 54) = 0;\n      if ( a1 == (__int64 *)sub_1800DE110(&unk_1801B520C) )\n        sub_1800D7B50(0);\n      sub_1800D7FA0((__int64)a1);\n      v2 = (__int64 *)qword_1801B3FE0;\n      for ( i = &qword_1801B3FE0; v2 != a1; v2 = (__int64 *)*v2 )\n        i = v2;\n      *i = *a1;\n      free(a1);\n    }\n  }\n  else\n  {\n    sub_1800DB260(0x10001u, nullptr);\n  }\n}", "assembly": "; \n; sub_1800DC680 from 0x1800dc680 to 0x1800dc74a (202 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::toggleFullScreen @ 0x18007be56\n; > sub_1800DB6E0 @ 0x1800db707\n; > <???> @ 0x1801c4db8\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:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800dc680\nsub     rsp, 20h                                                       ; +0x2, 0x1800dc682\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x6, 0x1800dc686\nmov     rbx, rcx                                                       ; +0xd, 0x1800dc68d\njnz     short loc_1800DC6A3                                            ; +0x10, 0x1800dc690\nxor     edx, edx                                                       ; +0x12, 0x1800dc692\nmov     ecx, 10001h                                                    ; +0x14, 0x1800dc694\nadd     rsp, 20h                                                       ; +0x19, 0x1800dc699\npop     rbx                                                            ; +0x1d, 0x1800dc69d\njmp     sub_1800DB260                                                  ; +0x1e, 0x1800dc69e\ntest    rbx, rbx                                                       ; +0x23, 0x1800dc6a3\njz      loc_1800DC744                                                  ; +0x26, 0x1800dc6a6\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x1800dc6ac\nmovups  xmmword ptr [rcx+2E0h], xmm0                                   ; +0x2f, 0x1800dc6af\nmovups  xmmword ptr [rcx+2F0h], xmm0                                   ; +0x36, 0x1800dc6b6\nmovups  xmmword ptr [rcx+300h], xmm0                                   ; +0x3d, 0x1800dc6bd\nmovups  xmmword ptr [rcx+310h], xmm0                                   ; +0x44, 0x1800dc6c4\nmovups  xmmword ptr [rcx+320h], xmm0                                   ; +0x4b, 0x1800dc6cb\nmovups  xmmword ptr [rcx+330h], xmm0                                   ; +0x52, 0x1800dc6d2\nmovups  xmmword ptr [rcx+340h], xmm0                                   ; +0x59, 0x1800dc6d9\nmovups  xmmword ptr [rcx+350h], xmm0                                   ; +0x60, 0x1800dc6e0\nmovups  xmmword ptr [rcx+360h], xmm0                                   ; +0x67, 0x1800dc6e7\nlea     rcx, unk_1801B520C                                             ; +0x6e, 0x1800dc6ee\ncall    sub_1800DE110                                                  ; +0x75, 0x1800dc6f5\ncmp     rbx, rax                                                       ; +0x7a, 0x1800dc6fa\njnz     short loc_1800DC706                                            ; +0x7d, 0x1800dc6fd\nxor     ecx, ecx                                                       ; +0x7f, 0x1800dc6ff\ncall    sub_1800D7B50                                                  ; +0x81, 0x1800dc701\nmov     rcx, rbx                                                       ; +0x86, 0x1800dc706\ncall    sub_1800D7FA0                                                  ; +0x89, 0x1800dc709\nmov     rcx, cs:qword_1801B3FE0                                        ; +0x8e, 0x1800dc70e\nlea     rdx, qword_1801B3FE0                                           ; +0x95, 0x1800dc715\ncmp     rcx, rbx                                                       ; +0x9c, 0x1800dc71c\njz      short loc_1800DC72F                                            ; +0x9f, 0x1800dc71f\nmov     rax, [rcx]                                                     ; +0xa1, 0x1800dc721\nmov     rdx, rcx                                                       ; +0xa4, 0x1800dc724\nmov     rcx, rax                                                       ; +0xa7, 0x1800dc727\ncmp     rax, rbx                                                       ; +0xaa, 0x1800dc72a\njnz     short loc_1800DC721                                            ; +0xad, 0x1800dc72d\nmov     rax, [rbx]                                                     ; +0xaf, 0x1800dc72f\nmov     rcx, rbx                                                       ; +0xb2, 0x1800dc732\nmov     [rdx], rax                                                     ; +0xb5, 0x1800dc735\nadd     rsp, 20h                                                       ; +0xb8, 0x1800dc738\npop     rbx                                                            ; +0xbc, 0x1800dc73c\njmp     cs:__imp_free                                                  ; +0xbd, 0x1800dc73d\nadd     rsp, 20h                                                       ; +0xc4, 0x1800dc744\npop     rbx                                                            ; +0xc8, 0x1800dc748\nretn                                                                   ; +0xc9, 0x1800dc749", "xrefs": ["cocos2d::CCEGLView::toggleFullScreen @ 0x18007be56", "sub_1800DB6E0 @ 0x1800db707", "<???> @ 0x1801c4db8"], "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"}