{"type": "func", "start": 6443322064, "end": 6443322114, "name": "sub_1800D4AD0", "pseudocode": "// \n// sub_1800D4AD0 from 0x1800d4ad0 to 0x1800d4b02 (50 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCEGLView::initWithRect @ 0x18007743a\n// > cocos2d::CCEGLView::updateWindow @ 0x180079228\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_1800D4AD0(__int64 a1, int a2, int a3))(_QWORD, _QWORD)\n{\n  __int64 (__fastcall *result)(_QWORD, _QWORD); // rax\n\n  if ( !*(_DWORD *)&ModuleName )\n    return sub_1800D3530(0x10001u, nullptr);\n  if ( !*(_DWORD *)(a1 + 912) )\n  {\n    if ( *(_QWORD *)(a1 + 72) )\n    {\n      *(_DWORD *)(a1 + 44) = a2;\n      *(_DWORD *)(a1 + 48) = a3;\n    }\n    return (__int64 (__fastcall *)(_QWORD, _QWORD))sub_1800D76D0();\n  }\n  return result;\n}", "assembly": "; \n; sub_1800D4AD0 from 0x1800d4ad0 to 0x1800d4b02 (50 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCEGLView::initWithRect @ 0x18007743a\n; > cocos2d::CCEGLView::updateWindow @ 0x180079228\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\ncmp     dword ptr cs:ModuleName, 0                                     ; +0x0, 0x1800d4ad0\njnz     short loc_1800D4AE5                                            ; +0x7, 0x1800d4ad7\nxor     edx, edx                                                       ; +0x9, 0x1800d4ad9\nmov     ecx, 10001h                                                    ; +0xb, 0x1800d4adb\njmp     sub_1800D3530                                                  ; +0x10, 0x1800d4ae0\ncmp     dword ptr [rcx+390h], 0                                        ; +0x15, 0x1800d4ae5\njnz     short locret_1800D4B01                                         ; +0x1c, 0x1800d4aec\ncmp     qword ptr [rcx+48h], 0                                         ; +0x1e, 0x1800d4aee\njz      short loc_1800D4AFC                                            ; +0x23, 0x1800d4af3\nmov     [rcx+2Ch], edx                                                 ; +0x25, 0x1800d4af5\nmov     [rcx+30h], r8d                                                 ; +0x28, 0x1800d4af8\njmp     sub_1800D76D0                                                  ; +0x2c, 0x1800d4afc\nretn                                                                   ; +0x31, 0x1800d4b01", "xrefs": ["cocos2d::CCEGLView::initWithRect @ 0x18007743a", "cocos2d::CCEGLView::updateWindow @ 0x180079228"], "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"}