// // sub_87296C from 0x87296c to 0x872a4c (224 bytes) // // 1 xrefs: // > @ 0xa39d10 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_87296C(int a1, char *a2, char *a3) { int cipherbyname; // r3 if ( !a3 ) return 0; if ( !strcmp(a2, "cipher") ) { cipherbyname = EVP_get_cipherbyname((int)a3); return cipherbyname && CMAC_Init(*(int **)(a1 + 20), 0, 0, cipherbyname, *(_DWORD *)(a1 + 4)) != 0; } else if ( !strcmp(a2, "key") ) { return EVP_PKEY_CTX_str2ctrl(a1, 6, a3); } else if ( !strcmp(a2, "hexkey") ) { return EVP_PKEY_CTX_hex2ctrl(a1, 6, (int)a3); } else { return -2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source