// // sub_615134 from 0x615134 to 0x6151c6 (146 bytes) // // 10 xrefs: // > sub_2B4000 @ 0x2b4050 // > sub_6154B8 @ 0x61578a // > sub_6154B8 @ 0x6159cc // > sub_616E88 @ 0x61748c // > sub_616E88 @ 0x617718 // > sub_616E88 @ 0x617744 // > sub_616E88 @ 0x61792c // > sub_63BAD8 @ 0x63c1cc // > sub_63BAD8 @ 0x63c232 // > sub_63BAD8 @ 0x63c26c // // 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_615134(int a1, char *a2, const char *a3) { size_t v6; // r4 int v7; // r3 const char *v8; // r4 int v9; // t1 int v10; // r5 char *v11; // r0 unsigned int v12; // r5 size_t v13; // r6 v6 = strlen(a2); if ( !sub_62AB64(a1, a2, v6) ) return 0; v7 = *(unsigned __int8 *)(a1 + v6); v8 = (const char *)(v6 + a1); if ( v7 && (*(_BYTE *)(v7 + ctype_ + 1) & 8) != 0 ) { do { v9 = *(unsigned __int8 *)++v8; v10 = ctype_ + v9; } while ( v9 && (*(_BYTE *)(v10 + 1) & 8) != 0 ); } v11 = strchr(v8, 13); if ( !v11 ) { v11 = strchr(v8, 10); if ( !v11 ) v11 = strchr(v8, 0); } v12 = v11 - v8; v13 = strlen(a3); if ( v12 < v13 ) return 0; while ( 1 ) { --v12; if ( sub_62AB64(v8++, a3, v13) ) break; if ( v13 > v12 ) return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source