//
// sub_10059B960 from 0x10059b960 to 0x10059b9a8 (72 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
//
bool __fastcall sub_10059B960(__int64 a1, const char *a2)
{
mode_t v2; // r14
int v3; // ebx
v2 = umask(0);
v3 = mkdir(a2, 0x1FFu);
umask(v2);
return !v3 || *__error() == 17;
}