{"type": "func", "start": 7890560, "end": 7890648, "name": "BIO_new_buffer_ssl_connect", "pseudocode": "// \n// BIO_new_buffer_ssl_connect from 0x786680 to 0x7866d8 (88 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x59f6c\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_buffer_ssl_connect(int a1)\n{\n  int v2; // r0\n  int v3; // r4\n  int v4; // r5\n  int result; // r0\n\n  v2 = BIO_f_buffer();\n  v3 = BIO_new(v2);\n  if ( !v3 )\n    return 0;\n  v4 = BIO_new_ssl_connect(a1);\n  if ( !v4 || (result = BIO_push(v3, v4)) == 0 )\n  {\n    BIO_free(v3);\n    BIO_free(v4);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; BIO_new_buffer_ssl_connect from 0x786680 to 0x7866d8 (88 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x59f6c\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, 0x786680\nMOV             R5, R0                                                 ; +0x4, 0x786684\nBL              BIO_f_buffer                                           ; +0x8, 0x786688\nBL              BIO_new                                                ; +0xc, 0x78668c\nSUBS            R4, R0, #0                                             ; +0x10, 0x786690\nBEQ             loc_7866D0                                             ; +0x14, 0x786694\nMOV             R0, R5                                                 ; +0x18, 0x786698\nBL              BIO_new_ssl_connect                                    ; +0x1c, 0x78669c\nSUBS            R5, R0, #0                                             ; +0x20, 0x7866a0\nBEQ             loc_7866C0                                             ; +0x24, 0x7866a4\nMOV             R0, R4                                                 ; +0x28, 0x7866a8\nMOV             R1, R5                                                 ; +0x2c, 0x7866ac\nBL              BIO_push                                               ; +0x30, 0x7866b0\nCMP             R0, #0                                                 ; +0x34, 0x7866b4\nBEQ             loc_7866C0                                             ; +0x38, 0x7866b8\nPOP             {R3-R5,PC}                                             ; +0x3c, 0x7866bc\nMOV             R0, R4                                                 ; +0x40, 0x7866c0\nBL              BIO_free                                               ; +0x44, 0x7866c4\nMOV             R0, R5                                                 ; +0x48, 0x7866c8\nBL              BIO_free                                               ; +0x4c, 0x7866cc\nMOV             R0, #0                                                 ; +0x50, 0x7866d0\nPOP             {R3-R5,PC}                                             ; +0x54, 0x7866d4", "xrefs": ["<???> @ 0x59f6c"], "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"}