//
// cocos2d::CCDirector::setContentScaleFactor from 0x100207294 to 0x1002072a8 (20 bytes)
//
// 4 xrefs:
// > sub_10030BA7C @ 0x10030bc38
// > sub_10030BA7C @ 0x10030bc5c
// > ShaderLayer::visit @ 0x100311050
// > ShaderLayer::visit @ 0x1003111f4
//
// 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 11:00:57 +0000
//
__int64 __fastcall cocos2d::CCDirector::setContentScaleFactor(__int64 result, float a2)
{
if ( *(float *)(result + 328) != a2 )
*(float *)(result + 328) = a2;
return result;
}