// // common_getenv_nolock from 0x180128db0 to 0x180128e48 (152 bytes) // // 2 xrefs: // > common_getenv_s @ 0x180128ec1 // > @ 0x180202a44 // // 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 // const wchar_t *__fastcall common_getenv_nolock(wchar_t *String2) { const wchar_t **v2; // rax const wchar_t **v3; // rdi size_t v4; // rbx const wchar_t *i; // rax unsigned __int64 v6; // rcx v2 = (const wchar_t **)unknown_libname_65(); v3 = v2; if ( v2 && String2 ) { v4 = -1; do ++v4; while ( String2[v4] ); for ( i = *v2; i; i = *v3 ) { v6 = -1; do ++v6; while ( i[v6] ); if ( v6 > v4 && i[v4] == 61 && !wcsnicoll(i, String2, v4) ) return &(*v3)[v4 + 1]; ++v3; } } return nullptr; }