{"type": "func", "start": 8808800, "end": 8808896, "name": "ASN1_TYPE_set_octetstring", "pseudocode": "// \n// ASN1_TYPE_set_octetstring from 0x866960 to 0x8669c0 (96 bytes)\n// \n// 2 xrefs:\n// > EVP_CIPHER_set_asn1_iv @ 0x80385c\n// > <???> @ 0x635fc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall ASN1_TYPE_set_octetstring(_DWORD *a1, const char *a2, int a3)\n{\n  signed int *v6; // r0\n  int v7; // r5\n\n  v6 = (signed int *)ASN1_OCTET_STRING_new();\n  v7 = (int)v6;\n  if ( !v6 )\n    return 0;\n  if ( ASN1_OCTET_STRING_set(v6, a2, a3) )\n  {\n    ASN1_TYPE_set(a1, 4, v7);\n    return 1;\n  }\n  ASN1_OCTET_STRING_free(v7);\n  return 0;\n}", "assembly": "; \n; ASN1_TYPE_set_octetstring from 0x866960 to 0x8669c0 (96 bytes)\n; \n; 2 xrefs:\n; > EVP_CIPHER_set_asn1_iv @ 0x80385c\n; > <???> @ 0x635fc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R7,LR}                                             ; +0x0, 0x866960\nMOV             R4, R2                                                 ; +0x4, 0x866964\nMOV             R7, R0                                                 ; +0x8, 0x866968\nMOV             R6, R1                                                 ; +0xc, 0x86696c\nBL              ASN1_OCTET_STRING_new                                  ; +0x10, 0x866970\nSUBS            R5, R0, #0                                             ; +0x14, 0x866974\nMOVEQ           R4, R5                                                 ; +0x18, 0x866978\nBEQ             loc_8669A8                                             ; +0x1c, 0x86697c\nMOV             R2, R4                                                 ; +0x20, 0x866980\nMOV             R1, R6                                                 ; +0x24, 0x866984\nBL              ASN1_OCTET_STRING_set                                  ; +0x28, 0x866988\nSUBS            R4, R0, #0                                             ; +0x2c, 0x86698c\nBEQ             loc_8669B0                                             ; +0x30, 0x866990\nMOV             R0, R7                                                 ; +0x34, 0x866994\nMOV             R2, R5                                                 ; +0x38, 0x866998\nMOV             R1, #4                                                 ; +0x3c, 0x86699c\nBL              ASN1_TYPE_set                                          ; +0x40, 0x8669a0\nMOV             R4, #1                                                 ; +0x44, 0x8669a4\nMOV             R0, R4                                                 ; +0x48, 0x8669a8\nPOP             {R3-R7,PC}                                             ; +0x4c, 0x8669ac\nMOV             R0, R5                                                 ; +0x50, 0x8669b0\nBL              ASN1_OCTET_STRING_free                                 ; +0x54, 0x8669b4\nMOV             R0, R4                                                 ; +0x58, 0x8669b8\nPOP             {R3-R7,PC}                                             ; +0x5c, 0x8669bc", "xrefs": ["EVP_CIPHER_set_asn1_iv @ 0x80385c", "<???> @ 0x635fc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}