{"type": "func", "start": 6442940160, "end": 6442940241, "name": "cocos2d::CCEGLView::onGLFWError", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWError from 0x180077700 to 0x180077751 (81 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b49b0\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\nvoid __fastcall cocos2d::CCEGLView::onGLFWError(cocos2d::CCEGLView *this, int a2, const char *a3)\n{\n  cocos2d::CCString *v4; // rax\n  std::string *CString; // rbx\n  HWND v6; // rax\n\n  v4 = cocos2d::CCString::createWithFormat(\"GLFWError #%d Happen, %s\\n\", a2, a3);\n  CString = cocos2d::CCString::getCString(v4);\n  v6 = (HWND)sub_1800D8320(*((_QWORD *)this + 25));\n  MessageBoxW(v6, (LPCWSTR)CString, L\"OpenGL error\", 0);\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWError from 0x180077700 to 0x180077751 (81 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b49b0\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180077700\npush    rdi                                                            ; +0x5, 0x180077705\nsub     rsp, 20h                                                       ; +0x6, 0x180077706\nmov     rdi, rcx                                                       ; +0xa, 0x18007770a\nlea     rcx, aGlfwerrorDHapp; \"GLFWError #%d Happen, %s\\n\"             ; +0xd, 0x18007770d\ncall    ?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x14, 0x180077714\nmov     rcx, rax; this                                                 ; +0x19, 0x180077719\ncall    ?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1c, 0x18007771c\nmov     rcx, [rdi+0C8h]                                                ; +0x21, 0x180077721\nmov     rbx, rax                                                       ; +0x28, 0x180077728\ncall    sub_1800D8320                                                  ; +0x2b, 0x18007772b\nmov     rcx, rax                                                       ; +0x30, 0x180077730\nlea     r8, Caption; \"OpenGL error\"                                    ; +0x33, 0x180077733\nxor     r9d, r9d                                                       ; +0x3a, 0x18007773a\nmov     rdx, rbx                                                       ; +0x3d, 0x18007773d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x180077740\nadd     rsp, 20h                                                       ; +0x45, 0x180077745\npop     rdi                                                            ; +0x49, 0x180077749\njmp     cs:MessageBoxW                                                 ; +0x4a, 0x18007774a", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b49b0"], "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"}