//
// sub_10052D15C from 0x10052d15c to 0x10052d1a0 (68 bytes)
//
// 3 xrefs:
// > sub_100526DBC @ 0x100526df0
// > sub_10052A5B0 @ 0x10052a854
// > sub_10052B0A8 @ 0x10052bd94
//
// 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_10052D15C(__int64 a1)
{
__int64 v2; // x8
_QWORD *v3; // x3
v2 = *(_QWORD *)(a1 + 128);
v3 = *(_QWORD **)(v2 + 240);
if ( v3 )
{
sub_10052D068(*(_QWORD *)(a1 + 368), 1, *(_QWORD *)(v2 + 248), v3);
*(_QWORD *)(*(_QWORD *)(a1 + 128) + 240LL) = 0;
}
return 1;
}