{"type": "func", "start": 8417168, "end": 8417284, "name": "EVP_PKEY_meth_add0", "pseudocode": "// \n// EVP_PKEY_meth_add0 from 0x806f90 to 0x807004 (116 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x63c5c\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_meth_add0(int a1)\n{\n  int v2; // r0\n  int v4; // [sp+4h] [bp-4h]\n\n  v2 = dword_AD43AC;\n  if ( !dword_AD43AC )\n  {\n    v4 = a1;\n    v2 = OPENSSL_sk_new(sub_806D90);\n    a1 = v4;\n    dword_AD43AC = v2;\n    if ( !v2 )\n      return 0;\n  }\n  if ( !OPENSSL_sk_push(v2, a1) )\n    return 0;\n  OPENSSL_sk_sort(dword_AD43AC);\n  return 1;\n}", "assembly": "; \n; EVP_PKEY_meth_add0 from 0x806f90 to 0x807004 (116 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x63c5c\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\nPUSH            {R4,LR}                                                ; +0x0, 0x806f90\nLDR             R4, =(dword_AD43AC - 0x806FA4)                         ; +0x4, 0x806f94\nMOV             R1, R0                                                 ; +0x8, 0x806f98\nADD             R4, PC, R4; dword_AD43AC                               ; +0xc, 0x806f9c\nLDR             R0, [R4]                                               ; +0x10, 0x806fa0\nSUB             SP, SP, #8                                             ; +0x14, 0x806fa4\nCMP             R0, #0                                                 ; +0x18, 0x806fa8\nBEQ             loc_806FE0                                             ; +0x1c, 0x806fac\nBL              OPENSSL_sk_push                                        ; +0x20, 0x806fb0\nCMP             R0, #0                                                 ; +0x24, 0x806fb4\nBNE             loc_806FC8                                             ; +0x28, 0x806fb8\nMOV             R0, #0                                                 ; +0x2c, 0x806fbc\nADD             SP, SP, #8                                             ; +0x30, 0x806fc0\nPOP             {R4,PC}                                                ; +0x34, 0x806fc4\nLDR             R3, =(dword_AD43AC - 0x806FD4)                         ; +0x38, 0x806fc8\nLDR             R0, [PC,R3]; dword_AD43AC                              ; +0x3c, 0x806fcc\nBL              OPENSSL_sk_sort                                        ; +0x40, 0x806fd0\nMOV             R0, #1                                                 ; +0x44, 0x806fd4\nADD             SP, SP, #8                                             ; +0x48, 0x806fd8\nPOP             {R4,PC}                                                ; +0x4c, 0x806fdc\nLDR             R0, =(sub_806D90 - 0x806FF0)                           ; +0x50, 0x806fe0\nSTR             R1, [SP,#8+var_4]                                      ; +0x54, 0x806fe4\nADD             R0, PC, R0; sub_806D90                                 ; +0x58, 0x806fe8\nBL              OPENSSL_sk_new                                         ; +0x5c, 0x806fec\nLDR             R1, [SP,#8+var_4]                                      ; +0x60, 0x806ff0\nCMP             R0, #0                                                 ; +0x64, 0x806ff4\nSTR             R0, [R4]                                               ; +0x68, 0x806ff8\nBNE             loc_806FB0                                             ; +0x6c, 0x806ffc\nB               loc_806FBC                                             ; +0x70, 0x807000", "xrefs": ["<???> @ 0x63c5c"], "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"}