// // sub_140249240 from 0x140249240 to 0x1402492c9 (137 bytes) // // 3 xrefs: // > int `_wcstombs_l_helper @ 0x1404f8fb7 // > @ 0x14067f863 // > @ 0x1406ce820 // // 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_140249240(_QWORD *a1) { _QWORD *v2; // rcx _QWORD *v3; // rcx __int64 result; // rax v2 = (_QWORD *)*a1; if ( v2 ) { sub_140250C10(v2, a1[1]); v3 = (_QWORD *)*a1; if ( (unsigned __int64)(200 * ((a1[2] - *a1) / 200LL)) >= 0x1000 ) { if ( (unsigned __int64)v3 - *(v3 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v3 = (_QWORD *)*(v3 - 1); } j_j_free(v3); result = 0; *a1 = 0; a1[1] = 0; a1[2] = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source