//
// std::__ndk1::codecvt::do_length from 0xf70698 to 0xf706a8 (16 bytes)
//
// 3 xrefs:
// > ??> @ 0xa4b48
// > ??> @ 0x1533fe8
// > ??> @ 0x1534618
//
// 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:39 +0000
//
__int64 __fastcall std::codecvt::do_length(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
unsigned __int64 a5)
{
if ( a4 - a3 >= a5 )
return (unsigned int)a5;
else
return (unsigned int)(a4 - a3);
}