{"type": "func", "start": 8860832, "end": 8860916, "name": "CMS_RecipientInfo_set0_key", "pseudocode": "// \n// CMS_RecipientInfo_set0_key from 0x8734a0 to 0x8734f4 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x6a11c\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_key(_DWORD *a1, int a2, int a3)\n{\n  int v3; // r3\n\n  if ( *a1 == 2 )\n  {\n    v3 = a1[1];\n    *(_DWORD *)(v3 + 16) = a2;\n    *(_DWORD *)(v3 + 20) = a3;\n    return 1;\n  }\n  else\n  {\n    ERR_put_error(46, 144, 123, (int)\"crypto/cms/cms_env.c\", 600);\n    return 0;\n  }\n}", "assembly": "; \n; CMS_RecipientInfo_set0_key from 0x8734a0 to 0x8734f4 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x6a11c\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, 0x8734a0\nCMP             R3, #2                                                 ; +0x4, 0x8734a4\nBNE             loc_8734C0                                             ; +0x8, 0x8734a8\nLDR             R3, [R0,#4]                                            ; +0xc, 0x8734ac\nMOV             R0, #1                                                 ; +0x10, 0x8734b0\nSTR             R1, [R3,#0x10]                                         ; +0x14, 0x8734b4\nSTR             R2, [R3,#0x14]                                         ; +0x18, 0x8734b8\nBX              LR                                                     ; +0x1c, 0x8734bc\nPUSH            {LR}                                                   ; +0x20, 0x8734c0\nMOV             R3, #0x258                                             ; +0x24, 0x8734c4\nSUB             SP, SP, #0xC                                           ; +0x28, 0x8734c8\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x2c, 0x8734cc\nLDR             R3, =(aCryptoCmsCmsEn - 0x8734E8); \"crypto/cms/cms_env.c\" ; +0x30, 0x8734d0\nMOV             R0, #0x2E ; '.'                                        ; +0x34, 0x8734d4\nMOV             R1, #0x90                                              ; +0x38, 0x8734d8\nMOV             R2, #0x7B ; '{'                                        ; +0x3c, 0x8734dc\nADD             R3, PC, R3; \"crypto/cms/cms_env.c\"                     ; +0x40, 0x8734e0\nBL              ERR_put_error                                          ; +0x44, 0x8734e4\nMOV             R0, #0                                                 ; +0x48, 0x8734e8\nADD             SP, SP, #0xC                                           ; +0x4c, 0x8734ec\nPOP             {PC}                                                   ; +0x50, 0x8734f0", "xrefs": ["<???> @ 0x6a11c"], "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"}