//
// std::__ndk1::basic_streambuf>::in_avail from 0x9556c8 to 0x9556da (18 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:05:27 +0000
//
int __fastcall std::streambuf::in_avail(int a1)
{
__int64 v1; // kr00_8
v1 = *(_QWORD *)(a1 + 12);
if ( (unsigned int)v1 >= HIDWORD(v1) )
return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 28))(a1);
else
return HIDWORD(v1) - v1;
}