//
// std::__ndk1::locale::has_facet from 0x96efc4 to 0x96efec (40 bytes)
//
// 1 xrefs:
// > std::__ndk1::basic_filebuf>::basic_filebuf @ 0x80c06a
//
// 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:51 +0000
//
bool __fastcall std::locale::has_facet(std::locale *this, std::locale::id *a2)
{
int v2; // r4
unsigned int v3; // r0
__int64 v4; // kr00_8
v2 = *(_DWORD *)this;
v3 = std::locale::id::__get(a2);
v4 = *(_QWORD *)(v2 + 8);
return (HIDWORD(v4) - (int)v4) >> 2 > v3 && *(_DWORD *)(v4 + 4 * v3) != 0;
}