//
// sub_C4784 from 0xc4784 to 0xc47a8 (36 bytes)
//
// 7 xrefs:
// > sub_C7C28 @ 0xc818a
// > sub_C7C28 @ 0xc8218
// > sub_C7C28 @ 0xc826c
// > sub_C7C28 @ 0xc83ae
// > sub_C7C28 @ 0xc8472
// > sub_C7C28 @ 0xc84a6
// > sub_C8F5C @ 0xc9096
//
// 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
//
int __fastcall sub_C4784(int a1, int a2, int *a3, unsigned int a4)
{
char v4; // r5
v4 = a4;
if ( !sub_C460A(a1, a2, a3, a4) )
return 0;
*a3 = *a3 << (32 - v4) >> (32 - v4);
return 1;
}