// // sub_F800FC from 0xf800fc to 0xf80154 (88 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:13:50 +0000 // wchar_t *__usercall sub_F800FC@( unsigned __int8 *a1@, unsigned __int64 a2@, size_t a3@, __int64 a4@) { unsigned __int64 v4; // x9 unsigned __int64 v5; // x10 bool v6; // cf size_t v7; // x10 bool v8; // zf unsigned __int8 *v9; // x9 wchar_t *v10; // x1 *(_QWORD *)(a4 + 8) = 0; *(_QWORD *)(a4 + 16) = 0; *(_QWORD *)a4 = 0; v4 = *a1; v5 = *((_QWORD *)a1 + 1); if ( (v4 & 1) == 0 ) v5 = v4 >> 1; v6 = v5 >= a2; v7 = v5 - a2; if ( !v6 ) std::__basic_string_common::__throw_out_of_range(); v8 = (v4 & 1) == 0; v9 = a1 + 4; if ( !v8 ) v9 = *((unsigned __int8 **)a1 + 2); v10 = (wchar_t *)&v9[4 * a2]; if ( v7 < a3 ) a3 = v7; return std::wstring::__init((wchar_t *)a4, v10, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source