//
// cocos2d::CCDirector::setupScreenScale from 0x1800bfc60 to 0x1800bfcb5 (85 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b93cc
//
// 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
//
void __fastcall cocos2d::CCDirector::setupScreenScale(
cocos2d::CCDirector *this,
struct cocos2d::CCSize a2,
struct cocos2d::CCSize a3,
enum cocos2d::TextureQuality a4)
{
_DWORD *v7; // rax
int v8; // [rsp+30h] [rbp+8h] BYREF
cocos2d::CCSize::operator=(&this->m_obScaleFactor, *(_DWORD **)&a2);
v7 = cocos2d::cc_timeval::operator=(&v8, *(_DWORD **)&a3);
cocos2d::CCDirector::updateScreenScale(this, (struct cocos2d::CCSize)v7);
cocos2d::CCDirector::updateContentScale(this, a4);
}