//
// sub_1007270AC from 0x1007270ac to 0x100727140 (148 bytes)
//
// 1 xrefs:
// > sub_10073AC78 @ 0x10073ac98
//
// 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:13:08 +0000
//
const char **__fastcall sub_1007270AC(__int64 a1, __int64 a2)
{
int v4; // w8
time_t v6; // [xsp+8h] [xbp-18h] BYREF
time(&v6);
if ( !a1 || (*(_BYTE *)(a1 + 16) & 0x40) != 0 )
return sub_10071599C((const char **)a1, v6, 0, a2);
v4 = *(_DWORD *)(a1 + 4);
if ( v4 == 24 )
return (const char **)sub_10071585C(a1, v6, 0, a2);
if ( v4 == 23 )
return sub_10071522C((const char **)a1, v6, 0, a2);
else
return sub_10071599C((const char **)a1, v6, 0, a2);
}