// // sub_100160DEC from 0x100160dec to 0x100160ef8 (268 bytes) // // 5 xrefs: // > DS_Dictionary::setSubDictForKey @ 0x100161c84 // > DS_Dictionary::setIntegerForKey @ 0x100161e18 // > DS_Dictionary::setBoolForKey @ 0x100162008 // > DS_Dictionary::setFloatForKey @ 0x100162194 // > DS_Dictionary::setStringForKey @ 0x10016239c // // 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_100160DEC(const char *a1, const char *a2) { const char *v3; // x20 int v4; // w21 int v5; // w0 __int64 v6; // x8 _BOOL4 v7; // w11 bool v8; // w10 int v9; // w8 __int64 v10; // x10 __int64 v11; // x11 v3 = a1; v4 = sub_100160D88(a1); v5 = sub_100160D88(a2); if ( !(v4 | v5) ) return strcasecmp(v3, a2); v6 = v4 ? 0xFFFFFFFFLL : 1LL; if ( v4 && v5 ) { v7 = v4 > 0; v8 = v5 > 0; if ( v4 >= 1 && v5 >= 1 ) { v9 = 0; do { do { do v10 = *v3++; while ( v10 < 0 ); } while ( (_DefaultRuneLocale.__runetype[v10] & 0x400) == 0 ); do { do v11 = *a2++; while ( v11 < 0 ); } while ( (_DefaultRuneLocale.__runetype[v11] & 0x400) == 0 ); if ( (_DWORD)v10 != (_DWORD)v11 ) return (unsigned int)(v10 - v11); v8 = ++v9 < v5; v7 = v9 < v4; } while ( v9 < v4 && v9 < v5 ); } v6 = v7 ? 1LL : 0xFFFFFFFFLL; if ( !v7 && !v8 ) return strcasecmp(v3, a2); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source