//
// cocos2d::CCEGLView::setContentScaleFactor from 0x10012a740 to 0x10012a778 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007918e8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall cocos2d::CCEGLView::setContentScaleFactor(cocos2d::CCEGLView *a1, float a2)
{
if ( a1->m_eResolutionPolicy != kResolutionUnKnown )
sub_10062ECD0(a2);
a1->m_fScaleX = a2;
a1->m_fScaleY = a2;
objc_msgSend(+[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView"), "setNeedsLayout");
return 1;
}