//
// sub_BBF0C from 0xbbf0c to 0xbbf30 (36 bytes)
//
// 0 xrefs:
//
// 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:46 +0000
//
int __fastcall sub_BBF0C(_DWORD *a1, _DWORD *a2, int a3)
{
int v3; // r3
unsigned int v4; // r2
v3 = a1[105];
v4 = a3 + v3;
if ( v4 > a1[5] )
return 16;
*a2 = v3 + a1[106];
a1[105] = v4;
return 0;
}