//
// cocos2d::CCDirector::setupScreenScale from 0x1800c34a0 to 0x1800c34f5 (85 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3690
//
// 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:22:26 +0000
//
__int64 __fastcall cocos2d::CCDirector::setupScreenScale(__int64 a1, _DWORD *a2, _DWORD *a3, unsigned int a4)
{
_DWORD *v7; // rax
int v9; // [rsp+30h] [rbp+8h] BYREF
cocos2d::CCSize::operator=((_DWORD *)(a1 + 384), a2);
v7 = cocos2d::cc_timeval::operator=(&v9, a3);
cocos2d::CCDirector::updateScreenScale(a1, v7);
return cocos2d::CCDirector::updateContentScale(a1, a4);
}