//
// std::__ndk1::numpunct_byname::numpunct_byname from 0xf74aa0 to 0xf74b30 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x651b8
// > ??> @ 0xeaf28
//
// 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:41 +0000
//
// Alternative name is '_ZNSt6__ndk115numpunct_bynameIwEC2ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEm'
__int64 __fastcall std::numpunct_byname::numpunct_byname(_QWORD *a1, __int64 a2, __int64 a3)
{
char *v3; // x1
a1[1] = a3 - 1;
a1[2] = 0x2C0000002ELL;
a1[3] = 0;
a1[4] = 0;
a1[5] = 0;
*a1 = off_1534480;
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(char **)(a2 + 16);
else
v3 = (char *)(a2 + 1);
return std::numpunct_byname::__init((__int64)a1, v3);
}