{"type": "func", "start": 14802616, "end": 14802700, "name": "CMS_RecipientInfo_set0_key", "pseudocode": "// \n// CMS_RecipientInfo_set0_key from 0xe1deb8 to 0xe1df0c (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xaafe8\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\n__int64 __fastcall CMS_RecipientInfo_set0_key(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // x3\n\n  if ( *(_DWORD *)a1 == 2 )\n  {\n    v3 = *(_QWORD *)(a1 + 8);\n    *(_QWORD *)(v3 + 32) = a2;\n    *(_QWORD *)(v3 + 40) = a3;\n    return 1;\n  }\n  else\n  {\n    ERR_put_error(46, 144, 123, (__int64)\"crypto/cms/cms_env.c\", 600);\n    return 0;\n  }\n}", "assembly": "; \n; CMS_RecipientInfo_set0_key from 0xe1deb8 to 0xe1df0c (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xaafe8\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             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xe1deb8\nMOV             X29, SP                                                ; +0x4, 0xe1debc\nLDR             W3, [X0]                                               ; +0x8, 0xe1dec0\nCMP             W3, #2                                                 ; +0xc, 0xe1dec4\nB.NE            loc_E1DEE4                                             ; +0x10, 0xe1dec8\nLDR             X3, [X0,#8]                                            ; +0x14, 0xe1decc\nMOV             W0, #1                                                 ; +0x18, 0xe1ded0\nSTR             X1, [X3,#0x20]                                         ; +0x1c, 0xe1ded4\nSTR             X2, [X3,#0x28]                                         ; +0x20, 0xe1ded8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x24, 0xe1dedc\nRET                                                                    ; +0x28, 0xe1dee0\nADRP            X3, #aCryptoCmsCmsEn@PAGE; \"crypto/cms/cms_env.c\"      ; +0x2c, 0xe1dee4\nMOV             W0, #0x2E ; '.'                                        ; +0x30, 0xe1dee8\nMOV             W1, #0x90                                              ; +0x34, 0xe1deec\nMOV             W2, #0x7B ; '{'                                        ; +0x38, 0xe1def0\nADD             X3, X3, #aCryptoCmsCmsEn@PAGEOFF; \"crypto/cms/cms_env.c\" ; +0x3c, 0xe1def4\nMOV             W4, #0x258                                             ; +0x40, 0xe1def8\nBL              ERR_put_error                                          ; +0x44, 0xe1defc\nMOV             W0, #0                                                 ; +0x48, 0xe1df00\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x4c, 0xe1df04\nRET                                                                    ; +0x50, 0xe1df08", "xrefs": ["<???> @ 0xaafe8"], "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"}