//
// sub_100720160 from 0x100720160 to 0x100720192 (50 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:36:13 +0000
//
std::wstring *__fastcall sub_100720160(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_10071FF80(this, v4, v3);
return this;
}