{"type": "func", "start": 10318156, "end": 10318240, "name": "EVP_PKEY_asn1_add_alias", "pseudocode": "// \n// EVP_PKEY_asn1_add_alias from 0x9d714c to 0x9d71a0 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x780cc\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:07:15 +0000\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 0x9d714c to 0x9d71a0 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x780cc\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:07:15 +0000\n; \nMOV             R2, #0                                                 ; +0x0, 0x9d714c\nPUSH            {R3-R5,LR}                                             ; +0x4, 0x9d7150\nMOV             R4, R0                                                 ; +0x8, 0x9d7154\nMOV             R3, R2                                                 ; +0xc, 0x9d7158\nMOV             R0, R1                                                 ; +0x10, 0x9d715c\nMOV             R1, #1                                                 ; +0x14, 0x9d7160\nBL              EVP_PKEY_asn1_new                                      ; +0x18, 0x9d7164\nSUBS            R5, R0, #0                                             ; +0x1c, 0x9d7168\nMOVEQ           R4, R5                                                 ; +0x20, 0x9d716c\nBEQ             loc_9D7188                                             ; +0x24, 0x9d7170\nSTR             R4, [R5,#4]                                            ; +0x28, 0x9d7174\nBL              EVP_PKEY_asn1_add0                                     ; +0x2c, 0x9d7178\nSUBS            R4, R0, #0                                             ; +0x30, 0x9d717c\nMOVNE           R4, #1                                                 ; +0x34, 0x9d7180\nBEQ             loc_9D7190                                             ; +0x38, 0x9d7184\nMOV             R0, R4                                                 ; +0x3c, 0x9d7188\nPOP             {R3-R5,PC}                                             ; +0x40, 0x9d718c\nMOV             R0, R5                                                 ; +0x44, 0x9d7190\nBL              EVP_PKEY_asn1_free                                     ; +0x48, 0x9d7194\nMOV             R0, R4                                                 ; +0x4c, 0x9d7198\nPOP             {R3-R5,PC}                                             ; +0x50, 0x9d719c", "xrefs": ["<???> @ 0x780cc"], "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"}