// // common_getenv_nolock from 0x180128d24 to 0x180128dad (137 bytes) // // 2 xrefs: // > common_getenv @ 0x180128d0a // > @ 0x180202a38 // // 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 10:54:56 +0000 // const char *__fastcall common_getenv_nolock(char *String2) { const char **v2; // rax const char **v3; // rdi size_t v4; // rbx const char *i; // rax unsigned __int64 v6; // rcx v2 = (const char **)unknown_libname_64(); 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 && !strnicoll(i, String2, v4) ) return &(*v3)[v4 + 1]; ++v3; } } return nullptr; }