//
// cocos2d::CCEGLView::onGLFWError from 0x18007a480 to 0x18007a4d4 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801becbc
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:59 +0000
//
void __fastcall cocos2d::CCEGLView::onGLFWError(cocos2d::CCEGLView *this, int a2, const char *a3)
{
cocos2d::CCString *v4; // rax
__int64 v5; // rbx
const WCHAR *CString; // rdi
HWND v7; // rax
v4 = cocos2d::CCString::createWithFormat("GLFWError #%d Happen, %s\n", a2, a3);
v5 = *((_QWORD *)this + 25);
CString = (const WCHAR *)cocos2d::CCString::getCString(v4);
v7 = (HWND)sub_1800D9CB0(v5);
MessageBoxW(v7, CString, L"OpenGL error", 0);
}