{"type": "func", "start": 11042976, "end": 11043060, "name": "CMS_RecipientInfo_set0_key", "pseudocode": "// \n// CMS_RecipientInfo_set0_key from 0xa880a0 to 0xa880f4 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x83b9c\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_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 0xa880a0 to 0xa880f4 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x83b9c\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, 0xa880a0\nCMP             R3, #2                                                 ; +0x4, 0xa880a4\nBNE             loc_A880C0                                             ; +0x8, 0xa880a8\nLDR             R3, [R0,#4]                                            ; +0xc, 0xa880ac\nMOV             R0, #1                                                 ; +0x10, 0xa880b0\nSTR             R1, [R3,#0x10]                                         ; +0x14, 0xa880b4\nSTR             R2, [R3,#0x14]                                         ; +0x18, 0xa880b8\nBX              LR                                                     ; +0x1c, 0xa880bc\nPUSH            {LR}                                                   ; +0x20, 0xa880c0\nMOV             R3, #0x258                                             ; +0x24, 0xa880c4\nSUB             SP, SP, #0xC                                           ; +0x28, 0xa880c8\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x2c, 0xa880cc\nLDR             R3, =(aCryptoCmsCmsEn - 0xA880E8); \"crypto/cms/cms_env.c\" ; +0x30, 0xa880d0\nMOV             R0, #0x2E ; '.'                                        ; +0x34, 0xa880d4\nMOV             R1, #0x90                                              ; +0x38, 0xa880d8\nMOV             R2, #0x7B ; '{'                                        ; +0x3c, 0xa880dc\nADD             R3, PC, R3; \"crypto/cms/cms_env.c\"                     ; +0x40, 0xa880e0\nBL              ERR_put_error                                          ; +0x44, 0xa880e4\nMOV             R0, #0                                                 ; +0x48, 0xa880e8\nADD             SP, SP, #0xC                                           ; +0x4c, 0xa880ec\nPOP             {PC}                                                   ; +0x50, 0xa880f0", "xrefs": ["<???> @ 0x83b9c"], "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"}