{"type": "func", "start": 6443322544, "end": 6443322616, "name": "sub_1800D4CB0", "pseudocode": "// \n// sub_1800D4CB0 from 0x1800d4cb0 to 0x1800d4cf8 (72 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::resizeWindow @ 0x18007881e\n// > cocos2d::CCEGLView::toggleFullScreen @ 0x180078f92\n// > <???> @ 0x1801ba764\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 (__fastcall *__fastcall sub_1800D4CB0(__int64 a1))(_QWORD, _QWORD)\n{\n  __int64 (__fastcall *result)(_QWORD, _QWORD); // rax\n\n  if ( !*(_DWORD *)&ModuleName )\n    return sub_1800D3530(0x10001u, nullptr);\n  if ( !*(_QWORD *)(a1 + 72) )\n  {\n    result = (__int64 (__fastcall *)(_QWORD, _QWORD))sub_1800D75B0();\n    if ( *(_DWORD *)(a1 + 24) )\n      return (__int64 (__fastcall *)(_QWORD, _QWORD))sub_1800D66D0(a1);\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D4CB0 from 0x1800d4cb0 to 0x1800d4cf8 (72 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::resizeWindow @ 0x18007881e\n; > cocos2d::CCEGLView::toggleFullScreen @ 0x180078f92\n; > <???> @ 0x1801ba764\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800d4cb0\nsub     rsp, 20h                                                       ; +0x2, 0x1800d4cb2\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x6, 0x1800d4cb6\nmov     rbx, rcx                                                       ; +0xd, 0x1800d4cbd\njnz     short loc_1800D4CD3                                            ; +0x10, 0x1800d4cc0\nxor     edx, edx                                                       ; +0x12, 0x1800d4cc2\nmov     ecx, 10001h                                                    ; +0x14, 0x1800d4cc4\nadd     rsp, 20h                                                       ; +0x19, 0x1800d4cc9\npop     rbx                                                            ; +0x1d, 0x1800d4ccd\njmp     sub_1800D3530                                                  ; +0x1e, 0x1800d4cce\ncmp     qword ptr [rcx+48h], 0                                         ; +0x23, 0x1800d4cd3\njnz     short loc_1800D4CF2                                            ; +0x28, 0x1800d4cd8\ncall    sub_1800D75B0                                                  ; +0x2a, 0x1800d4cda\ncmp     dword ptr [rbx+18h], 0                                         ; +0x2f, 0x1800d4cdf\njz      short loc_1800D4CF2                                            ; +0x33, 0x1800d4ce3\nmov     rcx, rbx                                                       ; +0x35, 0x1800d4ce5\nadd     rsp, 20h                                                       ; +0x38, 0x1800d4ce8\npop     rbx                                                            ; +0x3c, 0x1800d4cec\njmp     sub_1800D66D0                                                  ; +0x3d, 0x1800d4ced\nadd     rsp, 20h                                                       ; +0x42, 0x1800d4cf2\npop     rbx                                                            ; +0x46, 0x1800d4cf6\nretn                                                                   ; +0x47, 0x1800d4cf7", "xrefs": ["cocos2d::CCEGLView::resizeWindow @ 0x18007881e", "cocos2d::CCEGLView::toggleFullScreen @ 0x180078f92", "<???> @ 0x1801ba764"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}