// // isLegalUTF8String from 0xd8d050 to 0xd8d104 (180 bytes) // // 3 xrefs: // > llvm::ConvertUTF8toWide @ 0xd8d5f4 // > llvm::ConvertUTF8toWide @ 0xd8d6b0 // > @ 0x427c0 // // 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:08:17 +0000 // __int64 __fastcall isLegalUTF8String(const unsigned __int8 **a1, const unsigned __int8 *a2) { const unsigned __int8 *v2; // x19 const unsigned __int8 *v5; // x0 int v6; // w1 __int64 v7; // x2 _BYTE *v8; // x0 v2 = *a1; if ( *a1 == a2 ) return 1; v5 = (const unsigned __int8 *)(a2 - v2); v6 = byte_11AC5C0[*v2] + 1; v7 = v6; if ( v6 <= (__int64)v5 ) { do { v8 = v2; v2 += v7; if ( !(unsigned __int8)sub_D8C8A4(v8, v6) ) break; *a1 = v2; if ( a2 == v2 ) return 1; v6 = byte_11AC5C0[*v2] + 1; v7 = v6; } while ( v6 <= a2 - v2 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source