{"type": "func", "start": 6443354384, "end": 6443354435, "name": "sub_1800DC910", "pseudocode": "// \n// sub_1800DC910 from 0x1800dc910 to 0x1800dc943 (51 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCEGLView::setupWindow @ 0x18007ba0d\n// > <???> @ 0x1801c4df4\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\n__int64 __fastcall sub_1800DC910(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  if ( *(_DWORD *)&ModuleName )\n  {\n    result = *(_QWORD *)(a1 + 736);\n    *(_QWORD *)(a1 + 736) = a2;\n  }\n  else\n  {\n    sub_1800DB260(0x10001u, nullptr);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DC910 from 0x1800dc910 to 0x1800dc943 (51 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCEGLView::setupWindow @ 0x18007ba0d\n; > <???> @ 0x1801c4df4\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; \nsub     rsp, 28h                                                       ; +0x0, 0x1800dc910\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x4, 0x1800dc914\njnz     short loc_1800DC930                                            ; +0xb, 0x1800dc91b\nxor     edx, edx                                                       ; +0xd, 0x1800dc91d\nmov     ecx, 10001h                                                    ; +0xf, 0x1800dc91f\ncall    sub_1800DB260                                                  ; +0x14, 0x1800dc924\nxor     eax, eax                                                       ; +0x19, 0x1800dc929\nadd     rsp, 28h                                                       ; +0x1b, 0x1800dc92b\nretn                                                                   ; +0x1f, 0x1800dc92f\nmov     rax, [rcx+2E0h]                                                ; +0x20, 0x1800dc930\nmov     [rcx+2E0h], rdx                                                ; +0x27, 0x1800dc937\nadd     rsp, 28h                                                       ; +0x2e, 0x1800dc93e\nretn                                                                   ; +0x32, 0x1800dc942", "xrefs": ["cocos2d::CCEGLView::setupWindow @ 0x18007ba0d", "<???> @ 0x1801c4df4"], "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"}