//
// sub_B9475C from 0xb9475c to 0xb947a0 (68 bytes)
//
// 2 xrefs:
// > sub_B87DB4 @ 0xb8a72c
// > sub_BADB64 @ 0xbadbc8
//
// 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
//
__int64 __fastcall sub_B9475C(__int64 result, __int64 a2, __int64 a3)
{
__int64 v3; // x3
char v4; // w4
int v5; // w4
v3 = 0;
if ( a3 )
{
do
{
v4 = *(_BYTE *)(a2 + v3);
if ( (unsigned __int8)(v4 - 97) <= 0x19u )
v4 -= 32;
*(_BYTE *)(result + v3) = v4;
v5 = *(unsigned __int8 *)(a2 + v3++);
}
while ( v5 && a3 != v3 );
}
return result;
}