//
// std::runtime_error::runtime_error from 0x9779ac to 0x9779fc (80 bytes)
//
// 4 xrefs:
// > std::__ndk1::__next_prime @ 0x95490c
// > std::__ndk1::__throw_runtime_error @ 0x9699b4
// > std::__ndk1::locale::locale @ 0x96eca8
// > std::__ndk1::locale::locale @ 0x96edb2
//
// 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:05:59 +0000
//
// Alternative name is '_ZNSt13runtime_errorC1EPKc'
std::runtime_error *__fastcall std::runtime_error::runtime_error(std::runtime_error *this, const char *a2)
{
size_t v4; // r6
_DWORD *v5; // r0
_DWORD *v6; // r5
*(_DWORD *)this = &off_D1540C;
v4 = strlen(a2);
v5 = operator new(v4 + 13);
v6 = v5 + 3;
*v5 = v4;
v5[1] = v4;
v5[2] = 0;
qmemcpy(v5 + 3, a2, v4 + 1);
*((_DWORD *)this + 1) = v6;
return this;
}