//
// std::logic_error::logic_error from 0xf7a6e0 to 0xf7a76c (140 bytes)
//
// 37 xrefs:
// > std::__ndk1::stoi @ 0xf8189c
// > std::__ndk1::stoi @ 0xf818ec
// > std::__ndk1::stoi @ 0xf8193c
// > std::__ndk1::stoi @ 0xf81b1c
// > std::__ndk1::stoi @ 0xf81b6c
// > std::__ndk1::stoi @ 0xf81bbc
// > std::__ndk1::stol @ 0xf81d84
// > std::__ndk1::stol @ 0xf81dd4
// > std::__ndk1::stol @ 0xf81f7c
// > std::__ndk1::stol @ 0xf81fcc
// > std::__ndk1::stoul @ 0xf82174
// > std::__ndk1::stoul @ 0xf821c4
// > std::__ndk1::stoul @ 0xf82374
// > std::__ndk1::stoul @ 0xf823c4
// > std::__ndk1::stoll @ 0xf8256c
// > std::__ndk1::stoll @ 0xf825bc
// > std::__ndk1::stoll @ 0xf8276c
// > std::__ndk1::stoll @ 0xf827bc
// > std::__ndk1::stoull @ 0xf82964
// > std::__ndk1::stoull @ 0xf829b4
// > std::__ndk1::stoull @ 0xf82b64
// > std::__ndk1::stoull @ 0xf82bb4
// > std::__ndk1::stof @ 0xf82d4c
// > std::__ndk1::stof @ 0xf82d9c
// > std::__ndk1::stof @ 0xf82f3c
// > std::__ndk1::stof @ 0xf82f8c
// > std::__ndk1::stod @ 0xf83124
// > std::__ndk1::stod @ 0xf83174
// > std::__ndk1::stod @ 0xf83314
// > std::__ndk1::stod @ 0xf83364
// > std::__ndk1::stold @ 0xf83504
// > std::__ndk1::stold @ 0xf83554
// > std::__ndk1::stold @ 0xf836fc
// > std::__ndk1::stold @ 0xf8374c
// > std::__ndk1::future_error::future_error @ 0xf870b0
// > ??> @ 0xa0930
// > ??> @ 0xbbca8
//
// 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 '_ZNSt11logic_errorC2ERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE'
void *__fastcall std::logic_error::logic_error(_QWORD *a1, __int64 a2)
{
const char *v3; // x20
size_t v4; // x21
_QWORD *v5; // x0
char *v6; // x22
void *result; // x0
*a1 = off_1536C30;
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(const char **)(a2 + 16);
else
v3 = (const char *)(a2 + 1);
v4 = strlen(v3);
v5 = operator new(v4 + 25);
v6 = (char *)(v5 + 3);
*v5 = v4;
v5[1] = v4;
*((_DWORD *)v5 + 4) = 0;
result = memcpy(v5 + 3, v3, v4 + 1);
a1[1] = v6;
return result;
}