{"type": "func", "start": 14343180, "end": 14343240, "name": "EVP_PKEY_CTX_get_keygen_info", "pseudocode": "// \n// EVP_PKEY_CTX_get_keygen_info from 0xdadc0c to 0xdadc48 (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x479e8\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_CTX_get_keygen_info(__int64 a1, int a2)\n{\n  int v3; // w3\n  __int64 result; // x0\n\n  if ( a2 == -1 )\n    return *(unsigned int *)(a1 + 72);\n  if ( a2 < 0 )\n    return 0;\n  v3 = *(_DWORD *)(a1 + 72);\n  result = 0;\n  if ( a2 <= v3 )\n    return *(unsigned int *)(*(_QWORD *)(a1 + 64) + 4LL * a2);\n  return result;\n}", "assembly": "; \n; EVP_PKEY_CTX_get_keygen_info from 0xdadc0c to 0xdadc48 (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x479e8\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\nCMN             W1, #1                                                 ; +0x0, 0xdadc0c\nMOV             X2, X0                                                 ; +0x4, 0xdadc10\nB.EQ            loc_DADC38                                             ; +0x8, 0xdadc14\nTBNZ            W1, #0x1F, loc_DADC40                                  ; +0xc, 0xdadc18\nLDR             W3, [X2,#0x48]                                         ; +0x10, 0xdadc1c\nMOV             W0, #0                                                 ; +0x14, 0xdadc20\nCMP             W1, W3                                                 ; +0x18, 0xdadc24\nB.GT            locret_DADC34                                          ; +0x1c, 0xdadc28\nLDR             X0, [X2,#0x40]                                         ; +0x20, 0xdadc2c\nLDR             W0, [X0,W1,SXTW#2]                                     ; +0x24, 0xdadc30\nRET                                                                    ; +0x28, 0xdadc34\nLDR             W0, [X0,#0x48]                                         ; +0x2c, 0xdadc38\nRET                                                                    ; +0x30, 0xdadc3c\nMOV             W0, #0                                                 ; +0x34, 0xdadc40\nRET                                                                    ; +0x38, 0xdadc44", "xrefs": ["<???> @ 0x479e8"], "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"}