//
// std::runtime_error::runtime_error from 0xf7a908 to 0xf7a988 (128 bytes)
//
// 14 xrefs:
// > std::__ndk1::__next_prime @ 0xf42738
// > std::__ndk1::moneypunct_byname::init @ 0xf62384
// > std::__ndk1::moneypunct_byname::init @ 0xf623b8
// > std::__ndk1::moneypunct_byname::init @ 0xf623e8
// > std::__ndk1::moneypunct_byname::init @ 0xf62a5c
// > std::__ndk1::moneypunct_byname::init @ 0xf62a90
// > std::__ndk1::moneypunct_byname::init @ 0xf62ac0
// > std::__ndk1::money_get>>::do_get @ 0xf6314c
// > std::__ndk1::__throw_runtime_error @ 0xf641a4
// > std::__ndk1::money_get>>::do_get @ 0xf64f44
// > std::__ndk1::locale::locale @ 0xf6d8dc
// > std::__ndk1::locale::locale @ 0xf6da64
// > ??> @ 0x43e88
// > ??> @ 0x9c310
//
// 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:46 +0000
//
// Alternative name is '_ZNSt13runtime_errorC2EPKc'
void *__fastcall std::runtime_error::runtime_error(std::runtime_error *this, const char *a2)
{
size_t v4; // x21
_QWORD *v5; // x0
char *v6; // x22
void *result; // x0
*(_QWORD *)this = off_1536C58;
v4 = strlen(a2);
v5 = operator new(v4 + 25);
v6 = (char *)(v5 + 3);
*v5 = v4;
v5[1] = v4;
*((_DWORD *)v5 + 4) = 0;
result = memcpy(v5 + 3, a2, v4 + 1);
*((_QWORD *)this + 1) = v6;
return result;
}