{"type": "func", "start": 14739824, "end": 14739976, "name": "ASN1_TYPE_set_octetstring", "pseudocode": "// \n// ASN1_TYPE_set_octetstring from 0xe0e970 to 0xe0ea08 (152 bytes)\n// \n// 2 xrefs:\n// > EVP_CIPHER_set_asn1_iv @ 0xdaa628\n// > <???> @ 0x7c0e0\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\n__int64 __fastcall ASN1_TYPE_set_octetstring(__int64 a1, char *a2, int a3)\n{\n  __int64 v4; // x0\n  __int64 v5; // x20\n\n  v4 = ASN1_OCTET_STRING_new();\n  v5 = v4;\n  if ( !v4 )\n    return 0;\n  if ( (unsigned int)ASN1_OCTET_STRING_set(v4, a2, a3) )\n  {\n    ASN1_TYPE_set(a1, 4, v5);\n    return 1;\n  }\n  else\n  {\n    ASN1_OCTET_STRING_free(v5);\n    return 0;\n  }\n}", "assembly": "; \n; ASN1_TYPE_set_octetstring from 0xe0e970 to 0xe0ea08 (152 bytes)\n; \n; 2 xrefs:\n; > EVP_CIPHER_set_asn1_iv @ 0xdaa628\n; > <???> @ 0x7c0e0\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\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xe0e970\nMOV             X29, SP                                                ; +0x4, 0xe0e974\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xe0e978\nSTR             X21, [SP,#0x40+var_20]                                 ; +0xc, 0xe0e97c\nMOV             X21, X0                                                ; +0x10, 0xe0e980\nSTR             X1, [X29,#0x40+var_10]                                 ; +0x14, 0xe0e984\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x18, 0xe0e988\nBL              ASN1_OCTET_STRING_new                                  ; +0x1c, 0xe0e98c\nMOV             X20, X0                                                ; +0x20, 0xe0e990\nCBZ             X0, loc_E0E9F0                                         ; +0x24, 0xe0e994\nLDR             X1, [X29,#0x40+var_10]                                 ; +0x28, 0xe0e998\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x2c, 0xe0e99c\nBL              ASN1_OCTET_STRING_set                                  ; +0x30, 0xe0e9a0\nMOV             W19, W0                                                ; +0x34, 0xe0e9a4\nCBZ             W0, loc_E0E9D4                                         ; +0x38, 0xe0e9a8\nMOV             X0, X21                                                ; +0x3c, 0xe0e9ac\nMOV             X2, X20                                                ; +0x40, 0xe0e9b0\nMOV             W1, #4                                                 ; +0x44, 0xe0e9b4\nMOV             W19, #1                                                ; +0x48, 0xe0e9b8\nBL              ASN1_TYPE_set                                          ; +0x4c, 0xe0e9bc\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x50, 0xe0e9c0\nMOV             W0, W19                                                ; +0x54, 0xe0e9c4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x58, 0xe0e9c8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x5c, 0xe0e9cc\nRET                                                                    ; +0x60, 0xe0e9d0\nMOV             X0, X20                                                ; +0x64, 0xe0e9d4\nBL              ASN1_OCTET_STRING_free                                 ; +0x68, 0xe0e9d8\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x6c, 0xe0e9dc\nMOV             W0, W19                                                ; +0x70, 0xe0e9e0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x74, 0xe0e9e4\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x78, 0xe0e9e8\nRET                                                                    ; +0x7c, 0xe0e9ec\nMOV             W19, W0                                                ; +0x80, 0xe0e9f0\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x84, 0xe0e9f4\nMOV             W0, W19                                                ; +0x88, 0xe0e9f8\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x8c, 0xe0e9fc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x90, 0xe0ea00\nRET                                                                    ; +0x94, 0xe0ea04", "xrefs": ["EVP_CIPHER_set_asn1_iv @ 0xdaa628", "<???> @ 0x7c0e0"], "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"}