//
// sub_100701A0C from 0x100701a0c to 0x100701a6c (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009e91b0
//
// 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:49 +0000
//
__int64 __fastcall sub_100701A0C(__int64 a1, char *__s)
{
unsigned int v4; // w19
__int64 result; // x0
v4 = strlen(__s);
result = 0;
if ( __s && *(_DWORD *)(a1 + 24) )
{
if ( (unsigned int)fwrite(__s, (int)v4, 1u, *(FILE **)(a1 + 48)) )
return v4;
else
return 0;
}
return result;
}