//
// sub_1003B02CC from 0x1003b02cc to 0x1003b032c (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x10080dfe0
//
// 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
//
void __fastcall sub_1003B02CC(__int64 a1, void *a2, size_t a3)
{
void **v4; // x1
std::string::size_type v5; // x2
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
unsigned __int8 v7; // [xsp+1Fh] [xbp-11h]
sub_100085F6C(__p, a2, a3);
if ( (v7 & 0x80u) == 0 )
v4 = __p;
else
v4 = (void **)__p[0];
if ( (v7 & 0x80u) == 0 )
v5 = v7;
else
v5 = (std::string::size_type)__p[1];
std::string::append((std::string *)(a1 + 8), (const std::string::value_type *)v4, v5);
if ( (char)v7 < 0 )
operator delete(__p[0]);
}