//
// sub_97EED8 from 0x97eed8 to 0x97ef4e (118 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:05 +0000
//
void *__fastcall sub_97EED8(int *a1, int a2, int a3)
{
void *result; // r0
switch ( a3 )
{
case 0:
case 4:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
result = std::string::__init(
a1,
"The associated promise has been destructed prior to the associated state becoming ready.",
0x58u);
break;
case 1:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
result = std::string::__init(
a1,
"The future has already been retrieved from the promise or packaged_task.",
0x48u);
break;
case 2:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
result = std::string::__init(a1, "The state of the promise has already been set.", 0x2Eu);
break;
case 3:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
result = std::string::__init(a1, "Operation not permitted on an object without an associated state.", 0x41u);
break;
default:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
result = std::string::__init(a1, "unspecified future_errc value\n", 0x1Eu);
break;
}
return result;
}