{"type": "func", "start": 6443349504, "end": 6443349694, "name": "sub_1800DB600", "pseudocode": "// \n// sub_1800DB600 from 0x1800db600 to 0x1800db6be (190 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCEGLView::CCEGLView @ 0x180078309\n// > <???> @ 0x1801c4c38\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:34 +0000\n// \n\n__int64 sub_1800DB600()\n{\n  if ( *(_DWORD *)&ModuleName )\n    return 1;\n  *(_QWORD *)&ModuleName = 0;\n  memset(&xmmword_1801B3C08, 0, 0x26D8u);\n  xmmword_1801B3BF8 = xmmword_1801AD2F8;\n  if ( (unsigned int)sub_1800E1D90()\n    && (unsigned int)sub_1800DE030(&unk_1801B5218)\n    && (unsigned int)sub_1800DE060(&unk_1801B5204)\n    && (unsigned int)sub_1800DE060(&unk_1801B520C) )\n  {\n    sub_1800DE130(&unk_1801B5204, &unk_1801B62E0);\n    sub_1800DCFF0();\n    wcscpy(&ModuleName, L\"\\x01\");\n    qword_1801B5248 = sub_1800E3A00();\n    sub_1800DC580();\n    return 1;\n  }\n  sub_1800DB6E0();\n  return 0;\n}", "assembly": "; \n; sub_1800DB600 from 0x1800db600 to 0x1800db6be (190 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCEGLView::CCEGLView @ 0x180078309\n; > <???> @ 0x1801c4c38\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:34 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800db600\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x4, 0x1800db604\njnz     loc_1800DB6A8                                                  ; +0xb, 0x1800db60b\nxor     eax, eax                                                       ; +0x11, 0x1800db611\nlea     rcx, xmmword_1801B3C08; void *                                 ; +0x13, 0x1800db613\nxor     edx, edx; Val                                                  ; +0x1a, 0x1800db61a\nmov     cs:ModuleName, rax                                             ; +0x1c, 0x1800db61c\nmov     r8d, 26D8h; Size                                               ; +0x23, 0x1800db623\ncall    memset                                                         ; +0x29, 0x1800db629\nmovups  xmm0, cs:xmmword_1801AD2F8                                     ; +0x2e, 0x1800db62e\nmovups  cs:xmmword_1801B3BF8, xmm0                                     ; +0x35, 0x1800db635\ncall    sub_1800E1D90                                                  ; +0x3c, 0x1800db63c\ntest    eax, eax                                                       ; +0x41, 0x1800db641\njz      short loc_1800DB6B2                                            ; +0x43, 0x1800db643\nlea     rcx, unk_1801B5218                                             ; +0x45, 0x1800db645\ncall    sub_1800DE030                                                  ; +0x4c, 0x1800db64c\ntest    eax, eax                                                       ; +0x51, 0x1800db651\njz      short loc_1800DB6B2                                            ; +0x53, 0x1800db653\nlea     rcx, unk_1801B5204                                             ; +0x55, 0x1800db655\ncall    sub_1800DE060                                                  ; +0x5c, 0x1800db65c\ntest    eax, eax                                                       ; +0x61, 0x1800db661\njz      short loc_1800DB6B2                                            ; +0x63, 0x1800db663\nlea     rcx, unk_1801B520C                                             ; +0x65, 0x1800db665\ncall    sub_1800DE060                                                  ; +0x6c, 0x1800db66c\ntest    eax, eax                                                       ; +0x71, 0x1800db671\njz      short loc_1800DB6B2                                            ; +0x73, 0x1800db673\nlea     rdx, unk_1801B62E0                                             ; +0x75, 0x1800db675\nlea     rcx, unk_1801B5204                                             ; +0x7c, 0x1800db67c\ncall    sub_1800DE130                                                  ; +0x83, 0x1800db683\ncall    sub_1800DCFF0                                                  ; +0x88, 0x1800db688\nmov     dword ptr cs:ModuleName, 1                                     ; +0x8d, 0x1800db68d\ncall    sub_1800E3A00                                                  ; +0x97, 0x1800db697\nmov     cs:qword_1801B5248, rax                                        ; +0x9c, 0x1800db69c\ncall    sub_1800DC580                                                  ; +0xa3, 0x1800db6a3\nmov     eax, 1                                                         ; +0xa8, 0x1800db6a8\nadd     rsp, 28h                                                       ; +0xad, 0x1800db6ad\nretn                                                                   ; +0xb1, 0x1800db6b1\ncall    sub_1800DB6E0                                                  ; +0xb2, 0x1800db6b2\nxor     eax, eax                                                       ; +0xb7, 0x1800db6b7\nadd     rsp, 28h                                                       ; +0xb9, 0x1800db6b9\nretn                                                                   ; +0xbd, 0x1800db6bd", "xrefs": ["cocos2d::CCEGLView::CCEGLView @ 0x180078309", "<???> @ 0x1801c4c38"], "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"}