//
// cocos2d::extension::CCEditBox::setInputFlag from 0xaa9cc0 to 0xaa9cec (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x3d728
//
// 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 result, int a2)
{
__int64 v2; // x2
v2 = *(_QWORD *)(result + 600);
*(_DWORD *)(result + 620) = a2;
if ( v2 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 64LL))(v2);
return result;
}