//
// std::__ndk1::collate_byname::do_transform from 0xf6ec60 to 0xf6ed6c (268 bytes)
//
// 2 xrefs:
// > ??> @ 0xd7668
// > ??> @ 0x15341b8
//
// 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:38 +0000
//
__int64 __usercall std::collate_byname::do_transform@(_QWORD *a1@)
{
size_t v2; // x0
__int64 result; // x0
_QWORD v4[4]; // [xsp+0h] [xbp-40h] BYREF
v4[3] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
memset(v4, 0, 24);
std::wstring::__init(v4);
v2 = wcsxfrm_l();
a1[1] = 0;
a1[2] = 0;
*a1 = 0;
std::wstring::__init((int)a1, v2, 0);
wcsxfrm_l();
result = std::wstring::~wstring(v4);
_ReadStatusReg(TPIDR_EL0);
return result;
}