//
// sub_1000500A4 from 0x1000500a4 to 0x1000500c8 (36 bytes)
//
// 1 xrefs:
// > sub_100050054 @ 0x100050074
//
// 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 10:57:43 +0000
//
std::logic_error *__fastcall sub_1000500A4(std::logic_error *a1, const char *a2)
{
std::logic_error *result; // x0
result = std::logic_error::logic_error(a1, a2);
result->__vftable = (std::logic_error_vtbl *)&`vtable for'std::out_of_range.~out_of_range;
return result;
}