//
// sub_10070AE30 from 0x10070ae30 to 0x10070ae84 (84 bytes)
//
// 6 xrefs:
// > ??> @ 0x1009bef30
// > ??> @ 0x1009bef88
// > ??> @ 0x1009befe0
// > ??> @ 0x1009bf038
// > ??> @ 0x1009bf090
// > ??> @ 0x1009bf0e8
//
// 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:53 +0000
//
__int64 __fastcall sub_10070AE30(__int64 a1, int a2, __int64 a3, unsigned __int8 *a4)
{
if ( a2 != 6 )
return 0xFFFFFFFFLL;
if ( (int)sub_100706330((__int64)a4, 8) < 1 )
return 0;
sub_1006BC254(a4);
return 1;
}