{"type": "func", "start": 10969560, "end": 10969696, "name": "ASN1_item_i2d_fp", "pseudocode": "// \n// ASN1_item_i2d_fp from 0xa761d8 to 0xa76260 (136 bytes)\n// \n// 8 xrefs:\n// > i2d_PKCS12_fp @ 0xa3b0f8\n// > i2d_X509_fp @ 0xa5cf4c\n// > i2d_X509_CRL_fp @ 0xa5cfac\n// > i2d_PKCS7_fp @ 0xa5d00c\n// > i2d_X509_REQ_fp @ 0xa5d06c\n// > i2d_RSAPrivateKey_fp @ 0xa5d0cc\n// > i2d_RSAPublicKey_fp @ 0xa5d128\n// > <???> @ 0x7f44c\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:44 +0000\n// \n\nint __fastcall ASN1_item_i2d_fp(unsigned __int8 *a1, int a2, size_t *a3)\n{\n  void *v6; // r0\n  _DWORD *v7; // r0\n  _DWORD *v8; // r5\n  int v9; // r4\n\n  v6 = BIO_s_file();\n  v7 = BIO_new((int)v6);\n  v8 = v7;\n  if ( v7 )\n  {\n    BIO_ctrl(v7, 106, 0, a2);\n    v9 = ASN1_item_i2d_bio(a1, (int)v8, a3);\n    BIO_free(v8);\n    return v9;\n  }\n  else\n  {\n    ERR_put_error(13, 193, 7, (int)\"crypto/asn1/a_i2d_fp.c\", 74);\n    return 0;\n  }\n}", "assembly": "; \n; ASN1_item_i2d_fp from 0xa761d8 to 0xa76260 (136 bytes)\n; \n; 8 xrefs:\n; > i2d_PKCS12_fp @ 0xa3b0f8\n; > i2d_X509_fp @ 0xa5cf4c\n; > i2d_X509_CRL_fp @ 0xa5cfac\n; > i2d_PKCS7_fp @ 0xa5d00c\n; > i2d_X509_REQ_fp @ 0xa5d06c\n; > i2d_RSAPrivateKey_fp @ 0xa5d0cc\n; > i2d_RSAPublicKey_fp @ 0xa5d128\n; > <???> @ 0x7f44c\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:44 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xa761d8\nSUB             SP, SP, #0xC                                           ; +0x4, 0xa761dc\nMOV             R7, R1                                                 ; +0x8, 0xa761e0\nMOV             R4, R2                                                 ; +0xc, 0xa761e4\nMOV             R6, R0                                                 ; +0x10, 0xa761e8\nBL              BIO_s_file                                             ; +0x14, 0xa761ec\nBL              BIO_new                                                ; +0x18, 0xa761f0\nSUBS            R5, R0, #0                                             ; +0x1c, 0xa761f4\nBEQ             loc_A76234                                             ; +0x20, 0xa761f8\nMOV             R3, R7                                                 ; +0x24, 0xa761fc\nMOV             R1, #0x6A ; 'j'                                        ; +0x28, 0xa76200\nMOV             R2, #0                                                 ; +0x2c, 0xa76204\nBL              BIO_ctrl                                               ; +0x30, 0xa76208\nMOV             R2, R4                                                 ; +0x34, 0xa7620c\nMOV             R1, R5                                                 ; +0x38, 0xa76210\nMOV             R0, R6                                                 ; +0x3c, 0xa76214\nBL              ASN1_item_i2d_bio                                      ; +0x40, 0xa76218\nMOV             R4, R0                                                 ; +0x44, 0xa7621c\nMOV             R0, R5                                                 ; +0x48, 0xa76220\nBL              BIO_free                                               ; +0x4c, 0xa76224\nMOV             R0, R4                                                 ; +0x50, 0xa76228\nADD             SP, SP, #0xC                                           ; +0x54, 0xa7622c\nPOP             {R4-R7,PC}                                             ; +0x58, 0xa76230\nMOV             R3, #0x4A ; 'J'                                        ; +0x5c, 0xa76234\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x60, 0xa76238\nLDR             R3, =(aCryptoAsn1AI2d - 0xA76254); \"crypto/asn1/a_i2d_fp.c\" ; +0x64, 0xa7623c\nMOV             R0, #0xD                                               ; +0x68, 0xa76240\nMOV             R1, #0xC1                                              ; +0x6c, 0xa76244\nMOV             R2, #7                                                 ; +0x70, 0xa76248\nADD             R3, PC, R3; \"crypto/asn1/a_i2d_fp.c\"                   ; +0x74, 0xa7624c\nBL              ERR_put_error                                          ; +0x78, 0xa76250\nMOV             R0, R5                                                 ; +0x7c, 0xa76254\nADD             SP, SP, #0xC                                           ; +0x80, 0xa76258\nPOP             {R4-R7,PC}                                             ; +0x84, 0xa7625c", "xrefs": ["i2d_PKCS12_fp @ 0xa3b0f8", "i2d_X509_fp @ 0xa5cf4c", "i2d_X509_CRL_fp @ 0xa5cfac", "i2d_PKCS7_fp @ 0xa5d00c", "i2d_X509_REQ_fp @ 0xa5d06c", "i2d_RSAPrivateKey_fp @ 0xa5d0cc", "i2d_RSAPublicKey_fp @ 0xa5d128", "<???> @ 0x7f44c"], "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"}