//
// cocos2d::CCDirector::setupScreenScale from 0xd4a5dc to 0xd4a664 (136 bytes)
//
// 2 xrefs:
// > AppDelegate::setupGLView @ 0x6e68a8
// > ??> @ 0x42520
//
// This function is hookable on this platform (idp: arm, 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 13:07:37 +0000
//
__int64 __fastcall cocos2d::CCDirector::setupScreenScale(float *a1, float *a2, const cocos2d::CCSize *a3, int a4)
{
int v8; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCSize::operator=(a1 + 96, a2);
cocos2d::CCSize::CCSize(&v8, a3);
cocos2d::CCDirector::updateScreenScale((__int64)a1, (float *)&v8);
cocos2d::CCDirector::updateContentScale((cocos2d::CCDirector *)a1, a4);
return _stack_chk_guard;
}