//
// sub_829854 from 0x829854 to 0x829896 (66 bytes)
//
// 0 xrefs:
//
// 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:01:59 +0000
//
int __fastcall sub_829854(int a1, char *a2, unsigned int a3, _DWORD *a4)
{
int v6; // r0
if ( a3 <= 3
|| (unsigned int)(unsigned __int8)*a2 - 48 > 9
|| (unsigned int)(unsigned __int8)a2[1] - 48 > 9
|| (unsigned int)(unsigned __int8)a2[2] - 48 > 9
|| a2[3] != 32 )
{
return 0;
}
v6 = strtol(a2, nullptr, 10);
*a4 = sub_84B870(v6);
return 1;
}