//
// sub_100670304 from 0x100670304 to 0x100670354 (80 bytes)
//
// 2 xrefs:
// > sub_100685F44 @ 0x100686018
// > sub_100697618 @ 0x100697628
//
// 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:07 +0000
//
__int64 __fastcall sub_100670304(__int64 *a1)
{
__int64 v1; // x19
__int64 result; // x0
v1 = *a1;
*(_QWORD *)(*a1 + 1976) = 0;
result = sub_100670354(a1);
if ( !(_DWORD)result )
{
if ( (*(_BYTE *)(v1 + 2032) & 0x10) == 0 && !*(_BYTE *)(v1 + 2024) )
sub_100688C68(*(_QWORD *)(v1 + 544), "\n");
*(_DWORD *)(v1 + 2320) = 0;
return 0;
}
return result;
}