//
// sub_10050FE00 from 0x10050fe00 to 0x10050fe24 (36 bytes)
//
// 1 xrefs:
// > sub_1004D1228 @ 0x1004d1aa4
//
// 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_10050FE00(__int64 a1, __int64 a2)
{
*(_QWORD *)a1 = a2;
*(_DWORD *)(a1 + 8) = 0;
if ( *(_DWORD *)(a1 + 24) )
return 28;
else
return sub_1005107F4(a1 + 16, 64);
}