{"type": "func", "start": 17329000, "end": 17329148, "name": "ASN1_item_d2i_fp", "pseudocode": "// \n// ASN1_item_d2i_fp from 0x1086b68 to 0x1086bfc (148 bytes)\n// \n// 8 xrefs:\n// > d2i_PKCS12_fp @ 0x104a18c\n// > d2i_X509_fp @ 0x106e2ac\n// > d2i_X509_CRL_fp @ 0x106e2fc\n// > d2i_PKCS7_fp @ 0x106e34c\n// > d2i_X509_REQ_fp @ 0x106e39c\n// > d2i_RSAPrivateKey_fp @ 0x106e3ec\n// > d2i_RSAPublicKey_fp @ 0x106e414\n// > <???> @ 0x83b30\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:13 +0000\n// \n\n__int64 __fastcall ASN1_item_d2i_fp(__int64 a1, __int64 a2, __int64 *a3)\n{\n  void *v5; // x0\n  __int64 v6; // x0\n  _QWORD *v7; // x19\n  __int64 v8; // x20\n\n  v5 = BIO_s_file();\n  v6 = BIO_new((__int64)v5);\n  v7 = (_QWORD *)v6;\n  if ( v6 )\n  {\n    BIO_ctrl(v6, 0x6Au, 0, a2);\n    v8 = ASN1_item_d2i_bio(a1, (__int64)v7, a3);\n    BIO_free(v7);\n    return v8;\n  }\n  else\n  {\n    ERR_put_error(13, 206, 7, (__int64)\"crypto/asn1/a_d2i_fp.c\", 83);\n    return 0;\n  }\n}", "assembly": "; \n; ASN1_item_d2i_fp from 0x1086b68 to 0x1086bfc (148 bytes)\n; \n; 8 xrefs:\n; > d2i_PKCS12_fp @ 0x104a18c\n; > d2i_X509_fp @ 0x106e2ac\n; > d2i_X509_CRL_fp @ 0x106e2fc\n; > d2i_PKCS7_fp @ 0x106e34c\n; > d2i_X509_REQ_fp @ 0x106e39c\n; > d2i_RSAPrivateKey_fp @ 0x106e3ec\n; > d2i_RSAPublicKey_fp @ 0x106e414\n; > <???> @ 0x83b30\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:13 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x1086b68\nMOV             X29, SP                                                ; +0x4, 0x1086b6c\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x1086b70\nSTR             X21, [SP,#0x40+var_20]                                 ; +0xc, 0x1086b74\nMOV             X20, X2                                                ; +0x10, 0x1086b78\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x14, 0x1086b7c\nMOV             X21, X0                                                ; +0x18, 0x1086b80\nBL              BIO_s_file                                             ; +0x1c, 0x1086b84\nBL              BIO_new                                                ; +0x20, 0x1086b88\nMOV             X19, X0                                                ; +0x24, 0x1086b8c\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x28, 0x1086b90\nCBZ             X0, loc_1086BD8                                        ; +0x2c, 0x1086b94\nMOV             X3, X1                                                 ; +0x30, 0x1086b98\nMOV             X2, #0                                                 ; +0x34, 0x1086b9c\nMOV             W1, #0x6A ; 'j'                                        ; +0x38, 0x1086ba0\nBL              BIO_ctrl                                               ; +0x3c, 0x1086ba4\nMOV             X2, X20                                                ; +0x40, 0x1086ba8\nMOV             X1, X19                                                ; +0x44, 0x1086bac\nMOV             X0, X21                                                ; +0x48, 0x1086bb0\nBL              ASN1_item_d2i_bio                                      ; +0x4c, 0x1086bb4\nMOV             X20, X0                                                ; +0x50, 0x1086bb8\nMOV             X0, X19                                                ; +0x54, 0x1086bbc\nBL              BIO_free                                               ; +0x58, 0x1086bc0\nMOV             X0, X20                                                ; +0x5c, 0x1086bc4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x60, 0x1086bc8\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x64, 0x1086bcc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x68, 0x1086bd0\nRET                                                                    ; +0x6c, 0x1086bd4\nADRP            X3, #aCryptoAsn1AD2i@PAGE; \"crypto/asn1/a_d2i_fp.c\"    ; +0x70, 0x1086bd8\nMOV             W0, #0xD                                               ; +0x74, 0x1086bdc\nMOV             W1, #0xCE                                              ; +0x78, 0x1086be0\nMOV             W2, #7                                                 ; +0x7c, 0x1086be4\nADD             X3, X3, #aCryptoAsn1AD2i@PAGEOFF; \"crypto/asn1/a_d2i_fp.c\" ; +0x80, 0x1086be8\nMOV             W4, #0x53 ; 'S'                                        ; +0x84, 0x1086bec\nBL              ERR_put_error                                          ; +0x88, 0x1086bf0\nMOV             X0, X19                                                ; +0x8c, 0x1086bf4\nB               loc_1086BC8                                            ; +0x90, 0x1086bf8", "xrefs": ["d2i_PKCS12_fp @ 0x104a18c", "d2i_X509_fp @ 0x106e2ac", "d2i_X509_CRL_fp @ 0x106e2fc", "d2i_PKCS7_fp @ 0x106e34c", "d2i_X509_REQ_fp @ 0x106e39c", "d2i_RSAPrivateKey_fp @ 0x106e3ec", "d2i_RSAPublicKey_fp @ 0x106e414", "<???> @ 0x83b30"], "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"}