{"type": "func", "start": 6443321888, "end": 6443321930, "name": "sub_1800D4A20", "pseudocode": "// \n// sub_1800D4A20 from 0x1800d4a20 to 0x1800d4a4a (42 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCEGLView::initWithRect @ 0x180077450\n// > cocos2d::CCEGLView::updateFrameSize @ 0x1800790e9\n// > cocos2d::CCEGLView::updateFrameSize @ 0x180079107\n// > cocos2d::CCEGLView::updateWindow @ 0x18007923e\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_1800D4A20(__int64 a1, _DWORD *a2, _DWORD *a3))(_QWORD, _QWORD)\n{\n  if ( a2 )\n    *a2 = 0;\n  if ( a3 )\n    *a3 = 0;\n  if ( *(_DWORD *)&ModuleName )\n    return (__int64 (__fastcall *)(_QWORD, _QWORD))sub_1800D6780(a1, a2, a3);\n  else\n    return sub_1800D3530(0x10001u, nullptr);\n}", "assembly": "; \n; sub_1800D4A20 from 0x1800d4a20 to 0x1800d4a4a (42 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCEGLView::initWithRect @ 0x180077450\n; > cocos2d::CCEGLView::updateFrameSize @ 0x1800790e9\n; > cocos2d::CCEGLView::updateFrameSize @ 0x180079107\n; > cocos2d::CCEGLView::updateWindow @ 0x18007923e\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\nxor     eax, eax                                                       ; +0x0, 0x1800d4a20\ntest    rdx, rdx                                                       ; +0x2, 0x1800d4a22\njz      short loc_1800D4A29                                            ; +0x5, 0x1800d4a25\nmov     [rdx], eax                                                     ; +0x7, 0x1800d4a27\ntest    r8, r8                                                         ; +0x9, 0x1800d4a29\njz      short loc_1800D4A31                                            ; +0xc, 0x1800d4a2c\nmov     [r8], eax                                                      ; +0xe, 0x1800d4a2e\ncmp     dword ptr cs:ModuleName, eax                                   ; +0x11, 0x1800d4a31\njnz     short loc_1800D4A45                                            ; +0x17, 0x1800d4a37\nxor     edx, edx                                                       ; +0x19, 0x1800d4a39\nmov     ecx, 10001h                                                    ; +0x1b, 0x1800d4a3b\njmp     sub_1800D3530                                                  ; +0x20, 0x1800d4a40\njmp     sub_1800D6780                                                  ; +0x25, 0x1800d4a45", "xrefs": ["cocos2d::CCEGLView::initWithRect @ 0x180077450", "cocos2d::CCEGLView::updateFrameSize @ 0x1800790e9", "cocos2d::CCEGLView::updateFrameSize @ 0x180079107", "cocos2d::CCEGLView::updateWindow @ 0x18007923e"], "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"}