//
// std::__ndk1::basic_streambuf>::in_avail from 0xf4401c to 0xf4403c (32 bytes)
//
// 1 xrefs:
// > ??> @ 0x928a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:09 +0000
//
__int64 __fastcall std::streambuf::in_avail(_QWORD *a1)
{
unsigned __int64 v1; // x8
unsigned __int64 v2; // x9
v1 = a1[3];
v2 = a1[4];
if ( v1 >= v2 )
return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 56LL))(a1);
else
return v2 - v1;
}