{"type": "func", "start": 8859768, "end": 8859848, "name": "CMS_RecipientInfo_set0_pkey", "pseudocode": "// \n// CMS_RecipientInfo_set0_pkey from 0x873078 to 0x8730c8 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x6a0dc\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\nint __fastcall CMS_RecipientInfo_set0_pkey(_DWORD *a1, int a2)\n{\n  int v2; // r3\n\n  if ( *a1 )\n  {\n    ERR_put_error(46, 145, 124, (int)\"crypto/cms/cms_env.c\", 282);\n    return 0;\n  }\n  else\n  {\n    v2 = a1[1];\n    *(_DWORD *)(v2 + 20) = a2;\n    return 1;\n  }\n}", "assembly": "; \n; CMS_RecipientInfo_set0_pkey from 0x873078 to 0x8730c8 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x6a0dc\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\nLDR             R3, [R0]                                               ; +0x0, 0x873078\nCMP             R3, #0                                                 ; +0x4, 0x87307c\nBNE             loc_873094                                             ; +0x8, 0x873080\nLDR             R3, [R0,#4]                                            ; +0xc, 0x873084\nMOV             R0, #1                                                 ; +0x10, 0x873088\nSTR             R1, [R3,#0x14]                                         ; +0x14, 0x87308c\nBX              LR                                                     ; +0x18, 0x873090\nPUSH            {LR}                                                   ; +0x1c, 0x873094\nLDR             R3, =0x11A                                             ; +0x20, 0x873098\nSUB             SP, SP, #0xC                                           ; +0x24, 0x87309c\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x28, 0x8730a0\nLDR             R3, =(aCryptoCmsCmsEn - 0x8730BC); \"crypto/cms/cms_env.c\" ; +0x2c, 0x8730a4\nMOV             R0, #0x2E ; '.'                                        ; +0x30, 0x8730a8\nMOV             R1, #0x91                                              ; +0x34, 0x8730ac\nMOV             R2, #0x7C ; '|'                                        ; +0x38, 0x8730b0\nADD             R3, PC, R3; \"crypto/cms/cms_env.c\"                     ; +0x3c, 0x8730b4\nBL              ERR_put_error                                          ; +0x40, 0x8730b8\nMOV             R0, #0                                                 ; +0x44, 0x8730bc\nADD             SP, SP, #0xC                                           ; +0x48, 0x8730c0\nPOP             {PC}                                                   ; +0x4c, 0x8730c4", "xrefs": ["<???> @ 0x6a0dc"], "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"}