// // std::__ndk1::__codecvt_utf16::do_in from 0x972496 to 0x97250c (118 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:05:54 +0000 // int __fastcall std::__codecvt_utf16::do_in( int a1, int a2, unsigned __int8 *a3, unsigned int a4, _DWORD *a5, _WORD *a6, unsigned int a7, _DWORD *a8) { unsigned int v8; // r12 int result; // r0 int v11; // r4 unsigned int v12; // r4 v8 = *(_DWORD *)(a1 + 8); if ( (*(_BYTE *)(a1 + 12) & 4) != 0 && (int)(a4 - (_DWORD)a3) >= 2 && *a3 == 255 && a3[1] == 254 ) a3 += 2; if ( (unsigned int)a3 < a4 - 1 ) { result = 2; while ( (unsigned int)a6 < a7 ) { v11 = a3[1]; if ( ((v11 << 8) & 0xF800) == 0xD800 ) goto LABEL_13; v12 = *a3 | (v11 << 8); if ( v12 > v8 ) goto LABEL_13; *a6 = v12; a3 += 2; ++a6; if ( (unsigned int)a3 >= a4 - 1 ) break; } } result = (unsigned int)a3 < a4; LABEL_13: *a5 = a3; *a8 = a6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source