//
// sub_E8BC48 from 0xe8bc48 to 0xe8bc70 (40 bytes)
//
// 4 xrefs:
// > sub_E8BF60 @ 0xe8bfc4
// > sub_E8C0E0 @ 0xe8c14c
// > sub_E8C0E0 @ 0xe8c170
// > sub_E8C0E0 @ 0xe8c180
//
// 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
//
char *__fastcall sub_E8BC48(char *result, _QWORD *a2)
{
__int64 v2; // x2
int v3; // w3
char v4; // t1
unsigned __int64 v5; // x4
v2 = 0;
v3 = 0;
do
{
v4 = *result++;
v5 = (unsigned __int64)(v4 & 0x7F) << v3;
v3 += 7;
v2 |= v5;
}
while ( v4 < 0 );
*a2 = v2;
return result;
}