{"type": "func", "start": 11041912, "end": 11041992, "name": "CMS_RecipientInfo_set0_pkey", "pseudocode": "// \n// CMS_RecipientInfo_set0_pkey from 0xa87c78 to 0xa87cc8 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x83b5c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:08:53 +0000\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 0xa87c78 to 0xa87cc8 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x83b5c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:08:53 +0000\n; \nLDR             R3, [R0]                                               ; +0x0, 0xa87c78\nCMP             R3, #0                                                 ; +0x4, 0xa87c7c\nBNE             loc_A87C94                                             ; +0x8, 0xa87c80\nLDR             R3, [R0,#4]                                            ; +0xc, 0xa87c84\nMOV             R0, #1                                                 ; +0x10, 0xa87c88\nSTR             R1, [R3,#0x14]                                         ; +0x14, 0xa87c8c\nBX              LR                                                     ; +0x18, 0xa87c90\nPUSH            {LR}                                                   ; +0x1c, 0xa87c94\nLDR             R3, =0x11A                                             ; +0x20, 0xa87c98\nSUB             SP, SP, #0xC                                           ; +0x24, 0xa87c9c\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x28, 0xa87ca0\nLDR             R3, =(aCryptoCmsCmsEn - 0xA87CBC); \"crypto/cms/cms_env.c\" ; +0x2c, 0xa87ca4\nMOV             R0, #0x2E ; '.'                                        ; +0x30, 0xa87ca8\nMOV             R1, #0x91                                              ; +0x34, 0xa87cac\nMOV             R2, #0x7C ; '|'                                        ; +0x38, 0xa87cb0\nADD             R3, PC, R3; \"crypto/cms/cms_env.c\"                     ; +0x3c, 0xa87cb4\nBL              ERR_put_error                                          ; +0x40, 0xa87cb8\nMOV             R0, #0                                                 ; +0x44, 0xa87cbc\nADD             SP, SP, #0xC                                           ; +0x48, 0xa87cc0\nPOP             {PC}                                                   ; +0x4c, 0xa87cc4", "xrefs": ["<???> @ 0x83b5c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}