{"type": "func", "start": 17430568, "end": 17430644, "name": "CMS_SignerInfo_set1_signer_cert", "pseudocode": "// \n// CMS_SignerInfo_set1_signer_cert from 0x109f828 to 0x109f874 (76 bytes)\n// \n// 3 xrefs:\n// > CMS_set1_signers_certs @ 0x109f9c4\n// > CMS_set1_signers_certs @ 0x109f9d8\n// > <???> @ 0xf8800\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:17:30 +0000\n// \n\n__int64 __fastcall CMS_SignerInfo_set1_signer_cert(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  if ( a2 )\n  {\n    X509_up_ref(a2);\n    EVP_PKEY_free(*(_QWORD *)(a1 + 64));\n    *(_QWORD *)(a1 + 64) = X509_get_pubkey(a2);\n  }\n  result = X509_free(*(_QWORD *)(a1 + 56));\n  *(_QWORD *)(a1 + 56) = a2;\n  return result;\n}", "assembly": "; \n; CMS_SignerInfo_set1_signer_cert from 0x109f828 to 0x109f874 (76 bytes)\n; \n; 3 xrefs:\n; > CMS_set1_signers_certs @ 0x109f9c4\n; > CMS_set1_signers_certs @ 0x109f9d8\n; > <???> @ 0xf8800\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:17:30 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x109f828\nMOV             X29, SP                                                ; +0x4, 0x109f82c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x109f830\nMOV             X20, X1                                                ; +0xc, 0x109f834\nMOV             X19, X0                                                ; +0x10, 0x109f838\nCBZ             X1, loc_109F85C                                        ; +0x14, 0x109f83c\nMOV             X0, X1                                                 ; +0x18, 0x109f840\nBL              X509_up_ref                                            ; +0x1c, 0x109f844\nLDR             X0, [X19,#0x40]                                        ; +0x20, 0x109f848\nBL              EVP_PKEY_free                                          ; +0x24, 0x109f84c\nMOV             X0, X20                                                ; +0x28, 0x109f850\nBL              X509_get_pubkey                                        ; +0x2c, 0x109f854\nSTR             X0, [X19,#0x40]                                        ; +0x30, 0x109f858\nLDR             X0, [X19,#0x38]                                        ; +0x34, 0x109f85c\nBL              X509_free                                              ; +0x38, 0x109f860\nSTR             X20, [X19,#0x38]                                       ; +0x3c, 0x109f864\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x109f868\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x109f86c\nRET                                                                    ; +0x48, 0x109f870", "xrefs": ["CMS_set1_signers_certs @ 0x109f9c4", "CMS_set1_signers_certs @ 0x109f9d8", "<???> @ 0xf8800"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}