// // std::__ndk1::numpunct_byname::__init from 0x9732c4 to 0x9733f8 (308 bytes) // // 2 xrefs: // > std::__ndk1::numpunct_byname::numpunct_byname @ 0x973294 // > std::__ndk1::numpunct_byname::numpunct_byname @ 0x97344a // // 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:55 +0000 // int __fastcall std::numpunct_byname::__init(_DWORD *a1, char *a2) { int v4; // r0 int v5; // r8 int v6; // r4 unsigned __int8 **v7; // r6 void *exception; // r8 size_t v10; // r0 _DWORD *v11; // r0 int v12; // r5 int v13; // r6 int v14[4]; // [sp+0h] [bp-30h] BYREF _DWORD v15[5]; // [sp+10h] [bp-20h] BYREF if ( strcmp(a2, "C") ) { v4 = sub_992EBC(8127, a2); v5 = v4; if ( !v4 ) { exception = _cxa_allocate_exception(8u); memset(v14, 0, 12); v10 = strlen(a2); std::string::__init(v14, a2, v10); v11 = std::string::insert(v14, 0, "numpunct_byname::numpunct_byname failed to construct for "); v12 = v11[1]; v13 = v11[2]; v15[0] = *v11; v15[1] = v12; v15[2] = v13; *v11 = 0; v11[1] = 0; v11[2] = 0; std::runtime_error::runtime_error(exception, v15); _cxa_throw( exception, (struct type_info *)&`typeinfo for'std::runtime_error, (void (*)(void *))std::runtime_error::~runtime_error); } v6 = sub_992F18(v4); v7 = (unsigned __int8 **)sub_992EB0(); if ( v6 ) sub_992F18(v6); if ( **v7 ) a1[2] = **v7; if ( *v7[1] ) a1[3] = *v7[1]; std::string::assign(a1 + 4, (char *)v7[2]); sub_992EA4(v5); } return _stack_chk_guard - v15[4]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source