// // -[EditBoxImplMac textField:shouldChangeCharactersInRange:replacementString:] from 0x1004ab510 to 0x1004ab59b (139 bytes) // // 1 xrefs: // > @ 0x10099ac88 // // 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 // char __cdecl -[EditBoxImplMac textField:shouldChangeCharactersInRange:replacementString:]( EditBoxImplMac *self, SEL a2, id a3, _NSRange a4, id a5) { NSUInteger length; // r14 id v8; // rax char *v9; // r13 char *v10; // r13 length = a4.length; if ( (*(int (__fastcall **)(void *, SEL, id, NSUInteger))(*(_QWORD *)self->editBox_ + 80LL))( self->editBox_, a2, a3, a4.location) < 0 ) return 1; v8 = objc_msgSend(a3, "stringValue"); v9 = (char *)objc_msgSend(v8, "length"); v10 = &v9[(_QWORD)objc_msgSend(a5, "length") - length]; return (unsigned __int64)v10 <= (*(int (__fastcall **)(void *))(*(_QWORD *)self->editBox_ + 80LL))(self->editBox_); }