{"type": "func", "start": 4297683632, "end": 4297683716, "name": "-[NSData encryptedWithKey:]", "pseudocode": "// \n// -[NSData encryptedWithKey:] from 0x1002972b0 to 0x100297304 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10099a1c0\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\nid __cdecl -[NSData encryptedWithKey:](NSData *self, SEL a2, id a3)\n{\n  id v4; // r15\n  unsigned int v5; // eax\n\n  v4 = objc_msgSend(a3, \"bytes\");\n  v5 = (unsigned int)objc_msgSend(a3, \"length\");\n  return -[NSData makeCryptedVersionWithKeyData:ofLength:decrypt:](\n           self,\n           \"makeCryptedVersionWithKeyData:ofLength:decrypt:\",\n           v4,\n           v5,\n           0);\n}", "assembly": "; \n; -[NSData encryptedWithKey:] from 0x1002972b0 to 0x100297304 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10099a1c0\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\npush    rbp                                                            ; +0x0, 0x1002972b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002972b1\npush    r15                                                            ; +0x4, 0x1002972b4\npush    r14                                                            ; +0x6, 0x1002972b6\npush    r12                                                            ; +0x8, 0x1002972b8\npush    rbx                                                            ; +0xa, 0x1002972ba\nmov     rbx, rdx                                                       ; +0xb, 0x1002972bb\nmov     r14, rdi                                                       ; +0xe, 0x1002972be\nmov     rsi, cs:selRef_bytes; SEL                                      ; +0x11, 0x1002972c1\nmov     r12, cs:_objc_msgSend_ptr                                      ; +0x18, 0x1002972c8\nmov     rdi, rdx; id                                                   ; +0x1f, 0x1002972cf\ncall    r12 ; _objc_msgSend                                            ; +0x22, 0x1002972d2\nmov     r15, rax                                                       ; +0x25, 0x1002972d5\nmov     rsi, cs:selRef_length; SEL                                     ; +0x28, 0x1002972d8\nmov     rdi, rbx; id                                                   ; +0x2f, 0x1002972df\ncall    r12 ; _objc_msgSend                                            ; +0x32, 0x1002972e2\nmov     rsi, cs:selRef_makeCryptedVersionWithKeyData_ofLength_decrypt_ ; +0x35, 0x1002972e5\nmov     rdi, r14                                                       ; +0x3c, 0x1002972ec\nmov     rdx, r15                                                       ; +0x3f, 0x1002972ef\nmov     ecx, eax                                                       ; +0x42, 0x1002972f2\nxor     r8d, r8d                                                       ; +0x44, 0x1002972f4\nmov     rax, r12                                                       ; +0x47, 0x1002972f7\npop     rbx                                                            ; +0x4a, 0x1002972fa\npop     r12                                                            ; +0x4b, 0x1002972fb\npop     r14                                                            ; +0x4d, 0x1002972fd\npop     r15                                                            ; +0x4f, 0x1002972ff\npop     rbp                                                            ; +0x51, 0x100297301\njmp     rax                                                            ; +0x52, 0x100297302", "xrefs": ["<???> @ 0x10099a1c0"], "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"}