//
// sub_1006824AC from 0x1006824ac to 0x1006825b8 (268 bytes)
//
// 2 xrefs:
// > sub_10067EF10 @ 0x10067f854
// > sub_10067EF10 @ 0x10067f874
//
// 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:18 +0000
//
__int64 __fastcall sub_1006824AC(char *__s, void **a2, void **a3)
{
__int64 v6; // x21
char *v8; // [xsp+8h] [xbp-28h]
v8 = nullptr;
if ( !__s || (strlen(__s), v6 = sub_10068631C(__s), !(_DWORD)v6) )
{
if ( a2 )
{
v6 = 0;
if ( __s )
{
if ( *__s == 58 )
{
v8 = off_1009E5FE8("");
if ( v8 )
v6 = 0;
else
v6 = 27;
}
else
{
v6 = 0;
}
}
off_1009E5FD8(*a2);
*a2 = v8;
}
else
{
v6 = 0;
}
if ( a3 )
{
off_1009E5FD8(*a3);
*a3 = nullptr;
}
}
return v6;
}