//
// cocos2d::CCEGLView::onGLFWWindowIconifyFunCallback from 0x180077bb0 to 0x180077bdf (47 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b4a1c
//
// 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::onGLFWWindowIconifyFunCallback(
cocos2d::CCEGLView *this,
struct GLFWwindow *a2,
int a3)
{
struct cocos2d::CCApplication *v3; // rax
struct cocos2d::CCApplication *v4; // rax
if ( a3 )
{
v3 = cocos2d::CCApplication::sharedApplication();
((void (__fastcall *)(struct cocos2d::CCApplication *))v3->applicationDidEnterBackground)(v3);
}
else
{
v4 = cocos2d::CCApplication::sharedApplication();
((void (__fastcall *)(struct cocos2d::CCApplication *))v4->applicationWillEnterForeground)(v4);
}
}