//
// sub_10070BBD8 from 0x10070bbd8 to 0x10070bc58 (128 bytes)
//
// 10 xrefs:
// > ??> @ 0x1009bf400
// > ??> @ 0x1009bf458
// > ??> @ 0x1009bf4b0
// > ??> @ 0x1009bf508
// > ??> @ 0x1009bf560
// > ??> @ 0x1009bf5b8
// > ??> @ 0x1009bf610
// > ??> @ 0x1009bf668
// > ??> @ 0x1009bf6c0
// > ??> @ 0x1009bf718
//
// 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:54 +0000
//
__int64 __fastcall sub_10070BBD8(__int64 a1, int a2, __int64 a3, unsigned __int8 *a4)
{
if ( a2 != 6 )
return 0xFFFFFFFFLL;
if ( (int)sub_100706330((__int64)a4, *(unsigned int *)(a1 + 104)) < 1 )
return 0;
sub_1006BC254(a4);
if ( *(int *)(a1 + 104) >= 16 )
{
sub_1006BC254(a4 + 8);
if ( *(int *)(a1 + 104) >= 24 )
sub_1006BC254(a4 + 16);
}
return 1;
}