{"type": "func", "start": 15140160, "end": 15140192, "name": "AES_wrap_key", "pseudocode": "// \n// AES_wrap_key from 0xe70540 to 0xe70560 (32 bytes)\n// \n// 2 xrefs:\n// > CMS_RecipientInfo_encrypt @ 0xe1e5f0\n// > <???> @ 0xaffe0\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\nsize_t __fastcall AES_wrap_key(\n        __int64 a1,\n        __int64 *a2,\n        _QWORD *a3,\n        void *a4,\n        unsigned int a5,\n        __int64 a6,\n        int a7,\n        int a8)\n{\n  char vars0; // [xsp+0h] [xbp+0h]\n\n  return CRYPTO_128_wrap(\n           a1,\n           a2,\n           a3,\n           a4,\n           a5,\n           (void (__fastcall *)(__int64 *, __int64 *, __int64))AES_encrypt,\n           a7,\n           a8,\n           vars0);\n}", "assembly": "; \n; AES_wrap_key from 0xe70540 to 0xe70560 (32 bytes)\n; \n; 2 xrefs:\n; > CMS_RecipientInfo_encrypt @ 0xe1e5f0\n; > <???> @ 0xaffe0\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\nADRP            X5, #AES_encrypt_ptr@PAGE                              ; +0x0, 0xe70540\nMOV             W4, W4; size_t                                         ; +0x4, 0xe70544\nSTP             X29, X30, [SP,#-0x10+var_s0]!; char                    ; +0x8, 0xe70548\nMOV             X29, SP                                                ; +0xc, 0xe7054c\nLDR             X5, [X5,#AES_encrypt_ptr@PAGEOFF]; AES_encrypt ; int   ; +0x10, 0xe70550\nBL              CRYPTO_128_wrap                                        ; +0x14, 0xe70554\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0xe70558\nRET                                                                    ; +0x1c, 0xe7055c", "xrefs": ["CMS_RecipientInfo_encrypt @ 0xe1e5f0", "<???> @ 0xaffe0"], "is_objc": false, "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"}