//
// cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0x18006da70 to 0x18006dade (110 bytes)
//
// 4 xrefs:
// > ??> @ 0x180106908
// > ??> @ 0x180107000
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be158
//
// 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::getVisibleOrigin(__int64 a1, float *a2)
{
if ( *(_DWORD *)(a1 + 108) == 1 )
kmVec2Fill(
a2,
(float)(*(float *)(a1 + 24) - (float)(*(float *)(a1 + 16) / *(float *)(a1 + 100))) * 0.5,
(float)(*(float *)(a1 + 28) - (float)(*(float *)(a1 + 20) / *(float *)(a1 + 104))) * 0.5);
else
cocos2d::cc_timeval::operator=(a2, dword_1801B24B8);
return a2;
}