{"type": "func", "start": 14338644, "end": 14338716, "name": "EVP_PKEY_get1_tls_encodedpoint", "pseudocode": "// \n// EVP_PKEY_get1_tls_encodedpoint from 0xdaca54 to 0xdaca9c (72 bytes)\n// \n// 3 xrefs:\n// > tls_construct_client_key_exchange @ 0xd4a808\n// > tls_construct_server_key_exchange @ 0xd524d4\n// > <???> @ 0x8e680\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 EVP_PKEY_get1_tls_encodedpoint(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x2\n  __int64 (__fastcall *v3)(__int64, __int64, _QWORD, __int64); // x4\n  __int64 result; // x0\n\n  v2 = *(_QWORD *)(a1 + 16);\n  if ( v2\n    && (v3 = *(__int64 (__fastcall **)(__int64, __int64, _QWORD, __int64))(v2 + 176)) != nullptr\n    && (LODWORD(result) = v3(a1, 10, 0, a2), (int)result > 0) )\n  {\n    return (int)result;\n  }\n  else\n  {\n    return 0;\n  }\n}", "assembly": "; \n; EVP_PKEY_get1_tls_encodedpoint from 0xdaca54 to 0xdaca9c (72 bytes)\n; \n; 3 xrefs:\n; > tls_construct_client_key_exchange @ 0xd4a808\n; > tls_construct_server_key_exchange @ 0xd524d4\n; > <???> @ 0x8e680\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,#-0x10+var_s0]!                          ; +0x0, 0xdaca54\nMOV             X29, SP                                                ; +0x4, 0xdaca58\nLDR             X2, [X0,#0x10]                                         ; +0x8, 0xdaca5c\nCBZ             X2, loc_DACA90                                         ; +0xc, 0xdaca60\nLDR             X4, [X2,#0xB0]                                         ; +0x10, 0xdaca64\nCBZ             X4, loc_DACA90                                         ; +0x14, 0xdaca68\nMOV             X3, X1                                                 ; +0x18, 0xdaca6c\nMOV             X2, #0                                                 ; +0x1c, 0xdaca70\nMOV             W1, #0xA                                               ; +0x20, 0xdaca74\nBLR             X4                                                     ; +0x24, 0xdaca78\nCMP             W0, WZR                                                ; +0x28, 0xdaca7c\nB.LE            loc_DACA90                                             ; +0x2c, 0xdaca80\nSXTW            X0, W0                                                 ; +0x30, 0xdaca84\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0xdaca88\nRET                                                                    ; +0x38, 0xdaca8c\nMOV             X0, #0                                                 ; +0x3c, 0xdaca90\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x40, 0xdaca94\nRET                                                                    ; +0x44, 0xdaca98", "xrefs": ["tls_construct_client_key_exchange @ 0xd4a808", "tls_construct_server_key_exchange @ 0xd524d4", "<???> @ 0x8e680"], "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"}