//
// sub_10050CA84 from 0x10050ca84 to 0x10050cad4 (80 bytes)
//
// 8 xrefs:
// > sub_1004F0728 @ 0x1004f0748
// > sub_1004F0728 @ 0x1004f0754
// > sub_1004F0728 @ 0x1004f0760
// > sub_1004F0800 @ 0x1004f082c
// > sub_1004F0800 @ 0x1004f0838
// > sub_1004F0800 @ 0x1004f0850
// > sub_1004F0A30 @ 0x1004f0a80
// > sub_10050A9A4 @ 0x10050a9d4
//
// 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_10050CA84(__int64 a1, __int64 a2)
{
int *v4; // x1
v4 = *(int **)(a1 + 8);
if ( v4 )
sub_1004B1970(a2 + 67784, v4);
*(_DWORD *)a1 = 0;
*(_QWORD *)(a1 + 8) = 0;
return 0;
}