{"type": "func", "start": 8419016, "end": 8419084, "name": "EVP_PKEY_CTX_str2ctrl", "pseudocode": "// \n// EVP_PKEY_CTX_str2ctrl from 0x8076c8 to 0x80770c (68 bytes)\n// \n// 6 xrefs:\n// > sub_8089F8 @ 0x808a64\n// > sub_80B800 @ 0x80b92c\n// > sub_80B800 @ 0x80b944\n// > sub_80BE54 @ 0x80bf50\n// > sub_87296C @ 0x872a38\n// > <???> @ 0x63c7c\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_str2ctrl(int a1, int a2, char *a3)\n{\n  signed int v6; // r2\n\n  v6 = strlen(a3);\n  if ( v6 < 0 )\n    return -1;\n  else\n    return (*(int (__fastcall **)(int, int, signed int, char *))(*(_DWORD *)a1 + 100))(a1, a2, v6, a3);\n}", "assembly": "; \n; EVP_PKEY_CTX_str2ctrl from 0x8076c8 to 0x80770c (68 bytes)\n; \n; 6 xrefs:\n; > sub_8089F8 @ 0x808a64\n; > sub_80B800 @ 0x80b92c\n; > sub_80B800 @ 0x80b944\n; > sub_80BE54 @ 0x80bf50\n; > sub_87296C @ 0x872a38\n; > <???> @ 0x63c7c\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x8076c8\nMOV             R5, R0                                                 ; +0x4, 0x8076cc\nMOV             R0, R2; char *                                         ; +0x8, 0x8076d0\nMOV             R4, R2                                                 ; +0xc, 0x8076d4\nMOV             R6, R1                                                 ; +0x10, 0x8076d8\nBL              strlen                                                 ; +0x14, 0x8076dc\nSUBS            R2, R0, #0                                             ; +0x18, 0x8076e0\nBLT             loc_807704                                             ; +0x1c, 0x8076e4\nLDR             R0, [R5]                                               ; +0x20, 0x8076e8\nMOV             R1, R6                                                 ; +0x24, 0x8076ec\nMOV             R3, R4                                                 ; +0x28, 0x8076f0\nLDR             R12, [R0,#0x64]                                        ; +0x2c, 0x8076f4\nMOV             R0, R5                                                 ; +0x30, 0x8076f8\nPOP             {R4-R6,LR}                                             ; +0x34, 0x8076fc\nBX              R12                                                    ; +0x38, 0x807700\nMOV             R0, #0xFFFFFFFF                                        ; +0x3c, 0x807704\nPOP             {R4-R6,PC}                                             ; +0x40, 0x807708", "xrefs": ["sub_8089F8 @ 0x808a64", "sub_80B800 @ 0x80b92c", "sub_80B800 @ 0x80b944", "sub_80BE54 @ 0x80bf50", "sub_87296C @ 0x872a38", "<???> @ 0x63c7c"], "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"}