//
// sub_B7B68 from 0xb7b68 to 0xb7bb4 (76 bytes)
//
// 1 xrefs:
// > sub_B7A3C @ 0xb7af4
//
// 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
//
__int64 __fastcall sub_B7B68(__int64 a1, const void **a2)
{
__int64 v3; // x8
void *v4; // x0
__int64 v5; // x9
if ( (const void **)a1 != a2 )
{
v3 = *(__int16 *)a2;
v4 = *(void **)(a1 + 8);
*(_WORD *)a1 = v3;
v5 = *((__int16 *)a2 + 1);
*(_WORD *)(a1 + 2) = v5;
memcpy(v4, a2[1], 4 * v3 * v5);
}
return a1;
}