//
// std::__ndk1::basic_streambuf>::uflow from 0x7fd248 to 0x7fd288 (64 bytes)
//
// 5 xrefs:
// > ??> @ 0xab4c0
// > ??> @ 0x143eea0
// > ??> @ 0x143ef40
// > ??> @ 0x1531f40
// > ??> @ 0x1533338
//
// 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 12:54:42 +0000
//
__int64 __fastcall std::streambuf::uflow(_QWORD *a1)
{
__int64 result; // x0
unsigned __int8 *v3; // x0
result = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 72LL))(a1);
if ( (_DWORD)result != -1 )
{
v3 = (unsigned __int8 *)a1[3];
a1[3] = v3 + 1;
return *v3;
}
return result;
}