// // sub_777378 from 0x777378 to 0x7773be (70 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 int __fastcall sub_777378(int *a1, wchar_t *s, unsigned int a3, size_t n) { int v5; // r1 unsigned int v8; // r4 int v9; // r5 wchar_t v10; // r1 v5 = *a1; v8 = a3; if ( a3 >= *(_DWORD *)(*a1 - 12) ) return -1; v9 = 4 * a3; while ( 1 ) { v10 = *(_DWORD *)(v5 + v9); v9 += 4; if ( !wmemchr(s, v10, n) ) break; v5 = *a1; if ( ++v8 >= *(_DWORD *)(*a1 - 12) ) return -1; } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source