{"type": "func", "start": 6443354112, "end": 6443354162, "name": "sub_1800DC800", "pseudocode": "// \n// sub_1800DC800 from 0x1800dc800 to 0x1800dc832 (50 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCEGLView::initWithRect @ 0x18007a172\n// > cocos2d::CCEGLView::updateWindow @ 0x18007c238\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\nint __fastcall sub_1800DC800(__int64 a1, int a2, LONG a3)\n{\n  int result; // eax\n\n  if ( !*(_DWORD *)&ModuleName )\n    return (unsigned int)sub_1800DB260(0x10001u, nullptr);\n  if ( !*(_DWORD *)(a1 + 912) )\n  {\n    if ( *(_QWORD *)(a1 + 72) )\n    {\n      *(_DWORD *)(a1 + 44) = a2;\n      *(_DWORD *)(a1 + 48) = a3;\n    }\n    return sub_1800D9060(a1, a2, a3);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800DC800 from 0x1800dc800 to 0x1800dc832 (50 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCEGLView::initWithRect @ 0x18007a172\n; > cocos2d::CCEGLView::updateWindow @ 0x18007c238\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; \ncmp     dword ptr cs:ModuleName, 0                                     ; +0x0, 0x1800dc800\njnz     short loc_1800DC815                                            ; +0x7, 0x1800dc807\nxor     edx, edx                                                       ; +0x9, 0x1800dc809\nmov     ecx, 10001h                                                    ; +0xb, 0x1800dc80b\njmp     sub_1800DB260                                                  ; +0x10, 0x1800dc810\ncmp     dword ptr [rcx+390h], 0                                        ; +0x15, 0x1800dc815\njnz     short locret_1800DC831                                         ; +0x1c, 0x1800dc81c\ncmp     qword ptr [rcx+48h], 0                                         ; +0x1e, 0x1800dc81e\njz      short loc_1800DC82C                                            ; +0x23, 0x1800dc823\nmov     [rcx+2Ch], edx                                                 ; +0x25, 0x1800dc825\nmov     [rcx+30h], r8d                                                 ; +0x28, 0x1800dc828\njmp     sub_1800D9060                                                  ; +0x2c, 0x1800dc82c\nretn                                                                   ; +0x31, 0x1800dc831", "xrefs": ["cocos2d::CCEGLView::initWithRect @ 0x18007a172", "cocos2d::CCEGLView::updateWindow @ 0x18007c238"], "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"}