{"type": "func", "start": 6443354592, "end": 6443354664, "name": "sub_1800DC9E0", "pseudocode": "// \n// sub_1800DC9E0 from 0x1800dc9e0 to 0x1800dca28 (72 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::resizeWindow @ 0x18007b5fe\n// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf9a\n// > <???> @ 0x1801c4e0c\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\nunsigned int __fastcall sub_1800DC9E0(__int64 a1)\n{\n  unsigned int result; // eax\n\n  if ( !*(_DWORD *)&ModuleName )\n    return (unsigned int)sub_1800DB260(0x10001u, nullptr);\n  if ( !*(_QWORD *)(a1 + 72) )\n  {\n    result = sub_1800D8F40(a1);\n    if ( *(_DWORD *)(a1 + 24) )\n      return (unsigned int)sub_1800D8060(a1);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DC9E0 from 0x1800dc9e0 to 0x1800dca28 (72 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::resizeWindow @ 0x18007b5fe\n; > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf9a\n; > <???> @ 0x1801c4e0c\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, 0x1800dc9e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800dc9e2\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x6, 0x1800dc9e6\nmov     rbx, rcx                                                       ; +0xd, 0x1800dc9ed\njnz     short loc_1800DCA03                                            ; +0x10, 0x1800dc9f0\nxor     edx, edx                                                       ; +0x12, 0x1800dc9f2\nmov     ecx, 10001h                                                    ; +0x14, 0x1800dc9f4\nadd     rsp, 20h                                                       ; +0x19, 0x1800dc9f9\npop     rbx                                                            ; +0x1d, 0x1800dc9fd\njmp     sub_1800DB260                                                  ; +0x1e, 0x1800dc9fe\ncmp     qword ptr [rcx+48h], 0                                         ; +0x23, 0x1800dca03\njnz     short loc_1800DCA22                                            ; +0x28, 0x1800dca08\ncall    sub_1800D8F40                                                  ; +0x2a, 0x1800dca0a\ncmp     dword ptr [rbx+18h], 0                                         ; +0x2f, 0x1800dca0f\njz      short loc_1800DCA22                                            ; +0x33, 0x1800dca13\nmov     rcx, rbx                                                       ; +0x35, 0x1800dca15\nadd     rsp, 20h                                                       ; +0x38, 0x1800dca18\npop     rbx                                                            ; +0x3c, 0x1800dca1c\njmp     sub_1800D8060                                                  ; +0x3d, 0x1800dca1d\nadd     rsp, 20h                                                       ; +0x42, 0x1800dca22\npop     rbx                                                            ; +0x46, 0x1800dca26\nretn                                                                   ; +0x47, 0x1800dca27", "xrefs": ["cocos2d::CCEGLView::resizeWindow @ 0x18007b5fe", "cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf9a", "<???> @ 0x1801c4e0c"], "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"}