// // sub_1000A08D0 from 0x1000a08d0 to 0x1000a09d6 (262 bytes) // // 3 xrefs: // > GJAccountManager::registerAccount @ 0x1000a0549 // > GJAccountManager::registerAccount @ 0x1000a0571 // > GJAccountManager::registerAccount @ 0x1000a0599 // // This function is hookable on this platform (idp: pc, 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 12:20:13 +0000 // void __fastcall sub_1000A08D0(std::string *this, unsigned __int8 *a2) { unsigned int v2; // eax __int64 v3; // rax unsigned int v4; // r15d __int64 v5; // r15 unsigned __int8 *v6; // r14 __int64 i; // r12 unsigned __int8 v8; // al unsigned int v9; // r13d *(_OWORD *)&this->__r_.__value_.__l.0 = 0; this->__r_.__value_.__r.__words[2] = 0; v2 = *a2; if ( (v2 & 1) != 0 ) v3 = *((_QWORD *)a2 + 1); else v3 = v2 >> 1; std::string::reserve(this, 3 * v3); v4 = *a2; if ( (v4 & 1) != 0 ) { v5 = *((_QWORD *)a2 + 1); v6 = *((unsigned __int8 **)a2 + 2); if ( !v5 ) return; } else { v6 = a2 + 1; v5 = v4 >> 1; if ( !v5 ) return; } for ( i = 0; i != v5; ++i ) { v8 = v6[i]; if ( (unsigned __int8)(v8 - 48) >= 0xAu && (unsigned __int8)((v8 & 0xDF) - 65) >= 0x1Au ) { v9 = v8; if ( (unsigned int)v8 - 45 >= 2 && v8 != 95 && v8 != 126 ) { std::string::push_back(this, 37); std::string::push_back(this, a0123456789abcd[v9 >> 4]); v8 = a0123456789abcd[v9 & 0xF]; } } std::string::push_back(this, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source