//
// sub_1007BFE90 from 0x1007bfe90 to 0x1007bfeb5 (37 bytes)
//
// 1 xrefs:
// > ProfilePage::onSocialPage @ 0x1007bcd5e
//
// 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
//
std::string *__fastcall sub_1007BFE90(std::string *a1, unsigned __int8 *a2)
{
unsigned int v2; // edx
v2 = *a2;
if ( (v2 & 1) != 0 )
return std::string::append(a1, *((const std::string::value_type **)a2 + 2), *((_QWORD *)a2 + 1));
else
return std::string::append(a1, (const std::string::value_type *)a2 + 1, v2 >> 1);
}