{"type": "func", "start": 8202392, "end": 8202468, "name": "BIO_new_connect", "pseudocode": "// \n// BIO_new_connect from 0x7d2898 to 0x7d28e4 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x5f96c\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_DWORD *__fastcall BIO_new_connect(int a1)\n{\n  void *v2; // r0\n  _DWORD *v3; // r0\n  _DWORD *v4; // r4\n  int v5; // r5\n  _DWORD *result; // r0\n\n  v2 = BIO_s_connect();\n  v3 = BIO_new((int)v2);\n  v4 = v3;\n  if ( !v3 )\n    return nullptr;\n  v5 = BIO_ctrl(v3, 100, 0, a1);\n  result = v4;\n  if ( !v5 )\n  {\n    BIO_free(v4);\n    return nullptr;\n  }\n  return result;\n}", "assembly": "; \n; BIO_new_connect from 0x7d2898 to 0x7d28e4 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x5f96c\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, 0x7d2898\nMOV             R5, R0                                                 ; +0x4, 0x7d289c\nBL              BIO_s_connect                                          ; +0x8, 0x7d28a0\nBL              BIO_new                                                ; +0xc, 0x7d28a4\nSUBS            R4, R0, #0                                             ; +0x10, 0x7d28a8\nBEQ             loc_7D28D0                                             ; +0x14, 0x7d28ac\nMOV             R3, R5                                                 ; +0x18, 0x7d28b0\nMOV             R1, #0x64 ; 'd'                                        ; +0x1c, 0x7d28b4\nMOV             R2, #0                                                 ; +0x20, 0x7d28b8\nBL              BIO_ctrl                                               ; +0x24, 0x7d28bc\nSUBS            R5, R0, #0                                             ; +0x28, 0x7d28c0\nMOV             R0, R4                                                 ; +0x2c, 0x7d28c4\nBEQ             loc_7D28D8                                             ; +0x30, 0x7d28c8\nPOP             {R3-R5,PC}                                             ; +0x34, 0x7d28cc\nMOV             R0, R4                                                 ; +0x38, 0x7d28d0\nPOP             {R3-R5,PC}                                             ; +0x3c, 0x7d28d4\nBL              BIO_free                                               ; +0x40, 0x7d28d8\nMOV             R0, R5                                                 ; +0x44, 0x7d28dc\nPOP             {R3-R5,PC}                                             ; +0x48, 0x7d28e0", "xrefs": ["<???> @ 0x5f96c"], "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"}