//
// std::__ndk1::basic_istream>::get from 0xf46300 to 0xf463c4 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x827c8
//
// 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:10 +0000
//
__int64 __fastcall std::istream::get(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 v6; // x0
unsigned int v7; // w22
__int64 result; // x0
_QWORD v9[2]; // [xsp+0h] [xbp-30h] BYREF
v9[1] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
std::locale::locale((std::locale *)v9, (const std::locale *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 48));
v6 = std::locale::use_facet((std::locale *)v9, (std::locale::id *)&std::ctype::id);
v7 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 56LL))(v6, 10);
std::locale::~locale((std::locale *)v9);
result = std::istream::get(a1, a2, a3, v7);
_ReadStatusReg(TPIDR_EL0);
return result;
}