{"type": "func", "start": 4299861968, "end": 4299862041, "name": "-[CustomNSTextField editingRectForBounds:]", "pseudocode": "// \n// -[CustomNSTextField editingRectForBounds:] from 0x1004aafd0 to 0x1004ab019 (73 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099a5d0\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\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 0x1004aafd0 to 0x1004ab019 (73 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099a5d0\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\ntest    rsi, rsi                                                       ; +0x0, 0x1004aafd0\njz      short loc_1004AB00B                                            ; +0x3, 0x1004aafd3\npush    rbp                                                            ; +0x5, 0x1004aafd5\nmov     rbp, rsp                                                       ; +0x6, 0x1004aafd6\npush    rbx                                                            ; +0x9, 0x1004aafd9\nsub     rsp, 28h                                                       ; +0xa, 0x1004aafda\nlea     rax, [rbp+10h]                                                 ; +0xe, 0x1004aafde\nmov     rdx, cs:selRef_textRectForBounds_                              ; +0x12, 0x1004aafe2\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x19, 0x1004aafe9\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0x1c, 0x1004aafec\nmovups  [rsp+38h+var_28], xmm1                                         ; +0x20, 0x1004aaff0\nmovups  [rsp+38h+var_38], xmm0                                         ; +0x25, 0x1004aaff5\nmov     rbx, rdi                                                       ; +0x29, 0x1004aaff9\ncall    _objc_msgSend_stret                                            ; +0x2c, 0x1004aaffc\nmov     rax, rbx                                                       ; +0x31, 0x1004ab001\nadd     rsp, 28h                                                       ; +0x34, 0x1004ab004\npop     rbx                                                            ; +0x38, 0x1004ab008\npop     rbp                                                            ; +0x39, 0x1004ab009\nretn                                                                   ; +0x3a, 0x1004ab00a\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x1004ab00b\nmovups  xmmword ptr [rdi+10h], xmm0                                    ; +0x3e, 0x1004ab00e\nmovups  xmmword ptr [rdi], xmm0                                        ; +0x42, 0x1004ab012\nmov     rax, rdi                                                       ; +0x45, 0x1004ab015\nretn                                                                   ; +0x48, 0x1004ab018", "xrefs": ["<???> @ 0x10099a5d0"], "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"}