// // sub_CEA228 from 0xcea228 to 0xcea2b4 (140 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 // __int64 __fastcall sub_CEA228(__int64 result) { unsigned int v1; // w0 if ( (_DWORD)result ) { if ( (result & 0x3F) == 0 ) { v1 = result - 1; if ( v1 > 5 ) LABEL_4: sub_D13DB0("locale::_S_normalize_category category not found"); LABEL_9: switch ( v1 ) { case 0u: return 2; case 1u: return 8; case 2u: return 4; case 3u: return 16; case 4u: return 32; case 5u: return 63; default: goto LABEL_4; } } if ( (result & 0xFFFFFFC0) != 0 ) { v1 = result - 1; goto LABEL_9; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source