//
// cocos2d::extension::CCEditBox::setMaxLength from 0x7b0b3e to 0x7b0b50 (18 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:06 +0000
//
int __fastcall cocos2d::extension::CCEditBox::setMaxLength(cocos2d::extension::CCEditBox *this, int a2)
{
int result; // r0
*((_DWORD *)this + 127) = a2;
result = *((_DWORD *)this + 106);
if ( result )
return (*(int (__fastcall **)(int))(*(_DWORD *)result + 36))(result);
return result;
}