// // HMAC from 0xa1dd1c to 0xa1ddec (208 bytes) // // 2 xrefs: // > sub_A2017C @ 0xa201d0 // > @ 0x7da5c // // 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:54 +0000 // void *__fastcall HMAC(int a1, const void *a2, size_t a3, int a4, int a5, void *a6, _DWORD *a7) { void *v7; // r4 int v11; // r0 _DWORD *v12; // r5 bool v13; // zf v7 = a6; if ( !a6 ) v7 = &unk_D35680; v11 = HMAC_CTX_new(); v12 = (_DWORD *)v11; if ( !v11 ) goto LABEL_12; v13 = a2 == nullptr; if ( !a2 ) v13 = a3 == 0; if ( v13 ) a2 = &unk_C57568; if ( HMAC_Init_ex(v11, a2, a3, a1, nullptr) && HMAC_Update(v12) && HMAC_Final((int)v12, (int)v7, a7) ) { HMAC_CTX_free((int)v12); return v7; } else { LABEL_12: HMAC_CTX_free((int)v12); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source