{"type": "func", "start": 14124736, "end": 14124824, "name": "BIO_new_connect", "pseudocode": "// \n// BIO_new_connect from 0xd786c0 to 0xd78718 (88 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x42030\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_connect(__int64 a1)\n{\n  void *v2; // x0\n  __int64 result; // x0\n  _QWORD *v4; // x19\n  __int64 v5; // x20\n\n  v2 = BIO_s_connect();\n  result = BIO_new((__int64)v2);\n  v4 = (_QWORD *)result;\n  if ( result )\n  {\n    v5 = BIO_ctrl(result, 0x64u, 0, a1);\n    result = (__int64)v4;\n    if ( !v5 )\n    {\n      BIO_free(v4);\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; BIO_new_connect from 0xd786c0 to 0xd78718 (88 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x42030\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, 0xd786c0\nMOV             X29, SP                                                ; +0x4, 0xd786c4\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xd786c8\nMOV             X20, X0                                                ; +0xc, 0xd786cc\nBL              BIO_s_connect                                          ; +0x10, 0xd786d0\nBL              BIO_new                                                ; +0x14, 0xd786d4\nMOV             X19, X0                                                ; +0x18, 0xd786d8\nCBZ             X0, loc_D78708                                         ; +0x1c, 0xd786dc\nMOV             X3, X20                                                ; +0x20, 0xd786e0\nMOV             W1, #0x64 ; 'd'                                        ; +0x24, 0xd786e4\nMOV             X2, #0                                                 ; +0x28, 0xd786e8\nBL              BIO_ctrl                                               ; +0x2c, 0xd786ec\nMOV             X20, X0                                                ; +0x30, 0xd786f0\nMOV             X0, X19                                                ; +0x34, 0xd786f4\nCBZ             X20, loc_D7870C                                        ; +0x38, 0xd786f8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x3c, 0xd786fc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x40, 0xd78700\nRET                                                                    ; +0x44, 0xd78704\nB               loc_D786FC                                             ; +0x48, 0xd78708\nBL              BIO_free                                               ; +0x4c, 0xd7870c\nMOV             X0, X20                                                ; +0x50, 0xd78710\nB               loc_D786FC                                             ; +0x54, 0xd78714", "xrefs": ["<???> @ 0x42030"], "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"}