//
// sub_74330C from 0x74330c to 0x74333a (46 bytes)
//
// 3 xrefs:
// > sub_74333C @ 0x74339a
// > sub_7434BC @ 0x743788
// > sub_7434BC @ 0x743790
//
// 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_74330C(char *result, _DWORD *a2)
{
int v2; // r5
unsigned int v3; // r2
char v4; // r4
char v5; // t1
int v6; // r3
v2 = 0;
v3 = 0;
do
{
v5 = *result++;
v4 = v5;
v6 = (v5 & 0x7F) << v3;
v3 += 7;
v2 |= v6;
}
while ( v5 < 0 );
if ( v3 <= 0x1F && (v4 & 0x40) != 0 )
v2 |= -1 << v3;
*a2 = v2;
return result;
}