//
// sub_10052A88C from 0x10052a88c to 0x10052a8dc (80 bytes)
//
// 1 xrefs:
// > sub_10053A5DC @ 0x10053a83c
//
// 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_10052A88C(__int64 a1)
{
__int64 v1; // x19
int v2; // w0
v1 = *(_QWORD *)(a1 + 128);
v2 = sub_1006163C0(
*(_QWORD *)(a1 + 224),
*(_QWORD *)(v1 + 320),
0x4000,
*(_QWORD *)(v1 + 304),
*(unsigned int *)(v1 + 292));
if ( v2 < 0 )
return 0;
*(_DWORD *)(v1 + 292) = v2;
*(_QWORD *)(v1 + 304) = *(_QWORD *)(v1 + 320);
return 1;
}