//
// 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 (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 11:41:51 +0000
//
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;
}