//
// sub_761350 from 0x761350 to 0x761368 (24 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_761350(_DWORD *a1)
{
unsigned __int8 *v1; // r3
int result; // r0
v1 = (unsigned __int8 *)a1[2];
if ( (unsigned int)v1 >= a1[3] )
return (*(int (__fastcall **)(_DWORD *))(*a1 + 40))(a1);
result = *v1;
a1[2] = v1 + 1;
return result;
}