// // sub_FFBFC from 0xffbfc to 0xffd08 (268 bytes) // // 2 xrefs: // > sub_FF918 @ 0xff9d8 // > sub_FF918 @ 0xff9e8 // // 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 // unsigned __int64 __fastcall sub_FFBFC(_DWORD *a1, const char *a2) { _BYTE *v3; // x21 unsigned __int64 result; // x0 _BYTE *v5; // x22 _BYTE *v6; // x0 _BYTE *v7; // x20 unsigned int v8; // w21 signed int v9; // w8 _BYTE v10[64]; // [xsp+0h] [xbp-70h] BYREF unsigned int v11; // [xsp+48h] [xbp-28h] BYREF unsigned int v12; // [xsp+4Ch] [xbp-24h] BYREF *a1 = 0; v3 = v10; result = sub_FFB58(a2, (__int64)v10, 64); if ( (result & 0x80000000) == 0 ) { v5 = &v10[(int)result]; while ( v3 < v5 && *v3 != 10 ) { v6 = memchr(v3, 44, v5 - v3); v7 = v6 ? v6 : v5; result = sub_FFD08(v3, v7, &v12); if ( !result ) break; v8 = v12; v9 = v12; v11 = v12; if ( result < (unsigned __int64)v7 ) { v9 = v12; if ( *(_BYTE *)result == 45 ) { result = sub_FFD08(result + 1, v7, &v11); if ( !result ) return result; v9 = v11; } } while ( (int)v8 <= v9 ) { if ( v8 <= 0x1F ) *a1 |= 1 << v8; ++v8; } if ( v7 >= v5 ) v3 = v7; else v3 = v7 + 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source