// // CRYPTO_ocb128_copy_ctx from 0x817f24 to 0x817fa8 (132 bytes) // // 2 xrefs: // > sub_7FDA8C @ 0x7fdb78 // > @ 0x62cdc // // 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 // void *__fastcall CRYPTO_ocb128_copy_ctx(_DWORD *a1, int a2, int a3, int a4) { int v8; // r3 void *result; // r0 memcpy(a1, (const void *)a2, 0xA8u); v8 = *(_DWORD *)(a2 + 64); if ( a3 ) a1[2] = a3; if ( a4 ) a1[3] = a4; if ( !v8 ) return &dword_0 + 1; result = CRYPTO_malloc((void *)(16 * *(_DWORD *)(a2 + 24)), (int)"crypto/modes/ocb128.c", 213); a1[16] = result; if ( result ) { memcpy(result, *(const void **)(a2 + 64), 16 * (*(_DWORD *)(a2 + 20) + 1)); return &dword_0 + 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source