{"type": "func", "start": 4299834288, "end": 4299834427, "name": "-[EditBoxImplMac textField:shouldChangeCharactersInRange:replacementString:]", "pseudocode": "// \n// -[EditBoxImplMac textField:shouldChangeCharactersInRange:replacementString:] from 0x1004a43b0 to 0x1004a443b (139 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdcd28\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:54 +0000\n// \n\nchar __cdecl -[EditBoxImplMac textField:shouldChangeCharactersInRange:replacementString:](\n        EditBoxImplMac *self,\n        SEL a2,\n        id a3,\n        _NSRange a4,\n        id a5)\n{\n  NSUInteger length; // r14\n  id v8; // rax\n  char *v9; // r13\n  char *v10; // r13\n\n  length = a4.length;\n  if ( (*(int (__fastcall **)(void *, SEL, id, NSUInteger))(*(_QWORD *)self->editBox_ + 80LL))(\n         self->editBox_,\n         a2,\n         a3,\n         a4.location) < 0 )\n    return 1;\n  v8 = objc_msgSend(a3, \"stringValue\");\n  v9 = (char *)objc_msgSend(v8, \"length\");\n  v10 = &v9[(_QWORD)objc_msgSend(a5, \"length\") - length];\n  return (unsigned __int64)v10 <= (*(int (__fastcall **)(void *))(*(_QWORD *)self->editBox_ + 80LL))(self->editBox_);\n}", "assembly": "; \n; -[EditBoxImplMac textField:shouldChangeCharactersInRange:replacementString:] from 0x1004a43b0 to 0x1004a443b (139 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdcd28\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004a43b0\nmov     rbp, rsp                                                       ; +0x1, 0x1004a43b1\npush    r15                                                            ; +0x4, 0x1004a43b4\npush    r14                                                            ; +0x6, 0x1004a43b6\npush    r13                                                            ; +0x8, 0x1004a43b8\npush    r12                                                            ; +0xa, 0x1004a43ba\npush    rbx                                                            ; +0xc, 0x1004a43bc\npush    rax                                                            ; +0xd, 0x1004a43bd\nmov     r15, r9                                                        ; +0xe, 0x1004a43be\nmov     r14, r8                                                        ; +0x11, 0x1004a43c1\nmov     r12, rdx                                                       ; +0x14, 0x1004a43c4\nmov     rbx, rdi                                                       ; +0x17, 0x1004a43c7\nmov     rdi, [rdi+10h]                                                 ; +0x1a, 0x1004a43ca\nmov     rax, [rdi]                                                     ; +0x1e, 0x1004a43ce\ncall    qword ptr [rax+50h]                                            ; +0x21, 0x1004a43d1\ntest    eax, eax                                                       ; +0x24, 0x1004a43d4\njs      short loc_1004A4427                                            ; +0x26, 0x1004a43d6\nmov     rsi, cs:selRef_stringValue; SEL                                ; +0x28, 0x1004a43d8\nmov     [rbp+var_30], r14                                              ; +0x2f, 0x1004a43df\nmov     r14, cs:_objc_msgSend_ptr                                      ; +0x33, 0x1004a43e3\nmov     rdi, r12; id                                                   ; +0x3a, 0x1004a43ea\ncall    r14 ; _objc_msgSend                                            ; +0x3d, 0x1004a43ed\nmov     r12, cs:selRef_length                                          ; +0x40, 0x1004a43f0\nmov     rdi, rax; id                                                   ; +0x47, 0x1004a43f7\nmov     rsi, r12; SEL                                                  ; +0x4a, 0x1004a43fa\ncall    r14 ; _objc_msgSend                                            ; +0x4d, 0x1004a43fd\nmov     r13, rax                                                       ; +0x50, 0x1004a4400\nmov     rdi, r15; id                                                   ; +0x53, 0x1004a4403\nmov     rsi, r12; SEL                                                  ; +0x56, 0x1004a4406\ncall    r14 ; _objc_msgSend                                            ; +0x59, 0x1004a4409\nsub     r13, [rbp+var_30]                                              ; +0x5c, 0x1004a440c\nadd     r13, rax                                                       ; +0x60, 0x1004a4410\nmov     rdi, [rbx+10h]                                                 ; +0x63, 0x1004a4413\nmov     rax, [rdi]                                                     ; +0x67, 0x1004a4417\ncall    qword ptr [rax+50h]                                            ; +0x6a, 0x1004a441a\ncdqe                                                                   ; +0x6d, 0x1004a441d\ncmp     r13, rax                                                       ; +0x6f, 0x1004a441f\nsetbe   al                                                             ; +0x72, 0x1004a4422\njmp     short loc_1004A4429                                            ; +0x75, 0x1004a4425\nmov     al, 1                                                          ; +0x77, 0x1004a4427\nmovzx   eax, al                                                        ; +0x79, 0x1004a4429\nadd     rsp, 8                                                         ; +0x7c, 0x1004a442c\npop     rbx                                                            ; +0x80, 0x1004a4430\npop     r12                                                            ; +0x81, 0x1004a4431\npop     r13                                                            ; +0x83, 0x1004a4433\npop     r14                                                            ; +0x85, 0x1004a4435\npop     r15                                                            ; +0x87, 0x1004a4437\npop     rbp                                                            ; +0x89, 0x1004a4439\nretn                                                                   ; +0x8a, 0x1004a443a", "xrefs": ["<???> @ 0x100bdcd28"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}