{"type": "func", "start": 6443319792, "end": 6443319857, "name": "sub_1800D41F0", "pseudocode": "// \n// sub_1800D41F0 from 0x1800d41f0 to 0x1800d4231 (65 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::initWithFullScreen @ 0x1800770a0\n// > cocos2d::CCEGLView::toggleFullScreen @ 0x180078e79\n// > <???> @ 0x1801ba674\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 sub_1800D41F0(__int64 a1)\n{\n  __int64 v2; // rbx\n\n  if ( *(_DWORD *)&ModuleName )\n  {\n    v2 = a1 + 164;\n    sub_1800DAD10(a1, a1 + 164);\n    return v2;\n  }\n  else\n  {\n    sub_1800D3530(0x10001u, nullptr);\n    return 0;\n  }\n}", "assembly": "; \n; sub_1800D41F0 from 0x1800d41f0 to 0x1800d4231 (65 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::initWithFullScreen @ 0x1800770a0\n; > cocos2d::CCEGLView::toggleFullScreen @ 0x180078e79\n; > <???> @ 0x1801ba674\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800d41f0\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x4, 0x1800d41f4\njnz     short loc_1800D4210                                            ; +0xb, 0x1800d41fb\nxor     edx, edx                                                       ; +0xd, 0x1800d41fd\nmov     ecx, 10001h                                                    ; +0xf, 0x1800d41ff\ncall    sub_1800D3530                                                  ; +0x14, 0x1800d4204\nxor     eax, eax                                                       ; +0x19, 0x1800d4209\nadd     rsp, 28h                                                       ; +0x1b, 0x1800d420b\nretn                                                                   ; +0x1f, 0x1800d420f\nmov     [rsp+28h+var_8], rbx                                           ; +0x20, 0x1800d4210\nlea     rbx, [rcx+0A4h]                                                ; +0x25, 0x1800d4215\nmov     rdx, rbx                                                       ; +0x2c, 0x1800d421c\ncall    sub_1800DAD10                                                  ; +0x2f, 0x1800d421f\nmov     rax, rbx                                                       ; +0x34, 0x1800d4224\nmov     rbx, [rsp+28h+var_8]                                           ; +0x37, 0x1800d4227\nadd     rsp, 28h                                                       ; +0x3c, 0x1800d422c\nretn                                                                   ; +0x40, 0x1800d4230", "xrefs": ["cocos2d::CCEGLView::initWithFullScreen @ 0x1800770a0", "cocos2d::CCEGLView::toggleFullScreen @ 0x180078e79", "<???> @ 0x1801ba674"], "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"}