// // GJSmartTemplate::isUnrequired from 0x100007e64 to 0x100007fc8 (356 bytes) // // 3 xrefs: // > GJSmartTemplate::logTemplateStatus @ 0x100007cd0 // > GJSmartTemplate::getTemplateState @ 0x10000811c // > BrowseSmartTemplateLayer::init @ 0x100071638 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall GJSmartTemplate::isUnrequired(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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source