//
// sub_8E6FE from 0x8e6fe to 0x8e746 (72 bytes)
//
// 1 xrefs:
// > sub_AA8A8 @ 0xaa8ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:24 +0000
//
int __fastcall sub_8E6FE(_DWORD *a1, _DWORD *a2, int a3)
{
int result; // r0
a1[13] = a2[13];
a1[19] = a2[19];
if ( !a3 || (result = sub_987A8(a1 + 7, *a1, a2 + 7)) == 0 && (result = sub_987A8(a1 + 9, *a1, a2 + 9)) == 0 )
{
a1[14] = a2[14];
a1[15] = a2[15];
a1[16] = a2[16];
a1[17] = a2[17];
return 0;
}
return result;
}