// // sub_D1A8A4 from 0xd1a8a4 to 0xd1a93c (152 bytes) // // 2 xrefs: // > sub_D1A93C @ 0xd1a944 // > sub_D1A948 @ 0xd1a980 // // 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_D1A8A4(__int64 *a1, wchar_t *s, unsigned __int64 a3, size_t n) { unsigned __int64 v7; // x19 __int64 v8; // x0 __int64 v9; // x20 wchar_t v10; // w1 v7 = a3; if ( !n ) return -1; v8 = *a1; if ( a3 >= *(_QWORD *)(v8 - 24) ) return -1; v9 = 4 * a3; while ( 1 ) { v10 = *(_DWORD *)(v8 + v9); v9 += 4; if ( wmemchr(s, v10, n) ) break; v8 = *a1; if ( ++v7 >= *(_QWORD *)(*a1 - 24) ) return -1; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source