//
// std::runtime_error::runtime_error from 0xf7a988 to 0xf7a9b8 (48 bytes)
//
// 2 xrefs:
// > ??> @ 0x938c8
// > ??> @ 0xb31d0
//
// 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_errorC2ERKS_'
_QWORD *__fastcall std::runtime_error::runtime_error(_QWORD *result, __int64 a2)
{
__int64 v2; // x8
unsigned int *v3; // x8
unsigned int v4; // w9
*result = off_1536C58;
v2 = *(_QWORD *)(a2 + 8);
result[1] = v2;
v3 = (unsigned int *)(v2 - 8);
do
v4 = __ldaxr(v3);
while ( __stlxr(v4 + 1, v3) );
return result;
}