//
// sub_1000C335C from 0x1000c335c to 0x1000c33b4 (88 bytes)
//
// 6 xrefs:
// > sub_10009F7D0 @ 0x10009f838
// > sub_10009FD5C @ 0x10009fdc4
// > sub_1000A0DD0 @ 0x1000a0e38
// > sub_1000A1934 @ 0x1000a1998
// > sub_1000A203C @ 0x1000a2098
// > sub_1000A21A8 @ 0x1000a2204
//
// 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 10:58:48 +0000
//
__int64 __fastcall sub_1000C335C(const std::string *a1)
{
std::string::size_type v2; // x0
const char *v3; // x8
v2 = std::string::find(a1, 95, 0);
if ( v2 == -1 )
return 0;
if ( (a1->__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v3 = (const char *)a1;
else
v3 = (const char *)a1->__r_.__value_.__r.__words[0];
return atoi(&v3[v2 + 1]);
}