{"type": "func", "start": 8136012, "end": 8136096, "name": "EVP_PKEY_asn1_add_alias", "pseudocode": "// \n// EVP_PKEY_asn1_add_alias from 0x7c254c to 0x7c25a0 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x5e64c\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 EVP_PKEY_asn1_add_alias(int a1, int a2)\n{\n  int v3; // r0\n  int v4; // r5\n\n  v3 = EVP_PKEY_asn1_new(a2, 1, 0, 0);\n  v4 = v3;\n  if ( !v3 )\n    return 0;\n  *(_DWORD *)(v3 + 4) = a1;\n  if ( !EVP_PKEY_asn1_add0(v3) )\n  {\n    EVP_PKEY_asn1_free(v4);\n    return 0;\n  }\n  return 1;\n}", "assembly": "; \n; EVP_PKEY_asn1_add_alias from 0x7c254c to 0x7c25a0 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x5e64c\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\nMOV             R2, #0                                                 ; +0x0, 0x7c254c\nPUSH            {R3-R5,LR}                                             ; +0x4, 0x7c2550\nMOV             R4, R0                                                 ; +0x8, 0x7c2554\nMOV             R3, R2                                                 ; +0xc, 0x7c2558\nMOV             R0, R1                                                 ; +0x10, 0x7c255c\nMOV             R1, #1                                                 ; +0x14, 0x7c2560\nBL              EVP_PKEY_asn1_new                                      ; +0x18, 0x7c2564\nSUBS            R5, R0, #0                                             ; +0x1c, 0x7c2568\nMOVEQ           R4, R5                                                 ; +0x20, 0x7c256c\nBEQ             loc_7C2588                                             ; +0x24, 0x7c2570\nSTR             R4, [R5,#4]                                            ; +0x28, 0x7c2574\nBL              EVP_PKEY_asn1_add0                                     ; +0x2c, 0x7c2578\nSUBS            R4, R0, #0                                             ; +0x30, 0x7c257c\nMOVNE           R4, #1                                                 ; +0x34, 0x7c2580\nBEQ             loc_7C2590                                             ; +0x38, 0x7c2584\nMOV             R0, R4                                                 ; +0x3c, 0x7c2588\nPOP             {R3-R5,PC}                                             ; +0x40, 0x7c258c\nMOV             R0, R5                                                 ; +0x44, 0x7c2590\nBL              EVP_PKEY_asn1_free                                     ; +0x48, 0x7c2594\nMOV             R0, R4                                                 ; +0x4c, 0x7c2598\nPOP             {R3-R5,PC}                                             ; +0x50, 0x7c259c", "xrefs": ["<???> @ 0x5e64c"], "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"}