// // sub_77744C from 0x77744c to 0x777494 (72 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 // int __fastcall sub_77744C(int *a1, const wchar_t **a2, unsigned int a3) { const wchar_t *v3; // r7 int v4; // r1 size_t v5; // r8 int v6; // r3 unsigned int v8; // r3 unsigned int v10; // r4 int v11; // r5 wchar_t v13; // r1 v3 = *a2; v4 = *a1; v5 = *(v3 - 3); v6 = *(_DWORD *)(*a1 - 12); if ( !v6 ) return -1; v8 = v6 - 1; if ( a3 >= v8 ) a3 = v8; v10 = a3; v11 = 4 * a3; while ( 1 ) { v13 = *(_DWORD *)(v4 + v11); v11 -= 4; if ( !wmemchr(v3, v13, v5) ) break; if ( v10-- == 0 ) return -1; v4 = *a1; } return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source