//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0x7ea080 to 0x7ea0ba (58 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:58 +0000
//
cocos2d::CCEGLViewProtocol *__fastcall cocos2d::CCEGLViewProtocol::getVisibleSize(
cocos2d::CCEGLViewProtocol *this,
int a2)
{
if ( *(_DWORD *)(a2 + 100) == 1 )
cocos2d::CCSize::CCSize(
(float *)this,
*(float *)(a2 + 8) / *(float *)(a2 + 92),
*(float *)(a2 + 12) / *(float *)(a2 + 96));
else
cocos2d::CCSize::CCSize(this, (const cocos2d::CCSize *)(a2 + 16));
return this;
}