//
// cocos2d::CCDirector::setupScreenScale from 0xad79f8 to 0xad7a80 (136 bytes)
//
// 2 xrefs:
// > AppDelegate::setupGLView @ 0x5bdfe4
// > ??> @ 0x2bc50
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void cocos2d::CCDirector::setupScreenScale(
cocos2d::CCDirector *a1,
cocos2d::CCSize a2,
cocos2d::CCSize a3,
cocos2d::TextureQuality a4)
{
cocos2d::CCSize *v4; // x2
cocos2d::TextureQuality v5; // w3
cocos2d::CCSize *v7; // [xsp+30h] [xbp+30h]
cocos2d::TextureQuality v8; // [xsp+38h] [xbp+38h]
cocos2d::CCSize v9; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCSize v10; // 0:s0.4,4:s1.4
v8 = v5;
v7 = v4;
cocos2d::CCSize::operator=(&a1->m_obScaleFactor, *(float **)&a4);
cocos2d::CCSize::CCSize(&v9, v7);
cocos2d::CCDirector::updateScreenScale(a1, v10);
cocos2d::CCDirector::updateContentScale(a1, v8);
}