{"type": "func", "start": 4297397600, "end": 4297397676, "name": "-[NSData encryptedWithKey:]", "pseudocode": "// \n// -[NSData encryptedWithKey:] from 0x100251560 to 0x1002515ac (76 bytes)\n// \n// 2 xrefs:\n// > PlatformToolbox::saveAndEncryptStringToFile @ 0x10016ba48\n// > <???> @ 0x100846560\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  return -[NSData makeCryptedVersionWithKeyData:ofLength:decrypt:](\n           self,\n           \"makeCryptedVersionWithKeyData:ofLength:decrypt:\",\n           objc_msgSend(a3, \"bytes\"),\n           objc_msgSend(a3, \"length\"),\n           0);\n}", "assembly": "; \n; -[NSData encryptedWithKey:] from 0x100251560 to 0x1002515ac (76 bytes)\n; \n; 2 xrefs:\n; > PlatformToolbox::saveAndEncryptStringToFile @ 0x10016ba48\n; > <???> @ 0x100846560\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, 0x100251560\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100251564\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100251568\nADD             X29, SP, #0x20                                         ; +0xc, 0x10025156c\nMOV             X19, X2                                                ; +0x10, 0x100251570\nMOV             X20, X0                                                ; +0x14, 0x100251574\nMOV             X0, X2                                                 ; +0x18, 0x100251578\nBL              _objc_msgSend$bytes                                    ; +0x1c, 0x10025157c\nMOV             X21, X0                                                ; +0x20, 0x100251580\nMOV             X0, X19                                                ; +0x24, 0x100251584\nBL              _objc_msgSend$length                                   ; +0x28, 0x100251588\nMOV             X3, X0                                                 ; +0x2c, 0x10025158c\nMOV             X0, X20                                                ; +0x30, 0x100251590\nMOV             X2, X21                                                ; +0x34, 0x100251594\nMOV             W4, #0                                                 ; +0x38, 0x100251598\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x3c, 0x10025159c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x40, 0x1002515a0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x44, 0x1002515a4\nB               _objc_msgSend$makeCryptedVersionWithKeyData_ofLength_decrypt_ ; +0x48, 0x1002515a8", "xrefs": ["PlatformToolbox::saveAndEncryptStringToFile @ 0x10016ba48", "<???> @ 0x100846560"], "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"}