//
// sub_908F78 from 0x908f78 to 0x908fb0 (56 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 12:04:20 +0000
//
int __fastcall sub_908F78(_DWORD *a1)
{
int v1; // r2
int v2; // r5
bool v3; // cc
int v6; // r0
void (__fastcall *v7)(_DWORD *, int, int); // r3
int v8; // r6
v1 = a1[3];
v2 = a1[10];
v3 = v1 <= 0;
if ( v1 > 0 )
v3 = a1[4] <= 0;
if ( v3 )
return 0;
v6 = (*(int (**)(void))(v2 + 364))();
v7 = *(void (__fastcall **)(_DWORD *, int, int))(v2 + 368);
v8 = v6;
if ( v7 )
v7(a1, v2, v6);
*(_DWORD *)(v2 + 16) += v8;
return 1;
}