{"type": "func", "start": 6442951808, "end": 6442951892, "name": "cocos2d::CCEGLView::onGLFWError", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWError from 0x18007a480 to 0x18007a4d4 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801becbc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:59 +0000\n// \n\nvoid __fastcall cocos2d::CCEGLView::onGLFWError(cocos2d::CCEGLView *this, int a2, const char *a3)\n{\n  cocos2d::CCString *v4; // rax\n  __int64 v5; // rbx\n  const WCHAR *CString; // rdi\n  HWND v7; // rax\n\n  v4 = cocos2d::CCString::createWithFormat(\"GLFWError #%d Happen, %s\\n\", a2, a3);\n  v5 = *((_QWORD *)this + 25);\n  CString = (const WCHAR *)cocos2d::CCString::getCString(v4);\n  v7 = (HWND)sub_1800D9CB0(v5);\n  MessageBoxW(v7, CString, L\"OpenGL error\", 0);\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWError from 0x18007a480 to 0x18007a4d4 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801becbc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:59 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18007a480\npush    rdi                                                            ; +0x5, 0x18007a485\nsub     rsp, 20h                                                       ; +0x6, 0x18007a486\nmov     rbx, rcx                                                       ; +0xa, 0x18007a48a\nlea     rcx, aGlfwerrorDHapp; \"GLFWError #%d Happen, %s\\n\"             ; +0xd, 0x18007a48d\ncall    ?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x14, 0x18007a494\nmov     rbx, [rbx+0C8h]                                                ; +0x19, 0x18007a499\nmov     rcx, rax; this                                                 ; +0x20, 0x18007a4a0\ncall    ?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x23, 0x18007a4a3\nmov     rcx, rbx                                                       ; +0x28, 0x18007a4a8\nmov     rdi, rax                                                       ; +0x2b, 0x18007a4ab\ncall    sub_1800D9CB0                                                  ; +0x2e, 0x18007a4ae\nmov     rcx, rax                                                       ; +0x33, 0x18007a4b3\nlea     r8, Caption; \"OpenGL error\"                                    ; +0x36, 0x18007a4b6\nxor     r9d, r9d                                                       ; +0x3d, 0x18007a4bd\nmov     rdx, rdi                                                       ; +0x40, 0x18007a4c0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x43, 0x18007a4c3\nadd     rsp, 20h                                                       ; +0x48, 0x18007a4c8\npop     rdi                                                            ; +0x4c, 0x18007a4cc\njmp     cs:MessageBoxW                                                 ; +0x4d, 0x18007a4cd", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801becbc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}