{"type": "func", "start": 13827932, "end": 13828024, "name": "BIO_new_ssl_connect", "pseudocode": "// \n// BIO_new_ssl_connect from 0xd2ff5c to 0xd2ffb8 (92 bytes)\n// \n// 2 xrefs:\n// > BIO_new_buffer_ssl_connect @ 0xd2ffdc\n// > <???> @ 0xa2c00\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\n__int64 __fastcall BIO_new_ssl_connect(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 result; // x0\n  __int64 v4; // x19\n  __int64 v5; // x0\n\n  v2 = BIO_s_connect();\n  result = BIO_new(v2);\n  v4 = result;\n  if ( result )\n  {\n    v5 = BIO_new_ssl(a1, 1);\n    if ( !v5 || (result = BIO_push(v5, v4)) == 0 )\n    {\n      BIO_free(v4);\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; BIO_new_ssl_connect from 0xd2ff5c to 0xd2ffb8 (92 bytes)\n; \n; 2 xrefs:\n; > BIO_new_buffer_ssl_connect @ 0xd2ffdc\n; > <???> @ 0xa2c00\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xd2ff5c\nMOV             X29, SP                                                ; +0x4, 0xd2ff60\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xd2ff64\nMOV             X20, X0                                                ; +0xc, 0xd2ff68\nBL              BIO_s_connect                                          ; +0x10, 0xd2ff6c\nBL              BIO_new                                                ; +0x14, 0xd2ff70\nMOV             X19, X0                                                ; +0x18, 0xd2ff74\nCBZ             X0, loc_D2FFA4                                         ; +0x1c, 0xd2ff78\nMOV             X0, X20                                                ; +0x20, 0xd2ff7c\nMOV             W1, #1                                                 ; +0x24, 0xd2ff80\nBL              BIO_new_ssl                                            ; +0x28, 0xd2ff84\nCBZ             X0, loc_D2FFA8                                         ; +0x2c, 0xd2ff88\nMOV             X1, X19                                                ; +0x30, 0xd2ff8c\nBL              BIO_push                                               ; +0x34, 0xd2ff90\nCBZ             X0, loc_D2FFA8                                         ; +0x38, 0xd2ff94\nLDP             X19, X20, [SP,#var_s10]                                ; +0x3c, 0xd2ff98\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x40, 0xd2ff9c\nRET                                                                    ; +0x44, 0xd2ffa0\nB               loc_D2FF98                                             ; +0x48, 0xd2ffa4\nMOV             X0, X19                                                ; +0x4c, 0xd2ffa8\nBL              BIO_free                                               ; +0x50, 0xd2ffac\nMOV             X0, #0                                                 ; +0x54, 0xd2ffb0\nB               loc_D2FF98                                             ; +0x58, 0xd2ffb4", "xrefs": ["BIO_new_buffer_ssl_connect @ 0xd2ffdc", "<???> @ 0xa2c00"], "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"}