//
// sub_10069A974 from 0x10069a974 to 0x10069aa00 (140 bytes)
//
// 4 xrefs:
// > sub_10067EF10 @ 0x10067fbe8
// > sub_100688CA0 @ 0x100688d84
// > sub_100688CA0 @ 0x100688ea0
// > sub_1006A92D4 @ 0x1006a9304
//
// 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:36 +0000
//
char **__fastcall sub_10069A974(__int64 a1, char *__s1)
{
char *v3; // x19
char **result; // x0
__int64 v5; // x9
__int64 v6; // x8
v3 = off_1009E5FE8(__s1);
if ( !v3 )
return nullptr;
result = (char **)off_1009E5FD0(0x10u);
if ( !result )
{
off_1009E5FD8(v3);
return nullptr;
}
*result = v3;
result[1] = nullptr;
if ( a1 )
{
v5 = a1;
do
{
v6 = v5;
v5 = *(_QWORD *)(v5 + 8);
}
while ( v5 );
*(_QWORD *)(v6 + 8) = result;
return (char **)a1;
}
return result;
}