{"type": "func", "start": 4299832944, "end": 4299833017, "name": "-[CustomNSTextField editingRectForBounds:]", "pseudocode": "// \n// -[CustomNSTextField editingRectForBounds:] from 0x1004a3e70 to 0x1004a3eb9 (73 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bdc670\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:53 +0000\n// \n\nCGRect *__cdecl -[CustomNSTextField editingRectForBounds:](\n        CGRect *__return_ptr retstr,\n        CustomNSTextField *self,\n        SEL a3,\n        CGRect a4)\n{\n  __int64 v4; // rcx\n  __int64 v5; // r8\n  __int64 v6; // r9\n\n  if ( self )\n  {\n    objc_msgSend_stret(\n      retstr,\n      (SEL)self,\n      \"textRectForBounds:\",\n      v4,\n      v5,\n      v6,\n      *(_QWORD *)&a4.origin.x,\n      *(_QWORD *)&a4.origin.y,\n      *(_QWORD *)&a4.size.width,\n      *(_QWORD *)&a4.size.height);\n  }\n  else\n  {\n    retstr->size = 0;\n    retstr->origin = 0;\n  }\n  return retstr;\n}", "assembly": "; \n; -[CustomNSTextField editingRectForBounds:] from 0x1004a3e70 to 0x1004a3eb9 (73 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bdc670\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:53 +0000\n; \ntest    rsi, rsi                                                       ; +0x0, 0x1004a3e70\njz      short loc_1004A3EAB                                            ; +0x3, 0x1004a3e73\npush    rbp                                                            ; +0x5, 0x1004a3e75\nmov     rbp, rsp                                                       ; +0x6, 0x1004a3e76\npush    rbx                                                            ; +0x9, 0x1004a3e79\nsub     rsp, 28h                                                       ; +0xa, 0x1004a3e7a\nlea     rax, [rbp+10h]                                                 ; +0xe, 0x1004a3e7e\nmov     rdx, cs:selRef_textRectForBounds_                              ; +0x12, 0x1004a3e82\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x19, 0x1004a3e89\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0x1c, 0x1004a3e8c\nmovups  [rsp+38h+var_28], xmm1                                         ; +0x20, 0x1004a3e90\nmovups  [rsp+38h+var_38], xmm0                                         ; +0x25, 0x1004a3e95\nmov     rbx, rdi                                                       ; +0x29, 0x1004a3e99\ncall    _objc_msgSend_stret                                            ; +0x2c, 0x1004a3e9c\nmov     rax, rbx                                                       ; +0x31, 0x1004a3ea1\nadd     rsp, 28h                                                       ; +0x34, 0x1004a3ea4\npop     rbx                                                            ; +0x38, 0x1004a3ea8\npop     rbp                                                            ; +0x39, 0x1004a3ea9\nretn                                                                   ; +0x3a, 0x1004a3eaa\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x1004a3eab\nmovups  xmmword ptr [rdi+10h], xmm0                                    ; +0x3e, 0x1004a3eae\nmovups  xmmword ptr [rdi], xmm0                                        ; +0x42, 0x1004a3eb2\nmov     rax, rdi                                                       ; +0x45, 0x1004a3eb5\nretn                                                                   ; +0x48, 0x1004a3eb8", "xrefs": ["<???> @ 0x100bdc670"], "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"}