//
// sub_776C94 from 0x776c94 to 0x776ca4 (16 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
//
unsigned int __fastcall sub_776C94(_DWORD *a1, int a2, unsigned int a3)
{
unsigned int result; // r0
result = *(_DWORD *)(*a1 - 12) - a2;
if ( result >= a3 )
return a3;
return result;
}