//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0x18006dae0 to 0x18006db29 (73 bytes)
//
// 4 xrefs:
// > ??> @ 0x180106900
// > ??> @ 0x180106ff8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be164
//
// 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:55 +0000
//
float *__fastcall cocos2d::CCEGLViewProtocol::getVisibleSize(__int64 a1, float *a2)
{
if ( *(_DWORD *)(a1 + 108) == 1 )
kmVec2Fill(a2, *(float *)(a1 + 16) / *(float *)(a1 + 100), *(float *)(a1 + 20) / *(float *)(a1 + 104));
else
cocos2d::cc_timeval::operator=(a2, (_DWORD *)(a1 + 24));
return a2;
}