{"type": "func", "start": 7890480, "end": 7890560, "name": "BIO_new_ssl_connect", "pseudocode": "// \n// BIO_new_ssl_connect from 0x786630 to 0x786680 (80 bytes)\n// \n// 2 xrefs:\n// > BIO_new_buffer_ssl_connect @ 0x78669c\n// > <???> @ 0x59f4c\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 BIO_new_ssl_connect(int a1)\n{\n  int v2; // r0\n  int v3; // r4\n  int v4; // r0\n  int result; // r0\n\n  v2 = BIO_s_connect();\n  v3 = BIO_new(v2);\n  if ( !v3 )\n    return 0;\n  v4 = BIO_new_ssl(a1, 1);\n  if ( !v4 || (result = BIO_push(v4, v3)) == 0 )\n  {\n    BIO_free(v3);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; BIO_new_ssl_connect from 0x786630 to 0x786680 (80 bytes)\n; \n; 2 xrefs:\n; > BIO_new_buffer_ssl_connect @ 0x78669c\n; > <???> @ 0x59f4c\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            {R3-R5,LR}                                             ; +0x0, 0x786630\nMOV             R5, R0                                                 ; +0x4, 0x786634\nBL              BIO_s_connect                                          ; +0x8, 0x786638\nBL              BIO_new                                                ; +0xc, 0x78663c\nSUBS            R4, R0, #0                                             ; +0x10, 0x786640\nBEQ             loc_786678                                             ; +0x14, 0x786644\nMOV             R0, R5                                                 ; +0x18, 0x786648\nMOV             R1, #1                                                 ; +0x1c, 0x78664c\nBL              BIO_new_ssl                                            ; +0x20, 0x786650\nCMP             R0, #0                                                 ; +0x24, 0x786654\nBEQ             loc_786670                                             ; +0x28, 0x786658\nMOV             R1, R4                                                 ; +0x2c, 0x78665c\nBL              BIO_push                                               ; +0x30, 0x786660\nCMP             R0, #0                                                 ; +0x34, 0x786664\nBEQ             loc_786670                                             ; +0x38, 0x786668\nPOP             {R3-R5,PC}                                             ; +0x3c, 0x78666c\nMOV             R0, R4                                                 ; +0x40, 0x786670\nBL              BIO_free                                               ; +0x44, 0x786674\nMOV             R0, #0                                                 ; +0x48, 0x786678\nPOP             {R3-R5,PC}                                             ; +0x4c, 0x78667c", "xrefs": ["BIO_new_buffer_ssl_connect @ 0x78669c", "<???> @ 0x59f4c"], "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"}