//
// sub_10052A8DC from 0x10052a8dc to 0x10052a928 (76 bytes)
//
// 1 xrefs:
// > sub_10053B550 @ 0x10053b6f8
//
// 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_10052A8DC(__int64 a1)
{
__int64 v1; // x19
int v2; // w0
v1 = *(_QWORD *)(a1 + 128);
v2 = sub_100616364(
*(_QWORD *)(a1 + 248),
*(_QWORD *)(v1 + 360),
17408,
*(_QWORD *)(v1 + 368),
*(unsigned int *)(v1 + 348));
if ( v2 < 0 )
return 0;
*(_DWORD *)(v1 + 348) = v2;
*(_QWORD *)(v1 + 368) = *(_QWORD *)(v1 + 360);
return 1;
}