// // sub_D1AF1C from 0xd1af1c to 0xd1afc4 (168 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // unsigned __int64 __fastcall sub_D1AF1C(__int64 *a1, wchar_t *s, unsigned __int64 a3) { size_t v5; // x23 __int64 v6; // x0 __int64 v7; // x19 unsigned __int64 v9; // x19 __int64 v10; // x20 wchar_t v11; // w1 v5 = wcslen(s); v6 = *a1; v7 = *(_QWORD *)(*a1 - 24); if ( !v7 ) return -1; v9 = v7 - 1; if ( a3 <= v9 ) v9 = a3; v10 = 4 * v9; while ( 1 ) { v11 = *(_DWORD *)(v6 + v10); v10 -= 4; if ( !wmemchr(s, v11, v5) ) break; if ( --v9 == -1 ) return -1; v6 = *a1; } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source