// // sub_774A30 from 0x774a30 to 0x774a6a (58 bytes) // // 2 xrefs: // > sub_774A6C @ 0x774a72 // > sub_774A78 @ 0x774a92 // // 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_774A30(_DWORD *a1, void *a2, unsigned int a3, size_t a4) { unsigned int v5; // r4 unsigned int v6; // r8 unsigned __int8 *v7; // r5 int v9; // t1 if ( !a4 ) return -1; v5 = a3; v6 = *(_DWORD *)(*a1 - 12); if ( v6 <= a3 ) return -1; v7 = (unsigned __int8 *)(*a1 + a3); while ( 1 ) { v9 = *v7++; if ( memchr(a2, v9, a4) ) break; if ( v6 <= ++v5 ) return -1; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source