{"type": "func", "start": 4297285672, "end": 4297285804, "name": "-[EditBoxImplIOS textField:shouldChangeCharactersInRange:replacementString:]", "pseudocode": "// \n// -[EditBoxImplIOS textField:shouldChangeCharactersInRange:replacementString:] from 0x100236028 to 0x1002360ac (132 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100846370\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __cdecl -[EditBoxImplIOS textField:shouldChangeCharactersInRange:replacementString:](\n        EditBoxImplIOS *self,\n        SEL a2,\n        id a3,\n        _NSRange a4,\n        id a5)\n{\n  NSUInteger length; // x20\n  char *v9; // x22\n  char *v10; // x20\n\n  length = a4.length;\n  if ( ((*(__int64 (__fastcall **)(void *, SEL, id, NSUInteger))(*(_QWORD *)self->editBox_ + 80LL))(\n          self->editBox_,\n          a2,\n          a3,\n          a4.location)\n      & 0x80000000) != 0 )\n    return 1;\n  v9 = (char *)objc_msgSend(objc_msgSend(a3, \"text\"), \"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; -[EditBoxImplIOS textField:shouldChangeCharactersInRange:replacementString:] from 0x100236028 to 0x1002360ac (132 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100846370\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100236028\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10023602c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100236030\nADD             X29, SP, #0x20                                         ; +0xc, 0x100236034\nMOV             X21, X5                                                ; +0x10, 0x100236038\nMOV             X20, X4                                                ; +0x14, 0x10023603c\nMOV             X22, X2                                                ; +0x18, 0x100236040\nMOV             X19, X0                                                ; +0x1c, 0x100236044\nLDR             X0, [X0,#0x10]                                         ; +0x20, 0x100236048\nLDR             X8, [X0]                                               ; +0x24, 0x10023604c\nLDR             X8, [X8,#0x50]                                         ; +0x28, 0x100236050\nBLR             X8                                                     ; +0x2c, 0x100236054\nTBNZ            W0, #0x1F, loc_100236098                               ; +0x30, 0x100236058\nMOV             X0, X22                                                ; +0x34, 0x10023605c\nBL              _objc_msgSend$text                                     ; +0x38, 0x100236060\nBL              _objc_msgSend$length                                   ; +0x3c, 0x100236064\nMOV             X22, X0                                                ; +0x40, 0x100236068\nMOV             X0, X21                                                ; +0x44, 0x10023606c\nBL              _objc_msgSend$length                                   ; +0x48, 0x100236070\nSUB             X8, X22, X20                                           ; +0x4c, 0x100236074\nADD             X20, X8, X0                                            ; +0x50, 0x100236078\nLDR             X0, [X19,#0x10]                                        ; +0x54, 0x10023607c\nLDR             X8, [X0]                                               ; +0x58, 0x100236080\nLDR             X8, [X8,#0x50]                                         ; +0x5c, 0x100236084\nBLR             X8                                                     ; +0x60, 0x100236088\nCMP             X20, W0,SXTW                                           ; +0x64, 0x10023608c\nCSET            W0, LS                                                 ; +0x68, 0x100236090\nB               loc_10023609C                                          ; +0x6c, 0x100236094\nMOV             W0, #1                                                 ; +0x70, 0x100236098\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x74, 0x10023609c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x78, 0x1002360a0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x7c, 0x1002360a4\nRET                                                                    ; +0x80, 0x1002360a8", "xrefs": ["<???> @ 0x100846370"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}