// // sub_CFF874 from 0xcff874 to 0xcff8dc (104 bytes) // // 6 xrefs: // > sub_CFF8DC @ 0xcff91c // > sub_D037FC @ 0xd03844 // > sub_D03A44 @ 0xd03a8c // > sub_D03D04 @ 0xd03d58 // > sub_D04BB0 @ 0xd04bf0 // > sub_D04D38 @ 0xd04d78 // // 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 // void *__fastcall sub_CFF874(__int64 a1) { unsigned __int64 v2; // x0 unsigned __int64 v3; // x2 __int64 v4; // x1 void *result; // x0 v2 = sub_CEA974(&qword_124B660); v3 = *(_QWORD *)(*(_QWORD *)a1 + 16LL); v4 = *(_QWORD *)(*(_QWORD *)a1 + 8LL); if ( v2 >= v3 || (v2 = *(_QWORD *)(v4 + 8 * v2)) == 0 ) sub_D13870(v2, v4, v3); result = _dynamic_cast( (const void *)v2, (const struct __class_type_info *)&`typeinfo for'std::locale::facet, (const struct __class_type_info *)&`typeinfo for'std::__timepunct, 0); if ( !result ) _cxa_bad_cast(); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source