//
// sub_78CEB4 from 0x78ceb4 to 0x78cf48 (148 bytes)
//
// 4 xrefs:
// > ssl3_cbc_digest_record @ 0x78d99c
// > ssl3_cbc_digest_record @ 0x78ddf4
// > ssl3_cbc_digest_record @ 0x78ddfc
// > ??> @ 0x78df50
//
// 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_78CEB4(int result, int a2)
{
*(_WORD *)a2 = *(_DWORD *)result;
*(_BYTE *)(a2 + 2) = *(_WORD *)(result + 2);
*(_BYTE *)(a2 + 3) = *(_BYTE *)(result + 3);
*(_WORD *)(a2 + 4) = *(_DWORD *)(result + 4);
*(_BYTE *)(a2 + 6) = *(_WORD *)(result + 6);
*(_BYTE *)(a2 + 7) = *(_BYTE *)(result + 7);
*(_WORD *)(a2 + 8) = *(_DWORD *)(result + 8);
*(_BYTE *)(a2 + 10) = *(_WORD *)(result + 10);
*(_BYTE *)(a2 + 11) = *(_BYTE *)(result + 11);
*(_WORD *)(a2 + 12) = *(_DWORD *)(result + 12);
*(_BYTE *)(a2 + 14) = *(_WORD *)(result + 14);
*(_BYTE *)(a2 + 15) = *(_BYTE *)(result + 15);
return result;
}