//
// cocos2d::CCDirector::setContentScaleFactor from 0x7cb034 to 0x7cb052 (30 bytes)
//
// 5 xrefs:
// > ShaderLayer::setupShader @ 0x684fa8
// > ShaderLayer::setupShader @ 0x684fd4
// > ShaderLayer::visit @ 0x685408
// > ShaderLayer::visit @ 0x68555e
// > cocos2d::CCDirector::updateContentScale @ 0x7cb09e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:30 +0000
//
void __fastcall cocos2d::CCDirector::setContentScaleFactor(cocos2d::CCDirector *this, float a2)
{
if ( a2 != *((float *)this + 64) )
{
*((float *)this + 64) = a2;
cocos2d::CCDirector::createStatsLabel(this);
}
}