//
// sub_8CAF14 from 0x8caf14 to 0x8caf84 (112 bytes)
//
// 10 xrefs:
// > sub_8C7DD0 @ 0x8c8258
// > sub_8C7DD0 @ 0x8c829c
// > sub_8C7DD0 @ 0x8c82e0
// > sub_8C7DD0 @ 0x8c8324
// > sub_8C7DD0 @ 0x8c8368
// > sub_8C7DD0 @ 0x8c83ac
// > sub_8C7DD0 @ 0x8c84bc
// > sub_8C7DD0 @ 0x8c8500
// > sub_8C7DD0 @ 0x8c8998
// > sub_8C7DD0 @ 0x8c8de8
//
// 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 12:04:03 +0000
//
int __fastcall sub_8CAF14(int a1, _DWORD *a2, int a3, unsigned __int16 a4, unsigned __int16 a5)
{
if ( a3 )
return sub_8CC384(a1, a2, a3, a4, a5);
++*a2;
return 1;
}