//
// sub_100687310 from 0x100687310 to 0x100687348 (56 bytes)
//
// 7 xrefs:
// > sub_100682ECC @ 0x100683d8c
// > sub_100682ECC @ 0x100683da0
// > sub_100682ECC @ 0x100683e10
// > sub_100682ECC @ 0x100683e44
// > sub_100682ECC @ 0x100683e58
// > sub_100682ECC @ 0x100683e6c
// > sub_10068AF58 @ 0x10068afd4
//
// 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:11:25 +0000
//
char *__fastcall sub_100687310(const char *a1)
{
char *v1; // x0
v1 = getenv(a1);
if ( v1 && *v1 )
return off_1009E5FE8(v1);
else
return nullptr;
}