// // sub_7773C0 from 0x7773c0 to 0x77740c (76 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_7773C0(int *a1, wchar_t *s, unsigned int a3) { size_t v6; // r0 int v7; // r3 int v8; // r5 size_t v9; // r8 wchar_t v10; // r1 v6 = wcslen(s); v7 = *a1; if ( a3 >= *(_DWORD *)(*a1 - 12) ) return -1; v8 = 4 * a3; v9 = v6; while ( 1 ) { v10 = *(_DWORD *)(v7 + v8); v8 += 4; if ( !wmemchr(s, v10, v9) ) break; v7 = *a1; if ( ++a3 >= *(_DWORD *)(*a1 - 12) ) return -1; } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source