//
// cocos2d::CCDirector::setContentScaleFactor from 0x100478640 to 0x10047865d (29 bytes)
//
// 4 xrefs:
// > ShaderLayer::setupShader @ 0x1003b3e58
// > ShaderLayer::setupShader @ 0x1003b3e82
// > ShaderLayer::visit @ 0x1003bb151
// > ShaderLayer::visit @ 0x1003bb396
//
// 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 12:30:36 +0000
//
void __fastcall cocos2d::CCDirector::setContentScaleFactor(__int64 a1, float a2)
{
if ( *(float *)(a1 + 328) != a2 )
*(float *)(a1 + 328) = a2;
}