//
// cocos2d::CCApplication::openURL from 0x1800758b0 to 0x18007590e (94 bytes)
//
// 3 xrefs:
// > ??> @ 0x180106d58
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be794
//
// 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:58 +0000
//
void __fastcall cocos2d::CCApplication::openURL(cocos2d::CCApplication *this, const char *a2)
{
cocos2d::CCEGLView *v3; // rax
if ( *((_BYTE *)cocos2d::CCEGLView::sharedOpenGLView() + 232)
&& !*((_BYTE *)cocos2d::CCEGLView::sharedOpenGLView() + 233) )
{
v3 = cocos2d::CCEGLView::sharedOpenGLView();
cocos2d::CCEGLView::iconify(v3);
}
ShellExecuteA(nullptr, "open", a2, nullptr, nullptr, 1);
}