//
// sub_FF6BE8 from 0xff6be8 to 0xff6c48 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x13ff9c8
//
// 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 13:15:48 +0000
//
__int64 __fastcall sub_FF6BE8(__int64 a1, char *a2)
{
unsigned int v3; // w19
int v4; // w0
v3 = 0;
v4 = strlen(a2);
if ( *(_DWORD *)(a1 + 24) )
{
v3 = v4;
if ( !(unsigned int)fwrite(a2, v4, 1u, *(FILE **)(a1 + 48)) )
return 0;
}
return v3;
}