//
// sub_1003B2D78 from 0x1003b2d78 to 0x1003b2da0 (40 bytes)
//
// 3 xrefs:
// > sub_100168594 @ 0x1001685b8
// > sub_100168698 @ 0x1001686dc
// > sub_1003FD448 @ 0x1003fd46c
//
// 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
//
__n128 __fastcall sub_1003B2D78(__int64 a1, __int64 a2)
{
__n128 result; // q0
__int128 v3; // q1
__int128 v4; // q3
if ( a1 == a2 )
sub_10062F89C(a1, a2);
result = *(__n128 *)a2;
v3 = *(_OWORD *)(a2 + 16);
v4 = *(_OWORD *)(a2 + 48);
*(_OWORD *)(a1 + 32) = *(_OWORD *)(a2 + 32);
*(_OWORD *)(a1 + 48) = v4;
*(__n128 *)a1 = result;
*(_OWORD *)(a1 + 16) = v3;
return result;
}