// // sub_F86EC4 from 0xf86ec4 to 0xf87008 (324 bytes) // // 1 xrefs: // > @ 0x1535eb8 // // 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:53 +0000 // char *__usercall sub_F86EC4@(int a1@, _QWORD *a2@) { _BYTE *v3; // x20 char *result; // x0 _BYTE *v5; // x20 _BYTE *v6; // x20 switch ( a1 ) { case 0: case 4: v3 = operator new(0x60u); *a2 = 97; a2[1] = 88; a2[2] = v3; result = (char *)memcpy( v3, "The associated promise has been destructed prior to the associated state becoming ready.", 0x58u); v3[88] = 0; break; case 1: v5 = operator new(0x50u); *a2 = 81; a2[1] = 72; a2[2] = v5; result = (char *)memcpy(v5, "The future has already been retrieved from the promise or packaged_task.", 0x48u); v5[72] = 0; break; case 2: result = (char *)operator new(0x30u); a2[2] = result; *a2 = 49; a2[1] = 46; strcpy(result, "The state of the promise has already been set."); break; case 3: v6 = operator new(0x50u); *a2 = 81; a2[1] = 65; a2[2] = v6; result = (char *)memcpy(v6, "Operation not permitted on an object without an associated state.", 0x41u); v6[65] = 0; break; default: result = (char *)operator new(0x20u); a2[2] = result; *a2 = 33; a2[1] = 30; strcpy(result, "unspecified future_errc value\n"); break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source