// // sub_A1D680 from 0xa1d680 to 0xa1d79c (284 bytes) // // 1 xrefs: // > @ 0xc79568 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:07:53 +0000 // int __fastcall sub_A1D680(int a1, int a2) { int v4; // r0 int v5; // r5 int v6; // r0 _DWORD *data; // r5 _DWORD *v8; // r0 int v9; // r1 _DWORD *v10; // r6 int v11; // r1 int v12; // r0 int v13; // r5 v4 = CRYPTO_zalloc(24, "crypto/hmac/hm_pmeth.c", 30); v5 = v4; if ( !v4 ) return 0; *(_DWORD *)(v4 + 8) = 4; v6 = HMAC_CTX_new(v4); *(_DWORD *)(v5 + 20) = v6; if ( !v6 ) { CRYPTO_free(v5, "crypto/hmac/hm_pmeth.c", 36); return 0; } *(_DWORD *)(a1 + 36) = 0; *(_DWORD *)(a1 + 20) = v5; data = (_DWORD *)EVP_PKEY_CTX_get_data(a2); v8 = (_DWORD *)EVP_PKEY_CTX_get_data(a1); v9 = data[5]; *v8 = *data; v10 = v8; if ( !HMAC_CTX_copy(v8[5], v9) || (v11 = data[3]) != 0 && !ASN1_OCTET_STRING_set(v10 + 1, v11, data[1]) ) { v12 = EVP_PKEY_CTX_get_data(a1); v13 = v12; if ( v12 ) { HMAC_CTX_free(*(_DWORD *)(v12 + 20)); CRYPTO_clear_free(*(_DWORD *)(v13 + 12), *(_DWORD *)(v13 + 4), "crypto/hmac/hm_pmeth.c", 78); CRYPTO_free(v13, "crypto/hmac/hm_pmeth.c", 79); EVP_PKEY_CTX_set_data(a1, 0); return 0; } return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source