//
// cocos2d::CCEGLView::onGLFWError from 0x180077700 to 0x180077751 (81 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b49b0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCEGLView::onGLFWError(cocos2d::CCEGLView *this, int a2, const char *a3)
{
cocos2d::CCString *v4; // rax
std::string *CString; // rbx
HWND v6; // rax
v4 = cocos2d::CCString::createWithFormat("GLFWError #%d Happen, %s\n", a2, a3);
CString = cocos2d::CCString::getCString(v4);
v6 = (HWND)sub_1800D8320(*((_QWORD *)this + 25));
MessageBoxW(v6, (LPCWSTR)CString, L"OpenGL error", 0);
}