//
// sub_100019878 from 0x100019878 to 0x100019900 (136 bytes)
//
// 2 xrefs:
// > sub_1000197E8 @ 0x100019824
// > sub_100019C14 @ 0x100019c54
//
// 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_100019878(__int64 a1, __int64 a2, __int128 *a3)
{
__int128 v5; // q0
__int128 v6; // q0
__n128 result; // q0
__int128 v8; // q1
v5 = *a3;
*(_OWORD *)(a2 + 15) = *(__int128 *)((char *)a3 + 15);
*(_OWORD *)a2 = v5;
sub_100019924(a2 + 32, a3 + 2);
sub_100019924(a2 + 200, (char *)a3 + 200);
v6 = a3[23];
*(_QWORD *)(a2 + 384) = *((_QWORD *)a3 + 48);
*(_OWORD *)(a2 + 368) = v6;
sub_1000229B8(a2 + 392);
sub_1000229B8(a2 + 400);
result = *(__n128 *)((char *)a3 + 408);
v8 = *(__int128 *)((char *)a3 + 424);
*(_DWORD *)(a2 + 440) = *((_DWORD *)a3 + 110);
*(__n128 *)(a2 + 408) = result;
*(_OWORD *)(a2 + 424) = v8;
return result;
}