{"type": "func", "start": 10593952, "end": 10594024, "name": "EVP_PKEY_get1_tls_encodedpoint", "pseudocode": "// \n// EVP_PKEY_get1_tls_encodedpoint from 0xa1a6a0 to 0xa1a6e8 (72 bytes)\n// \n// 3 xrefs:\n// > tls_construct_client_key_exchange @ 0x9b7004\n// > tls_construct_server_key_exchange @ 0x9bf740\n// > <???> @ 0x76b7c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:52 +0000\n// \n\nint __fastcall EVP_PKEY_get1_tls_encodedpoint(int a1, int a2)\n{\n  int v2; // r2\n  int (__fastcall *v3)(int, int, _DWORD, int); // r12\n  int result; // r0\n\n  v2 = *(_DWORD *)(a1 + 12);\n  if ( !v2 )\n    return 0;\n  v3 = *(int (__fastcall **)(int, int, _DWORD, int))(v2 + 92);\n  if ( !v3 )\n    return 0;\n  result = v3(a1, 10, 0, a2);\n  if ( result <= 0 )\n    return 0;\n  return result;\n}", "assembly": "; \n; EVP_PKEY_get1_tls_encodedpoint from 0xa1a6a0 to 0xa1a6e8 (72 bytes)\n; \n; 3 xrefs:\n; > tls_construct_client_key_exchange @ 0x9b7004\n; > tls_construct_server_key_exchange @ 0x9bf740\n; > <???> @ 0x76b7c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:52 +0000\n; \nLDR             R2, [R0,#0xC]                                          ; +0x0, 0xa1a6a0\nCMP             R2, #0                                                 ; +0x4, 0xa1a6a4\nBEQ             loc_A1A6D8                                             ; +0x8, 0xa1a6a8\nLDR             R12, [R2,#0x5C]                                        ; +0xc, 0xa1a6ac\nCMP             R12, #0                                                ; +0x10, 0xa1a6b0\nBEQ             loc_A1A6D8                                             ; +0x14, 0xa1a6b4\nPUSH            {R3,LR}                                                ; +0x18, 0xa1a6b8\nMOV             R2, #0                                                 ; +0x1c, 0xa1a6bc\nMOV             R3, R1                                                 ; +0x20, 0xa1a6c0\nMOV             R1, #0xA                                               ; +0x24, 0xa1a6c4\nBLX             R12                                                    ; +0x28, 0xa1a6c8\nCMP             R0, #0                                                 ; +0x2c, 0xa1a6cc\nBLE             loc_A1A6E0                                             ; +0x30, 0xa1a6d0\nPOP             {R3,PC}                                                ; +0x34, 0xa1a6d4\nMOV             R0, #0                                                 ; +0x38, 0xa1a6d8\nBX              LR                                                     ; +0x3c, 0xa1a6dc\nMOV             R0, #0                                                 ; +0x40, 0xa1a6e0\nPOP             {R3,PC}                                                ; +0x44, 0xa1a6e4", "xrefs": ["tls_construct_client_key_exchange @ 0x9b7004", "tls_construct_server_key_exchange @ 0x9bf740", "<???> @ 0x76b7c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}