//
// sub_10054E170 from 0x10054e170 to 0x10054e1bb (75 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:02 +0000
//
void __fastcall sub_10054E170(__int64 a1, __int64 a2)
{
std::string v2; // [rsp+0h] [rbp-20h] BYREF
if ( a2 && (unsigned int)(*(_DWORD *)(a2 + 1140) - 4) >= 0xFFFFFFFE )
{
sub_10054CB00(&v2, a2);
sub_10054DDE0(3, (__int64)&v2);
if ( (*(_BYTE *)&v2.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v2.__r_.__value_.__l.__data_);
}
}