{"type": "func", "start": 16674360, "end": 16674468, "name": "EVP_PKEY_asn1_add0", "pseudocode": "// \n// EVP_PKEY_asn1_add0 from 0xfe6e38 to 0xfe6ea4 (108 bytes)\n// \n// 2 xrefs:\n// > EVP_PKEY_asn1_add_alias @ 0xfe7104\n// > <???> @ 0xfeb90\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:40 +0000\n// \n\n__int64 __fastcall EVP_PKEY_asn1_add0(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v4; // [xsp+28h] [xbp+28h]\n\n  v2 = qword_1566308;\n  if ( !qword_1566308 )\n  {\n    v4 = a1;\n    v2 = OPENSSL_sk_new(sub_FE6BA0);\n    qword_1566308 = v2;\n    a1 = v4;\n    if ( !v2 )\n      return 0;\n  }\n  if ( !(unsigned int)OPENSSL_sk_push(v2, a1) )\n    return 0;\n  OPENSSL_sk_sort(qword_1566308);\n  return 1;\n}", "assembly": "; \n; EVP_PKEY_asn1_add0 from 0xfe6e38 to 0xfe6ea4 (108 bytes)\n; \n; 2 xrefs:\n; > EVP_PKEY_asn1_add_alias @ 0xfe7104\n; > <???> @ 0xfeb90\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:40 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xfe6e38\nMOV             X1, X0                                                 ; +0x4, 0xfe6e3c\nMOV             X29, SP                                                ; +0x8, 0xfe6e40\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0xfe6e44\nADRP            X19, #qword_1566308@PAGE                               ; +0x10, 0xfe6e48\nLDR             X0, [X19,#qword_1566308@PAGEOFF]                       ; +0x14, 0xfe6e4c\nCBZ             X0, loc_FE6E84                                         ; +0x18, 0xfe6e50\nBL              OPENSSL_sk_push                                        ; +0x1c, 0xfe6e54\nCBNZ            W0, loc_FE6E6C                                         ; +0x20, 0xfe6e58\nMOV             W0, #0                                                 ; +0x24, 0xfe6e5c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x28, 0xfe6e60\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x2c, 0xfe6e64\nRET                                                                    ; +0x30, 0xfe6e68\nLDR             X0, [X19,#qword_1566308@PAGEOFF]                       ; +0x34, 0xfe6e6c\nBL              OPENSSL_sk_sort                                        ; +0x38, 0xfe6e70\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0xfe6e74\nMOV             W0, #1                                                 ; +0x40, 0xfe6e78\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x44, 0xfe6e7c\nRET                                                                    ; +0x48, 0xfe6e80\nADRP            X0, #sub_FE6BA0@PAGE                                   ; +0x4c, 0xfe6e84\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x50, 0xfe6e88\nADD             X0, X0, #sub_FE6BA0@PAGEOFF                            ; +0x54, 0xfe6e8c\nBL              OPENSSL_sk_new                                         ; +0x58, 0xfe6e90\nSTR             X0, [X19,#qword_1566308@PAGEOFF]                       ; +0x5c, 0xfe6e94\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x60, 0xfe6e98\nCBNZ            X0, loc_FE6E54                                         ; +0x64, 0xfe6e9c\nB               loc_FE6E5C                                             ; +0x68, 0xfe6ea0", "xrefs": ["EVP_PKEY_asn1_add_alias @ 0xfe7104", "<???> @ 0xfeb90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}