//
// std::__ndk1::__libcpp_sscanf_l from 0xf53438 to 0xf53518 (224 bytes)
//
// 3 xrefs:
// > std::__ndk1::num_get>>::do_get @ 0xf52fa8
// > std::__ndk1::num_get>>::do_get @ 0xf55fdc
// > ??> @ 0xdd1d0
//
// 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:19 +0000
//
__int64 std::__libcpp_sscanf_l(const char *a1, __locale_t *a2, const char *a3, ...)
{
__int64 v5; // x20
unsigned int v6; // w19
gcc_va_list arg; // [xsp+C0h] [xbp-80h] BYREF
gcc_va_list va; // [xsp+E8h] [xbp-58h] BYREF
va_start(va, a3);
_ReadStatusReg(TPIDR_EL0);
v5 = uselocale();
va_copy(arg, va);
v6 = vsscanf(a1, a3, arg);
if ( v5 )
uselocale();
_ReadStatusReg(TPIDR_EL0);
return v6;
}