// // sub_1001E4CFC from 0x1001e4cfc to 0x1001e4e40 (324 bytes) // // 2 xrefs: // > sub_1001E31B4 @ 0x1001e31e4 // > sub_1001E31B4 @ 0x1001e31fc // // 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 11:00:32 +0000 // void __usercall sub_1001E4CFC(__int64 *a1@, std::string *a2@) { std::string::size_type v4; // x1 unsigned __int64 v5; // x8 __int64 v6; // x9 unsigned __int64 v7; // x22 unsigned __int64 v8; // x8 __int64 *v9; // x8 int v10; // w27 int v11; // w21 unsigned __int64 v12; // x26 __uint32_t v13; // w0 unsigned __int64 v14; // x9 a2->__r_.__value_.__r.__words[0] = 0; a2->__r_.__value_.__l.__size_ = 0; a2->__r_.__value_.__r.__words[2] = 0; if ( *((char *)a1 + 23) >= 0 ) v4 = *((unsigned __int8 *)a1 + 23); else v4 = a1[1]; std::string::reserve(a2, v4); v5 = *((char *)a1 + 23); v6 = a1[1]; if ( (v5 & 0x80000000) == 0LL ) v6 = *((char *)a1 + 23); if ( v6 ) { v7 = 0; v8 = v5 >> 63; do { if ( (v8 & 1) != 0 ) v9 = (__int64 *)*a1; else v9 = a1; v10 = *((char *)v9 + v7); v11 = *((unsigned __int8 *)v9 + v7); v12 = *((unsigned __int8 *)v9 + v7); if ( v10 < 0 ) v13 = __maskrune(*((unsigned __int8 *)v9 + v7), 0x500u); else v13 = _DefaultRuneLocale.__runetype[v12] & 0x500; if ( !v13 && (unsigned int)(v11 - 45) >= 2 && v11 != 95 && v11 != 126 ) { std::string::push_back(a2, 37); std::string::push_back(a2, a0123456789abcd_3[v12 >> 4]); LOBYTE(v10) = a0123456789abcd_3[v12 & 0xF]; } std::string::push_back(a2, v10); ++v7; v14 = *((char *)a1 + 23); v8 = v14 >> 63; if ( (v14 & 0x80000000) != 0LL ) v14 = a1[1]; } while ( v7 < v14 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source