//
// sub_180052A50 from 0x180052a50 to 0x180052a90 (64 bytes)
//
// 3 xrefs:
// > sub_180051410 @ 0x180051796
// > sub_180051B90 @ 0x180051c42
// > ??> @ 0x1801f8b14
//
// 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_180052A50(__int64 a1, __int64 a2)
{
__int64 result; // rax
sub_1800484A0(a1, (_QWORD *)(a2 + 528));
result = sub_180048360(a1, a2 + 648);
*(_DWORD *)(a2 + 128) = 2;
return result;
}