{"type": "func", "start": 16442228, "end": 16442360, "name": "BIO_ssl_copy_session_id", "pseudocode": "// \n// BIO_ssl_copy_session_id from 0xfae374 to 0xfae3f8 (132 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x99a60\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:15:09 +0000\n// \n\nbool __fastcall BIO_ssl_copy_session_id(__int64 a1, __int64 a2)\n{\n  __int64 type; // x20\n  __int64 v4; // x19\n  _QWORD *data; // x20\n  _QWORD *v6; // x0\n\n  type = BIO_find_type(a1, 519);\n  v4 = BIO_find_type(a2, 519);\n  if ( v4 && type && (data = (_QWORD *)BIO_get_data(type), v6 = (_QWORD *)BIO_get_data(v4), *data) && *v6 )\n    return (unsigned int)SSL_copy_session_id(*data) != 0;\n  else\n    return 0;\n}", "assembly": "; \n; BIO_ssl_copy_session_id from 0xfae374 to 0xfae3f8 (132 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x99a60\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:15:09 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xfae374\nMOV             X29, SP                                                ; +0x4, 0xfae378\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xfae37c\nMOV             X19, X1                                                ; +0xc, 0xfae380\nMOV             W1, #0x207                                             ; +0x10, 0xfae384\nBL              BIO_find_type                                          ; +0x14, 0xfae388\nMOV             X20, X0                                                ; +0x18, 0xfae38c\nMOV             W1, #0x207                                             ; +0x1c, 0xfae390\nMOV             X0, X19                                                ; +0x20, 0xfae394\nBL              BIO_find_type                                          ; +0x24, 0xfae398\nMOV             X19, X0                                                ; +0x28, 0xfae39c\nCBZ             X0, loc_FAE3E8                                         ; +0x2c, 0xfae3a0\nCBZ             X20, loc_FAE3E8                                        ; +0x30, 0xfae3a4\nMOV             X0, X20                                                ; +0x34, 0xfae3a8\nBL              BIO_get_data                                           ; +0x38, 0xfae3ac\nMOV             X20, X0                                                ; +0x3c, 0xfae3b0\nMOV             X0, X19                                                ; +0x40, 0xfae3b4\nBL              BIO_get_data                                           ; +0x44, 0xfae3b8\nLDR             X2, [X20]                                              ; +0x48, 0xfae3bc\nCBZ             X2, loc_FAE3E8                                         ; +0x4c, 0xfae3c0\nLDR             X1, [X0]                                               ; +0x50, 0xfae3c4\nCBZ             X1, loc_FAE3E8                                         ; +0x54, 0xfae3c8\nMOV             X0, X2                                                 ; +0x58, 0xfae3cc\nBL              SSL_copy_session_id                                    ; +0x5c, 0xfae3d0\nCMP             W0, WZR                                                ; +0x60, 0xfae3d4\nCSET            W0, NE                                                 ; +0x64, 0xfae3d8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0xfae3dc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0xfae3e0\nRET                                                                    ; +0x70, 0xfae3e4\nMOV             W0, #0                                                 ; +0x74, 0xfae3e8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x78, 0xfae3ec\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x7c, 0xfae3f0\nRET                                                                    ; +0x80, 0xfae3f4", "xrefs": ["<???> @ 0x99a60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}