{"type": "func", "start": 6443323408, "end": 6443323448, "name": "sub_1800D5010", "pseudocode": "// \n// sub_1800D5010 from 0x1800d5010 to 0x1800d5038 (40 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCEGLView::windowShouldClose @ 0x180079450\n// > <???> @ 0x1801ba770\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_1800D5010(__int64 a1)\n{\n  if ( *(_DWORD *)&ModuleName )\n    return *(unsigned int *)(a1 + 28);\n  sub_1800D3530(0x10001u, nullptr);\n  return 0;\n}", "assembly": "; \n; sub_1800D5010 from 0x1800d5010 to 0x1800d5038 (40 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCEGLView::windowShouldClose @ 0x180079450\n; > <???> @ 0x1801ba770\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, 0x1800d5010\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x4, 0x1800d5014\njnz     short loc_1800D5030                                            ; +0xb, 0x1800d501b\nxor     edx, edx                                                       ; +0xd, 0x1800d501d\nmov     ecx, 10001h                                                    ; +0xf, 0x1800d501f\ncall    sub_1800D3530                                                  ; +0x14, 0x1800d5024\nxor     eax, eax                                                       ; +0x19, 0x1800d5029\nadd     rsp, 28h                                                       ; +0x1b, 0x1800d502b\nretn                                                                   ; +0x1f, 0x1800d502f\nmov     eax, [rcx+1Ch]                                                 ; +0x20, 0x1800d5030\nadd     rsp, 28h                                                       ; +0x23, 0x1800d5033\nretn                                                                   ; +0x27, 0x1800d5037", "xrefs": ["cocos2d::CCEGLView::windowShouldClose @ 0x180079450", "<???> @ 0x1801ba770"], "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"}