//
// cocos2d::CCDirector::setContentScaleFactor from 0xd4a4e8 to 0xd4a500 (24 bytes)
//
// 7 xrefs:
// > ShaderLayer::setupShader @ 0xb2dd48
// > ShaderLayer::setupShader @ 0xb2dd70
// > ShaderLayer::visit @ 0xb2e3ec
// > ShaderLayer::visit @ 0xb2e5a0
// > cocos2d::CCDirector::updateContentScale @ 0xd4a55c
// > cocos2d::CCDirector::updateContentScale @ 0xd4a5b4
// > ??> @ 0x81ac0
//
// 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
//
void __fastcall cocos2d::CCDirector::setContentScaleFactor(cocos2d::CCDirector *this, float a2)
{
if ( *((float *)this + 82) != a2 )
{
*((float *)this + 82) = a2;
cocos2d::CCDirector::createStatsLabel(this);
}
}