//
// -[EditBoxImplIOS textField:shouldChangeCharactersInRange:replacementString:] from 0x1002d2a38 to 0x1002d2abc (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009ce1f8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:02:39 +0000
//
bool __cdecl -[EditBoxImplIOS textField:shouldChangeCharactersInRange:replacementString:](
EditBoxImplIOS *self,
SEL a2,
id a3,
_NSRange a4,
id a5)
{
NSUInteger length; // x20
char *v9; // x22
char *v10; // x20
length = a4.length;
if ( ((*(__int64 (__fastcall **)(void *, SEL, id, NSUInteger))(*(_QWORD *)self->editBox_ + 80LL))(
self->editBox_,
a2,
a3,
a4.location)
& 0x80000000) != 0 )
return 1;
v9 = (char *)objc_msgSend(objc_msgSend(a3, "text"), "length");
v10 = &v9[(_QWORD)objc_msgSend(a5, "length") - length];
return (unsigned __int64)v10 <= (*(int (__fastcall **)(void *))(*(_QWORD *)self->editBox_ + 80LL))(self->editBox_);
}