//
// cocos2d::CCDirector::getVisibleOrigin from 0x100484070 to 0x1004840a9 (57 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCPoint __fastcall cocos2d::CCDirector::getVisibleOrigin(cocos2d::CCDirector *a1)
{
__int64 v1; // rsi
__int64 v2; // rsi
cocos2d::CCPoint result; // 0:xmm0_8.8
v2 = *(_QWORD *)(v1 + 184);
if ( v2 )
return (*(cocos2d::CCPoint (__fastcall **)(cocos2d::CCDirector *))(*(_QWORD *)v2 + 72LL))(a1);
*(double *)&result = sub_10028CC60(a1, &dbl_1009A1AA8);
return result;
}