{"type": "func", "start": 16952756, "end": 16952828, "name": "EVP_PKEY_get1_tls_encodedpoint", "pseudocode": "// \n// EVP_PKEY_get1_tls_encodedpoint from 0x102adb4 to 0x102adfc (72 bytes)\n// \n// 3 xrefs:\n// > tls_construct_client_key_exchange @ 0xfc8b5c\n// > tls_construct_server_key_exchange @ 0xfd0828\n// > <???> @ 0xbc800\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:16:16 +0000\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 0x102adb4 to 0x102adfc (72 bytes)\n; \n; 3 xrefs:\n; > tls_construct_client_key_exchange @ 0xfc8b5c\n; > tls_construct_server_key_exchange @ 0xfd0828\n; > <???> @ 0xbc800\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:16:16 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x102adb4\nMOV             X29, SP                                                ; +0x4, 0x102adb8\nLDR             X2, [X0,#0x10]                                         ; +0x8, 0x102adbc\nCBZ             X2, loc_102ADF0                                        ; +0xc, 0x102adc0\nLDR             X4, [X2,#0xB0]                                         ; +0x10, 0x102adc4\nCBZ             X4, loc_102ADF0                                        ; +0x14, 0x102adc8\nMOV             X3, X1                                                 ; +0x18, 0x102adcc\nMOV             X2, #0                                                 ; +0x1c, 0x102add0\nMOV             W1, #0xA                                               ; +0x20, 0x102add4\nBLR             X4                                                     ; +0x24, 0x102add8\nCMP             W0, WZR                                                ; +0x28, 0x102addc\nB.LE            loc_102ADF0                                            ; +0x2c, 0x102ade0\nSXTW            X0, W0                                                 ; +0x30, 0x102ade4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0x102ade8\nRET                                                                    ; +0x38, 0x102adec\nMOV             X0, #0                                                 ; +0x3c, 0x102adf0\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x40, 0x102adf4\nRET                                                                    ; +0x44, 0x102adf8", "xrefs": ["tls_construct_client_key_exchange @ 0xfc8b5c", "tls_construct_server_key_exchange @ 0xfd0828", "<???> @ 0xbc800"], "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"}