// // sub_774C40 from 0x774c40 to 0x774c84 (68 bytes) // // 1 xrefs: // > formatTags @ 0x42d9fe // // 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_774C40(int *a1, char *a2, unsigned int a3) { size_t v6; // r0 int v7; // r5 unsigned int v8; // r7 size_t v9; // r8 unsigned __int8 *v10; // r5 int v11; // t1 v6 = strlen(a2); v7 = *a1; v8 = *(_DWORD *)(v7 - 12); if ( a3 >= v8 ) return -1; v9 = v6; v10 = (unsigned __int8 *)(v7 + a3); while ( 1 ) { v11 = *v10++; if ( !memchr(a2, v11, v9) ) break; if ( ++a3 >= v8 ) return -1; } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source