// // std::__ndk1::locale::locale from 0xf6d824 to 0xf6d938 (276 bytes) // // 2 xrefs: // > @ 0xc70f0 // > @ 0xe8780 // // 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:37 +0000 // // Alternative name is '_ZNSt6__ndk16localeC2EPKc' __int64 __fastcall std::locale::locale(std::locale *this, char *a2) { std::__shared_count *v4; // x19 size_t v5; // x0 __int64 result; // x0 std::runtime_error *exception; // x19 __int64 v8[4]; // [xsp+0h] [xbp-40h] BYREF v8[3] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40); if ( !a2 ) { exception = (std::runtime_error *)_cxa_allocate_exception(0x10u); std::runtime_error::runtime_error(exception, "locale constructed with null"); _cxa_throw( exception, (struct type_info *)&`typeinfo for'std::runtime_error, (void (*)(void *))std::overflow_error::~overflow_error); } v4 = (std::__shared_count *)operator new(0x140u); memset(v8, 0, 24); v5 = strlen(a2); std::string::__init(v8, a2, v5); sub_F6A1A8((__int64)v4, v8, 0); std::string::~string((__int64)v8); *(_QWORD *)this = v4; result = std::__shared_count::__add_shared(v4); _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source