//
// sub_180017A70 from 0x180017a70 to 0x180017a84 (20 bytes)
//
// 3 xrefs:
// > int `_wcrtomb_s_l @ 0x1800e0d27
// > ??> @ 0x180133cdd
// > ??> @ 0x1801ae6f8
//
// 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
//
__int64 __fastcall sub_180017A70(__int64 (__fastcall ****a1)(_QWORD, __int64))
{
__int64 (__fastcall ***v1)(_QWORD, __int64); // rcx
__int64 result; // rax
v1 = *a1;
if ( v1 )
return (**v1)(v1, 1);
return result;
}