//
// sub_83AC64 from 0x83ac64 to 0x83ac90 (44 bytes)
//
// 2 xrefs:
// > sub_83168C @ 0x832642
// > sub_84CED4 @ 0x84cefc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:02:16 +0000
//
int __fastcall sub_83AC64(int result, unsigned __int8 *a2, int a3)
{
int v3; // r3
if ( a3 )
{
--result;
do
{
v3 = *a2;
if ( (unsigned int)(v3 - 97) <= 0x19 )
LOBYTE(v3) = v3 - 32;
*(_BYTE *)++result = v3;
if ( !*a2++ )
break;
--a3;
}
while ( a3 );
}
return result;
}