//
// sub_180052A50 from 0x180052a50 to 0x180052a90 (64 bytes)
//
// 3 xrefs:
// > sub_180051410 @ 0x180051796
// > sub_180051B90 @ 0x180051c42
// > ??> @ 0x1801f8b14
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:53:18 +0000
//
__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;
}