// // sub_10059BAD0 from 0x10059bad0 to 0x10059bb37 (103 bytes) // // 0 xrefs: // // 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:32:31 +0000 // std::string *__fastcall sub_10059BAD0(__int64 a1, const std::string::value_type *a2) { std::string *result; // rax __int64 v3; // rcx std::string::assign((std::string *)(a1 + 8), a2); result = (std::string *)*(unsigned __int8 *)(a1 + 8); if ( ((unsigned __int8)result & 1) != 0 ) { v3 = *(_QWORD *)(a1 + 16); if ( !v3 ) return result; } else { if ( !*(_BYTE *)(a1 + 8) ) return result; v3 = (unsigned int)result >> 1; } if ( ((unsigned __int8)result & 1) == 0 ) { if ( *(_BYTE *)(a1 + 9 + v3 - 1) == 47 ) return result; return std::string::append((std::string *)(a1 + 8), "/"); } if ( *(_BYTE *)(*(_QWORD *)(a1 + 24) + v3 - 1) != 47 ) return std::string::append((std::string *)(a1 + 8), "/"); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source