//
// std::runtime_error::runtime_error from 0x977a00 to 0x977a28 (40 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:05:59 +0000
//
// Alternative name is '_ZNSt13runtime_errorC1ERKS_'
_DWORD *__fastcall std::runtime_error::runtime_error(_DWORD *result, int a2)
{
int v2; // r1
unsigned int *v3; // r1
unsigned int v4; // r2
*result = &off_D1540C;
v2 = *(_DWORD *)(a2 + 4);
result[1] = v2;
v3 = (unsigned int *)(v2 - 4);
__dmb(0xBu);
do
v4 = __ldrex(v3);
while ( __strex(v4 + 1, v3) );
__dmb(0xBu);
return result;
}