// // sub_1000937C0 from 0x1000937c0 to 0x10009386f (175 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 // char *__fastcall sub_1000937C0(__int64 a1, char *a2) { char v2; // dl char *result; // rax char *v4; // r14 if ( !a2 ) return nullptr; v2 = *a2; if ( !*a2 ) return nullptr; result = a2; do { if ( v2 >= 0 && (_DefaultRuneLocale.__runetype[(unsigned __int8)v2] & 0x500) == 0 && v2 != 95 && v2 != 58 && (v2 != 45 && v2 != 46 || result <= a2) ) { break; } v2 = *++result; } while ( v2 ); if ( result <= a2 ) return nullptr; if ( (*(_BYTE *)(a1 + 1) & 2) != 0 ) { if ( *(_QWORD *)(a1 + 8) ) { v4 = result; operator delete[](*(void **)(a1 + 8)); result = v4; } } *(_QWORD *)(a1 + 8) = a2; *(_QWORD *)(a1 + 16) = result; *(_DWORD *)a1 = 256; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source