{"type": "func", "start": 16957292, "end": 16957352, "name": "EVP_PKEY_CTX_get_keygen_info", "pseudocode": "// \n// EVP_PKEY_CTX_get_keygen_info from 0x102bf6c to 0x102bfa8 (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x65788\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:17 +0000\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 0x102bf6c to 0x102bfa8 (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x65788\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:17 +0000\n; \nCMN             W1, #1                                                 ; +0x0, 0x102bf6c\nMOV             X2, X0                                                 ; +0x4, 0x102bf70\nB.EQ            loc_102BF98                                            ; +0x8, 0x102bf74\nTBNZ            W1, #0x1F, loc_102BFA0                                 ; +0xc, 0x102bf78\nLDR             W3, [X2,#0x48]                                         ; +0x10, 0x102bf7c\nMOV             W0, #0                                                 ; +0x14, 0x102bf80\nCMP             W1, W3                                                 ; +0x18, 0x102bf84\nB.GT            locret_102BF94                                         ; +0x1c, 0x102bf88\nLDR             X0, [X2,#0x40]                                         ; +0x20, 0x102bf8c\nLDR             W0, [X0,W1,SXTW#2]                                     ; +0x24, 0x102bf90\nRET                                                                    ; +0x28, 0x102bf94\nLDR             W0, [X0,#0x48]                                         ; +0x2c, 0x102bf98\nRET                                                                    ; +0x30, 0x102bf9c\nMOV             W0, #0                                                 ; +0x34, 0x102bfa0\nRET                                                                    ; +0x38, 0x102bfa4", "xrefs": ["<???> @ 0x65788"], "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"}