//
// std::__ndk1::__codecvt_utf8::do_out from 0xf72790 to 0xf72824 (148 bytes)
//
// 2 xrefs:
// > ??> @ 0xa35a0
// > ??> @ 0x1534b10
//
// 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:40 +0000
//
__int64 __fastcall std::__codecvt_utf8::do_out(
__int64 a1,
__int64 a2,
unsigned __int64 a3,
unsigned __int64 a4,
_QWORD *a5,
_BYTE *a6,
__int64 a7,
_QWORD *a8)
{
__int64 result; // x0
_BYTE *v11; // [xsp+8h] [xbp-38h] BYREF
unsigned __int64 v12[2]; // [xsp+10h] [xbp-30h] BYREF
v12[1] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
v11 = a6;
v12[0] = a3;
result = sub_F71B14(a3, a4, v12, a6, a7, (__int64 *)&v11, *(_QWORD *)(a1 + 16), *(_DWORD *)(a1 + 24));
*a5 = v12[0];
*a8 = v11;
return result;
}