//
// sub_18007A7C0 from 0x18007a7c0 to 0x18007a803 (67 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::setupWindow @ 0x18007ba5e
// > ??> @ 0x1801bed34
//
// 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:22:00 +0000
//
void __fastcall sub_18007A7C0(__int64 a1, int a2)
{
struct cocos2d::CCApplication *v2; // rax
struct cocos2d::CCApplication *v3; // rax
if ( qword_1801B2540 )
{
if ( a2 )
{
v2 = cocos2d::CCApplication::sharedApplication();
(*(void (__fastcall **)(struct cocos2d::CCApplication *))(*(_QWORD *)v2 + 16LL))(v2);
}
else
{
v3 = cocos2d::CCApplication::sharedApplication();
(*(void (__fastcall **)(struct cocos2d::CCApplication *))(*(_QWORD *)v3 + 24LL))(v3);
}
}
}