//
// sub_1006FC264 from 0x1006fc264 to 0x1006fc348 (228 bytes)
//
// 1 xrefs:
// > sub_1006FC118 @ 0x1006fc188
//
// 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:12:45 +0000
//
__int64 __fastcall sub_1006FC264(__int64 a1, char *__s)
{
__int64 v4; // x2
__int64 v5; // x4
int v7; // w0
_BYTE *v8; // x21
void *v9; // x0
if ( !a1 || !__s )
{
v4 = 67;
v5 = 349;
goto LABEL_6;
}
if ( *(_QWORD *)(a1 + 64) )
{
v4 = 110;
v5 = 353;
LABEL_6:
sub_100706FB0(37, 129, v4, "dso_lib.c", v5);
return 0;
}
v7 = strlen(__s);
v8 = sub_1006AE878((unsigned int)(v7 + 1), (__int64)"dso_lib.c", 357);
if ( !v8 )
{
v4 = 65;
v5 = 359;
goto LABEL_6;
}
strlen(__s);
sub_1007004A8((int)v8, __s);
v9 = *(void **)(a1 + 56);
if ( v9 )
sub_1006AEDAC(v9);
*(_QWORD *)(a1 + 56) = v8;
return 1;
}