//
// sub_79EB4 from 0x79eb4 to 0x79efa (70 bytes)
//
// 1 xrefs:
// > sub_77980 @ 0x77984
//
// 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:13 +0000
//
int __fastcall sub_79EB4(_DWORD *a1, int a2, unsigned int a3)
{
unsigned int v4; // r1
unsigned int *v5; // r6
int v7; // r8
v4 = a1[2874];
if ( v4 != a3 )
{
v5 = a1 + 2874;
if ( v4 > a3 )
{
v7 = a1[2887];
sub_79364(a1, 0);
a1[2887] = v7;
}
while ( *v5 < a3 )
sub_792FC((int)a1, 0, 0);
}
return 0;
}