//
// cocos2d::extension::CCEditBox::setMaxLength from 0x180010f70 to 0x180010f8a (26 bytes)
//
// 1 xrefs:
// > ??> @ 0x18002fdf8
//
// 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 __fastcall cocos2d::extension::CCEditBox::setMaxLength(cocos2d::extension::CCEditBox *this, int a2)
{
__int64 v2; // rcx
*((_DWORD *)this + 188) = a2;
v2 = *((_QWORD *)this + 72);
if ( v2 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 64LL))(v2);
}