// // sub_100550DA8 from 0x100550da8 to 0x100550ea8 (256 bytes) // // 12 xrefs: // > sub_10054DB30 @ 0x10054dfc0 // > sub_10054DB30 @ 0x10054ef68 // > sub_10054DB30 @ 0x10054f278 // > sub_10054DB30 @ 0x10054f3fc // > sub_10054DB30 @ 0x10054f728 // > sub_100551254 @ 0x100551adc // > sub_100551254 @ 0x100551b7c // > sub_100551254 @ 0x100551bc4 // > sub_100551254 @ 0x100551bf8 // > sub_10057C160 @ 0x10057c820 // > sub_10057C160 @ 0x10057c83c // > sub_10057C160 @ 0x10057c87c // // 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 // __int64 __fastcall sub_100550DA8(__int64 a1, char *__s, const char *a3) { size_t v6; // x21 char *v7; // x20 unsigned __int8 v8; // w8 __uint32_t v9; // w0 int v10; // t1 char *v11; // x0 size_t v12; // x22 size_t v13; // x21 v6 = strlen(__s); if ( (unsigned int)sub_10057405C(a1, __s, v6) ) { v7 = (char *)(a1 + v6); v8 = *v7; if ( *v7 ) { do { if ( (char)v8 < 0 ) v9 = __maskrune(v8, 0x4000u); else v9 = _DefaultRuneLocale.__runetype[v8] & 0x4000; if ( !v9 ) break; v10 = (unsigned __int8)*++v7; v8 = v10; } while ( v10 ); } v11 = strchr(v7, 13); if ( !v11 ) { v11 = strchr(v7, 10); if ( !v11 ) v11 = &v7[strlen(v7)]; } v12 = v11 - v7; v13 = strlen(a3); while ( v12 >= v13 ) { if ( (unsigned int)sub_10057405C(v7, a3, v13) ) return 1; --v12; ++v7; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source