// // sub_10048BD60 from 0x10048bd60 to 0x10048bede (382 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:45 +0000 // __int64 __fastcall sub_10048BD60(const char *a1) { unsigned int v2; // eax __int64 v3; // rcx int v4; // edx __int64 v5; // rsi int v6; // edi const char *v7; // r8 unsigned int v8; // ecx int v9; // r9d int v11; // r10d int v12; // r11d int v13; // r10d int v14; // r11d int v15; // r10d int v16; // r11d int v17; // r10d if ( !a1 || (unsigned __int8)((*a1 & 0xDF) - 65) > 0x19u ) return 0; v2 = strlen(a1); if ( v2 ) { v3 = v2 & 3; if ( (unsigned __int64)v2 - 1 < 3 ) { v4 = -1; v5 = 0; v6 = -1; v7 = a1; LABEL_6: if ( (v2 & 3) != 0 ) { do { v9 = (unsigned __int8)v7[v5]; if ( v9 == 46 ) { v4 = v5; } else if ( v9 == 64 ) { v6 = v5; } ++v5; --v3; } while ( v3 ); } v8 = 0; if ( v6 != -1 && v4 != -1 && v6 <= v4 ) LOBYTE(v8) = v4 < (int)(v2 - 1); return v8; } v4 = -1; v5 = 0; v6 = -1; v7 = a1; while ( 1 ) { v11 = (unsigned __int8)a1[v5]; if ( v11 == 46 ) { v4 = v5; v12 = (unsigned __int8)a1[v5 + 1]; v13 = v5 + 1; if ( v12 == 46 ) goto LABEL_34; } else { if ( v11 == 64 ) v6 = v5; v12 = (unsigned __int8)a1[v5 + 1]; v13 = v5 + 1; if ( v12 == 46 ) { LABEL_34: v4 = v13; v14 = (unsigned __int8)a1[v5 + 2]; v15 = v5 + 2; if ( v14 == 46 ) goto LABEL_35; goto LABEL_29; } } if ( v12 == 64 ) v6 = v13; v14 = (unsigned __int8)a1[v5 + 2]; v15 = v5 + 2; if ( v14 == 46 ) { LABEL_35: v4 = v15; v16 = (unsigned __int8)a1[v5 + 3]; v17 = v5 + 3; if ( v16 != 46 ) goto LABEL_36; goto LABEL_20; } LABEL_29: if ( v14 == 64 ) v6 = v15; v16 = (unsigned __int8)a1[v5 + 3]; v17 = v5 + 3; if ( v16 != 46 ) { LABEL_36: if ( v16 == 64 ) v6 = v17; goto LABEL_21; } LABEL_20: v4 = v17; LABEL_21: v5 += 4; if ( v2 - v3 == v5 ) goto LABEL_6; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source