//
// sub_47CF2 from 0x47cf2 to 0x47d18 (38 bytes)
//
// 2 xrefs:
// > sub_49C60 @ 0x49c76
// > sub_4C372 @ 0x4c390
//
// 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:40:39 +0000
//
int __fastcall sub_47CF2(int a1, unsigned int a2, int a3)
{
if ( (a3 & 0x7F800000) == 0x7F800000 )
return 29;
if ( a2 > 3 )
return 59;
*(_DWORD *)(a1 + 4 * a2 + 244) = a3;
return 0;
}