//
// cocos2d::extension::CCEditBox::setMaxLength from 0x5aaf7e to 0x5aaf90 (18 bytes)
//
// 0 xrefs:
//
// 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
//
void cocos2d::extension::CCEditBox::setMaxLength(cocos2d::extension::CCEditBox *a1, int a2)
{
float m_fScaleY; // r0
LODWORD(a1[1].m_sAdditionalTransform.b) = a2;
m_fScaleY = a1[1].m_fScaleY;
if ( m_fScaleY != 0.0 )
(*(void (__fastcall **)(float))(*(_DWORD *)LODWORD(m_fScaleY) + 36))(COERCE_FLOAT(LODWORD(m_fScaleY)));
}