// // sub_D16ED4 from 0xd16ed4 to 0xd16f64 (144 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 __int64 __fastcall sub_D16ED4(__int64 *a1, char *a2, unsigned __int64 a3) { size_t v5; // x0 __int64 v6; // x20 size_t v7; // x22 unsigned __int64 result; // x0 __int64 v9; // x1 unsigned __int64 v10; // x1 unsigned __int64 v11; // x19 v5 = strlen(a2); v6 = *a1; v7 = v5; result = -1; v9 = *(_QWORD *)(v6 - 24); if ( v9 ) { v10 = v9 - 1; if ( a3 > v10 ) v11 = v10; else v11 = a3; do { if ( !memchr(a2, *(unsigned __int8 *)(v6 + v11), v7) ) break; --v11; } while ( v11 != -1 ); return v11; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source