//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0x100510e70 to 0x100510eb3 (67 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b64b38
// > ??> @ 0x100b69d98
//
// 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 12:31:36 +0000
//
float *__fastcall cocos2d::CCEGLViewProtocol::getVisibleSize(float *a1, __int64 a2)
{
if ( *(_DWORD *)(a2 + 108) == 1 )
sub_100278260(a1, *(float *)(a2 + 16) / *(float *)(a2 + 100), *(float *)(a2 + 20) / *(float *)(a2 + 104));
else
sub_100278630(a1, (_QWORD *)(a2 + 24));
return a1;
}