//
// sub_8500C4 from 0x8500c4 to 0x850118 (84 bytes)
//
// 2 xrefs:
// > sub_84D8EC @ 0x84da36
// > sub_84DC64 @ 0x84ddf6
//
// 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:02:30 +0000
//
int __fastcall sub_8500C4(int a1, char *a2, const char **a3, size_t *a4)
{
size_t v8; // r4
char *v9; // r0
v8 = strlen(a2);
if ( v8 )
return sub_81FC8C(a1, a2, v8, a3, a4);
v9 = off_D200B8("=");
*a3 = v9;
if ( v9 )
{
*a4 = 1;
return 0;
}
else
{
*a4 = 0;
return 27;
}
}