// // sub_774D00 from 0x774d00 to 0x774d3c (60 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_774D00(_DWORD *a1, void *a2, unsigned int a3, size_t a4) { int v4; // r4 unsigned int v6; // r4 unsigned __int8 *v9; // r5 int v10; // t1 v4 = *(_DWORD *)(*a1 - 12); if ( !v4 ) return -1; v6 = v4 - 1; if ( v6 >= a3 ) v6 = a3; v9 = (unsigned __int8 *)(*a1 + v6); while ( 1 ) { v10 = *v9--; if ( !memchr(a2, v10, a4) ) break; if ( !v6 ) return -1; --v6; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source