// // sub_102D790 from 0x102d790 to 0x102d81c (140 bytes) // // 1 xrefs: // > @ 0x1402958 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:18 +0000 // __int64 __fastcall sub_102D790(__int64 a1, void **a2) { const void **v3; // x20 __int64 result; // x0 void *v5; // x0 v3 = (const void **)EVP_PKEY_get0(a1); if ( !a2 ) return *(unsigned int *)v3; if ( !*a2 ) { v5 = (void *)CRYPTO_malloc(*(int *)v3, "crypto/hmac/hm_ameth.c", 83); *a2 = v5; if ( !v5 ) return 0xFFFFFFFFLL; memcpy(v5, v3[1], *(int *)v3); return *(unsigned int *)v3; } memcpy(*a2, v3[1], *(int *)v3); result = *(unsigned int *)v3; *a2 = (char *)*a2 + (int)result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source