// // std::__ndk1::codecvt::do_length from 0xf70ff4 to 0xf710e8 (244 bytes) // // 3 xrefs: // > @ 0xa6ac8 // > @ 0x1534048 // > @ 0x1534370 // // 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, mbstate_t *a2, const char *a3, const char *a4, unsigned __int64 a5) { const char *v7; // x22 unsigned int v9; // w19 unsigned __int64 v10; // x27 __int64 v11; // x25 size_t v12; // x26 v7 = a3; v9 = 0; if ( a3 != a4 && a5 ) { v9 = 0; v10 = 1; do { v11 = uselocale(); v12 = mbrlen(v7, a4 - v7, a2); if ( v11 ) uselocale(); if ( v12 ) { if ( v12 >= 0xFFFFFFFFFFFFFFFELL ) return v9; v9 += v12; v7 += v12; } else { ++v9; ++v7; } if ( v7 == a4 ) break; } while ( v10++ < a5 ); } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source