// // sub_1001ED1E0 from 0x1001ed1e0 to 0x1001ed304 (292 bytes) // // 2 xrefs: // > DS_Dictionary::copyFile @ 0x1001ea004 // > DS_Dictionary::copyFile @ 0x1001ea08c // // 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 11:00:36 +0000 // __int64 __fastcall sub_1001ED1E0(__int64 a1) { _BOOL4 has_facet; // w20 std::locale v4; // [xsp+8h] [xbp-28h] BYREF *(_QWORD *)a1 = &`vtable for'std::streambuf.~basic_streambuf; std::locale::locale((std::locale *)(a1 + 8)); *(_OWORD *)(a1 + 48) = 0u; *(_OWORD *)(a1 + 16) = 0u; *(_OWORD *)(a1 + 32) = 0u; *(_QWORD *)a1 = off_1008F12A0; *(_QWORD *)(a1 + 72) = 0; *(_QWORD *)(a1 + 80) = 0; *(_QWORD *)(a1 + 64) = 0; *(_OWORD *)(a1 + 96) = 0u; *(_OWORD *)(a1 + 112) = 0u; *(_OWORD *)(a1 + 128) = 0u; *(_OWORD *)(a1 + 144) = 0u; *(_OWORD *)(a1 + 160) = 0u; *(_OWORD *)(a1 + 176) = 0u; *(_OWORD *)(a1 + 192) = 0u; *(_OWORD *)(a1 + 208) = 0u; *(_OWORD *)(a1 + 224) = 0u; *(_OWORD *)(a1 + 240) = 0u; *(_OWORD *)(a1 + 256) = 0u; *(_OWORD *)(a1 + 272) = 0u; *(_OWORD *)(a1 + 288) = 0u; *(_OWORD *)(a1 + 304) = 0u; *(_OWORD *)(a1 + 320) = 0u; *(_OWORD *)(a1 + 336) = 0u; *(_OWORD *)(a1 + 352) = 0u; *(_OWORD *)(a1 + 368) = 0u; *(_OWORD *)(a1 + 380) = 0u; *(_DWORD *)(a1 + 396) = 32; *(_WORD *)(a1 + 400) = 0; *(_BYTE *)(a1 + 402) = 0; std::locale::locale(&v4, (const std::locale *)(a1 + 8)); has_facet = std::locale::has_facet(&v4, &std::codecvt::id); std::locale::~locale(&v4); if ( has_facet ) { std::locale::locale(&v4, (const std::locale *)(a1 + 8)); *(_QWORD *)(a1 + 128) = std::locale::use_facet(&v4, &std::codecvt::id); std::locale::~locale(&v4); *(_BYTE *)(a1 + 402) = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 128) + 56LL))(*(_QWORD *)(a1 + 128)); } (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 24LL))(a1, 0, 4096); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source