{"type": "func", "start": 8416476, "end": 8416532, "name": "EVP_PKEY_CTX_get_keygen_info", "pseudocode": "// \n// EVP_PKEY_CTX_get_keygen_info from 0x806cdc to 0x806d14 (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x63c0c\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\nint __fastcall EVP_PKEY_CTX_get_keygen_info(int a1, int a2)\n{\n  if ( a2 == -1 )\n    return *(_DWORD *)(a1 + 36);\n  if ( a2 < 0 || a2 > *(_DWORD *)(a1 + 36) )\n    return 0;\n  return *(_DWORD *)(*(_DWORD *)(a1 + 32) + 4 * a2);\n}", "assembly": "; \n; EVP_PKEY_CTX_get_keygen_info from 0x806cdc to 0x806d14 (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x63c0c\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             R1, #1                                                 ; +0x0, 0x806cdc\nBEQ             loc_806D0C                                             ; +0x4, 0x806ce0\nCMP             R1, #0                                                 ; +0x8, 0x806ce4\nBLT             loc_806D04                                             ; +0xc, 0x806ce8\nLDR             R3, [R0,#0x24]                                         ; +0x10, 0x806cec\nCMP             R1, R3                                                 ; +0x14, 0x806cf0\nBGT             loc_806D04                                             ; +0x18, 0x806cf4\nLDR             R3, [R0,#0x20]                                         ; +0x1c, 0x806cf8\nLDR             R0, [R3,R1,LSL#2]                                      ; +0x20, 0x806cfc\nBX              LR                                                     ; +0x24, 0x806d00\nMOV             R0, #0                                                 ; +0x28, 0x806d04\nBX              LR                                                     ; +0x2c, 0x806d08\nLDR             R0, [R0,#0x24]                                         ; +0x30, 0x806d0c\nBX              LR                                                     ; +0x34, 0x806d10", "xrefs": ["<???> @ 0x63c0c"], "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"}