//
// sub_1005E16A8 from 0x1005e16a8 to 0x1005e16f4 (76 bytes)
//
// 2 xrefs:
// > sub_1005F46C8 @ 0x1005f473c
// > sub_1005F6B74 @ 0x1005f6bd0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:09:40 +0000
//
__int64 __fastcall sub_1005E16A8(__int64 a1, __int64 a2)
{
if ( (int)sub_1005ECC08(a2) > 255 )
return 31;
sub_1005ECD38(a1, a2, 256);
return 0;
}