//
// sub_1005C73E0 from 0x1005c73e0 to 0x1005c741c (60 bytes)
//
// 0 xrefs:
//
// 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 12:32:48 +0000
//
std::string *__fastcall sub_1005C73E0(__int64 *a1, std::string *a2)
{
std::string *result; // rax
__int64 v3; // rcx
result = (std::string *)*((int *)a1 + 6);
v3 = *a1;
if ( (int)result < (int)(-1431655765 * ((unsigned __int64)(a1[1] - *a1) >> 3)) )
{
*((_DWORD *)a1 + 6) = (_DWORD)result + 1;
return std::string::operator=(a2, (const std::string *)(v3 + 24LL * (_QWORD)result));
}
return result;
}