//
// sub_100643530 from 0x100643530 to 0x100643562 (50 bytes)
//
// 0 xrefs:
//
// 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::wstring *__fastcall sub_100643530(std::wstring *this, unsigned __int8 *a2)
{
unsigned int v2; // edx
unsigned __int64 v3; // rdx
unsigned __int8 *v4; // rsi
v2 = *a2;
if ( (v2 & 1) != 0 )
{
v3 = *((_QWORD *)a2 + 1);
v4 = *((unsigned __int8 **)a2 + 2);
}
else
{
v4 = a2 + 1;
v3 = v2 >> 1;
}
sub_100643350(this, v4, v3);
return this;
}