{"type": "func", "start": 16957984, "end": 16958092, "name": "EVP_PKEY_meth_add0", "pseudocode": "// \n// EVP_PKEY_meth_add0 from 0x102c220 to 0x102c28c (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x47908\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:16:17 +0000\n// \n\n__int64 __fastcall EVP_PKEY_meth_add0(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v4; // [xsp+28h] [xbp+28h]\n\n  v2 = qword_1567D80;\n  if ( !qword_1567D80 )\n  {\n    v4 = a1;\n    v2 = OPENSSL_sk_new(sub_102C02C);\n    qword_1567D80 = 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_1567D80);\n  return 1;\n}", "assembly": "; \n; EVP_PKEY_meth_add0 from 0x102c220 to 0x102c28c (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x47908\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:16:17 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x102c220\nMOV             X1, X0                                                 ; +0x4, 0x102c224\nMOV             X29, SP                                                ; +0x8, 0x102c228\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0x102c22c\nADRP            X19, #qword_1567D80@PAGE                               ; +0x10, 0x102c230\nLDR             X0, [X19,#qword_1567D80@PAGEOFF]                       ; +0x14, 0x102c234\nCBZ             X0, loc_102C26C                                        ; +0x18, 0x102c238\nBL              OPENSSL_sk_push                                        ; +0x1c, 0x102c23c\nCBNZ            W0, loc_102C254                                        ; +0x20, 0x102c240\nMOV             W0, #0                                                 ; +0x24, 0x102c244\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x28, 0x102c248\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x2c, 0x102c24c\nRET                                                                    ; +0x30, 0x102c250\nLDR             X0, [X19,#qword_1567D80@PAGEOFF]                       ; +0x34, 0x102c254\nBL              OPENSSL_sk_sort                                        ; +0x38, 0x102c258\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0x102c25c\nMOV             W0, #1                                                 ; +0x40, 0x102c260\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x44, 0x102c264\nRET                                                                    ; +0x48, 0x102c268\nADRP            X0, #sub_102C02C@PAGE                                  ; +0x4c, 0x102c26c\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x50, 0x102c270\nADD             X0, X0, #sub_102C02C@PAGEOFF                           ; +0x54, 0x102c274\nBL              OPENSSL_sk_new                                         ; +0x58, 0x102c278\nSTR             X0, [X19,#qword_1567D80@PAGEOFF]                       ; +0x5c, 0x102c27c\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x60, 0x102c280\nCBNZ            X0, loc_102C23C                                        ; +0x64, 0x102c284\nB               loc_102C244                                            ; +0x68, 0x102c288", "xrefs": ["<???> @ 0x47908"], "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"}