//
// sub_100007E64 from 0x100007e64 to 0x100007fc8 (356 bytes)
//
// 3 xrefs:
// > sub_100007BBC @ 0x100007cd0
// > sub_100007FC8 @ 0x10000811c
// > sub_100079BF0 @ 0x100079dd8
//
// 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:57:11 +0000
//
bool __fastcall sub_100007E64(int a1, std::string *this)
{
__int64 v3; // x19
int v4; // w22
int v5; // w23
std::string::value_type v6; // w26
int v7; // w27
int v8; // w28
int v9; // w21
std::string::reference v10; // x0
bool v11; // w9
bool v12; // w11
bool v13; // w12
bool v14; // w9
bool v15; // w10
bool v16; // w9
int v21; // [xsp+Ch] [xbp-54h]
v3 = 1;
v21 = (unsigned __int8)*std::string::at(this, 1u);
v4 = (unsigned __int8)*std::string::at(this, 2u);
v5 = (unsigned __int8)*std::string::at(this, 3u);
v6 = *std::string::at(this, 4u);
v7 = (unsigned __int8)*std::string::at(this, 5u);
v8 = (unsigned __int8)*std::string::at(this, 6u);
v9 = (unsigned __int8)*std::string::at(this, 7u);
v10 = std::string::at(this, 8u);
v11 = v5 == 48 || v21 == 48;
v12 = v5 == 48 || v4 == 48;
v13 = v7 != 48 && v11;
v14 = v6 == 48 || v21 == 48;
v15 = v8 != 48 && v14;
v16 = v9 != 48 && v12;
if ( !v13 && !v15 && !v16 )
{
if ( *v10 == 48 )
return v21 == 48 && (unsigned __int8)v4 == 48 && (unsigned __int8)v5 == 48 && v6 == 48;
else
return v4 == 48 || v6 == 48;
}
return v3;
}