// // GJSmartTemplate::getVerySimplifiedKey from 0x1000055e8 to 0x1000056d0 (232 bytes) // // 6 xrefs: // > GJSmartTemplate::saveRemap @ 0x1000048e4 // > GJSmartTemplate::saveRemap @ 0x100004a54 // > GJSmartTemplate::getPrefab @ 0x1000068c4 // > GJSmartTemplate::getPrefab @ 0x100006930 // > GJSmartTemplate::getPrefab @ 0x1000069ac // > GJSmartTemplate::getPrefab @ 0x1000069fc // // 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 // __int64 *__usercall GJSmartTemplate::getVerySimplifiedKey@(__int64 *__return_ptr a1@, std::string *this@) { char v4; // w23 __int64 v5; // x8 std::string::size_type v6; // x21 __int64 *result; // x0 std::string *v8; // x8 if ( (SHIBYTE(this->__r_.__value_.__r.__words[2]) & 0x8000000000000000LL) != 0 ) { if ( !this->__r_.__value_.__l.__size_ ) return (__int64 *)sub_100009900((int)a1, ""); } else if ( !*((_BYTE *)&this->__r_.__value_.__s + 23) ) { return (__int64 *)sub_100009900((int)a1, ""); } v4 = 0; v5 = 1; while ( 2 ) { v6 = v5; while ( 1 ) { result = (__int64 *)std::string::at(this, v6); if ( (unsigned int)*(unsigned __int8 *)result - 50 <= 0xFFFFFFFD ) break; if ( ++v6 == 9 ) { if ( (v4 & 1) == 0 ) return (__int64 *)sub_100009900((int)a1, ""); goto LABEL_15; } } v8 = this; if ( SHIBYTE(this->__r_.__value_.__r.__words[2]) < 0 ) v8 = (std::string *)this->__r_.__value_.__r.__words[0]; v8->__r_.__value_.__s.__data_[v6] = 49; v5 = v6 + 1; v4 = 1; if ( v6 != 8 ) continue; break; } LABEL_15: *(_OWORD *)a1 = *(_OWORD *)&this->__r_.__value_.__l.__data_; a1[2] = this->__r_.__value_.__r.__words[2]; this->__r_.__value_.__l.__size_ = 0; this->__r_.__value_.__r.__words[2] = 0; this->__r_.__value_.__r.__words[0] = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source