//
// cocos2d::extension::CCEditBox::setInputFlag from 0x180010fa0 to 0x180010fba (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
//
__int64 __fastcall cocos2d::extension::CCEditBox::setInputFlag(__int64 a1, int a2)
{
__int64 v2; // rcx
__int64 result; // rax
*(_DWORD *)(a1 + 596) = a2;
v2 = *(_QWORD *)(a1 + 576);
if ( v2 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 56LL))(v2);
return result;
}