//
// sub_99301A from 0x99301a to 0x993088 (110 bytes)
//
// 4 xrefs:
// > std::__ndk1::ctype_byname::do_is @ 0x970096
// > std::__ndk1::ctype_byname::do_is @ 0x970184
// > std::__ndk1::ctype_byname::do_scan_is @ 0x970284
// > std::__ndk1::ctype_byname::do_scan_not @ 0x97035a
//
// 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:06:37 +0000
//
bool __fastcall sub_99301A(unsigned int a1)
{
int v1; // r1
bool v2; // cf
if ( a1 <= 0xFE )
return (((_BYTE)a1 + 1) & 0x7Fu) > 0x20;
v1 = 1;
if ( a1 - 57344 >= 0x1FF9 )
{
v2 = a1 >= 0x2028;
if ( a1 >= 0x2028 )
v2 = a1 - 8234 >= 0xB7D6;
if ( v2 )
return a1 - 65532 < (unsigned int)"eStatsManager23registerRewardsFromItemEP12GJRewardItem"
&& (a1 & 0xFFFE) != 65534;
}
return v1;
}