{"type": "func", "start": 6443336480, "end": 6443336524, "name": "sub_1800D8320", "pseudocode": "// \n// sub_1800D8320 from 0x1800d8320 to 0x1800d834c (44 bytes)\n// \n// 18 xrefs:\n// > cocos2d::CCEGLView::capture @ 0x18007660b\n// > cocos2d::CCEGLView::checkErrorGL @ 0x1800766cb\n// > cocos2d::CCEGLView::getDisplaySize @ 0x180076b54\n// > cocos2d::CCEGLView::initGlew @ 0x180076fea\n// > cocos2d::CCEGLView::initGlew @ 0x18007702f\n// > cocos2d::CCEGLView::initWithRect @ 0x1800773d6\n// > cocos2d::CCEGLView::initWithRect @ 0x18007749d\n// > cocos2d::CCEGLView::makeBorderlessTop @ 0x180077526\n// > cocos2d::CCEGLView::onGLFWError @ 0x18007772b\n// > sub_180077760 @ 0x18007779a\n// > cocos2d::CCEGLView::onGLFWWindowFocus @ 0x180077af3\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007809e\n// > cocos2d::CCEGLView::pumpRawInput @ 0x180078147\n// > cocos2d::CCEGLView::setupWindow @ 0x180078ac9\n// > cocos2d::CCEGLView::setupWindow @ 0x180078b46\n// > cocos2d::CCEGLView::showMessage @ 0x180078d46\n// > cocos2d::CCEGLView::toggleFullScreen @ 0x180078ff1\n// > <???> @ 0x1801baa94\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_1800D8320(__int64 a1)\n{\n  if ( *(_DWORD *)&ModuleName )\n    return *(_QWORD *)(a1 + 880);\n  sub_1800D3530(0x10001u, nullptr);\n  return 0;\n}", "assembly": "; \n; sub_1800D8320 from 0x1800d8320 to 0x1800d834c (44 bytes)\n; \n; 18 xrefs:\n; > cocos2d::CCEGLView::capture @ 0x18007660b\n; > cocos2d::CCEGLView::checkErrorGL @ 0x1800766cb\n; > cocos2d::CCEGLView::getDisplaySize @ 0x180076b54\n; > cocos2d::CCEGLView::initGlew @ 0x180076fea\n; > cocos2d::CCEGLView::initGlew @ 0x18007702f\n; > cocos2d::CCEGLView::initWithRect @ 0x1800773d6\n; > cocos2d::CCEGLView::initWithRect @ 0x18007749d\n; > cocos2d::CCEGLView::makeBorderlessTop @ 0x180077526\n; > cocos2d::CCEGLView::onGLFWError @ 0x18007772b\n; > sub_180077760 @ 0x18007779a\n; > cocos2d::CCEGLView::onGLFWWindowFocus @ 0x180077af3\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007809e\n; > cocos2d::CCEGLView::pumpRawInput @ 0x180078147\n; > cocos2d::CCEGLView::setupWindow @ 0x180078ac9\n; > cocos2d::CCEGLView::setupWindow @ 0x180078b46\n; > cocos2d::CCEGLView::showMessage @ 0x180078d46\n; > cocos2d::CCEGLView::toggleFullScreen @ 0x180078ff1\n; > <???> @ 0x1801baa94\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, 0x1800d8320\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x4, 0x1800d8324\njnz     short loc_1800D8340                                            ; +0xb, 0x1800d832b\nxor     edx, edx                                                       ; +0xd, 0x1800d832d\nmov     ecx, 10001h                                                    ; +0xf, 0x1800d832f\ncall    sub_1800D3530                                                  ; +0x14, 0x1800d8334\nxor     eax, eax                                                       ; +0x19, 0x1800d8339\nadd     rsp, 28h                                                       ; +0x1b, 0x1800d833b\nretn                                                                   ; +0x1f, 0x1800d833f\nmov     rax, [rcx+370h]                                                ; +0x20, 0x1800d8340\nadd     rsp, 28h                                                       ; +0x27, 0x1800d8347\nretn                                                                   ; +0x2b, 0x1800d834b", "xrefs": ["cocos2d::CCEGLView::capture @ 0x18007660b", "cocos2d::CCEGLView::checkErrorGL @ 0x1800766cb", "cocos2d::CCEGLView::getDisplaySize @ 0x180076b54", "cocos2d::CCEGLView::initGlew @ 0x180076fea", "cocos2d::CCEGLView::initGlew @ 0x18007702f", "cocos2d::CCEGLView::initWithRect @ 0x1800773d6", "cocos2d::CCEGLView::initWithRect @ 0x18007749d", "cocos2d::CCEGLView::makeBorderlessTop @ 0x180077526", "cocos2d::CCEGLView::onGLFWError @ 0x18007772b", "sub_180077760 @ 0x18007779a", "cocos2d::CCEGLView::onGLFWWindowFocus @ 0x180077af3", "cocos2d::CCEGLView::pumpRawInput @ 0x18007809e", "cocos2d::CCEGLView::pumpRawInput @ 0x180078147", "cocos2d::CCEGLView::setupWindow @ 0x180078ac9", "cocos2d::CCEGLView::setupWindow @ 0x180078b46", "cocos2d::CCEGLView::showMessage @ 0x180078d46", "cocos2d::CCEGLView::toggleFullScreen @ 0x180078ff1", "<???> @ 0x1801baa94"], "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"}