// // std::__ndk1::to_wstring from 0x97d9f8 to 0x97dae4 (236 bytes) // // 0 xrefs: // // 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:06:04 +0000 // int __fastcall std::to_wstring(unsigned __int64 a1) { char v1; // r1 unsigned int v2; // r4 int *v3; // r0 signed int v4; // r0 int v5; // r1 void *v6; // r2 int *v8; // [sp+Ch] [bp-24h] int v9; // [sp+10h] [bp-20h] BYREF int v10; // [sp+14h] [bp-1Ch] BYREF void *v11; // [sp+18h] [bp-18h] int v12; // [sp+20h] [bp-10h] v8 = (int *)a1; v11 = operator new(0x60u); v9 = 25; v10 = 23; sub_998BA0(v11, 0, 23); *((_DWORD *)v11 + 23) = 0; std::wstring::resize((unsigned __int8 *)&v9, 0x17u); v1 = v9; v2 = v10; if ( (v9 & 1) == 0 ) v2 = (unsigned __int8)v9 >> 1; while ( 1 ) { v3 = (int *)v11; if ( (v1 & 1) == 0 ) v3 = &v10; v4 = sub_993C1C(v3, v2 + 1, "%"); if ( v4 >= 0 ) break; v2 = (2 * v2) | 1; LABEL_9: std::wstring::resize((unsigned __int8 *)&v9, v2); v1 = v9; } if ( v4 > v2 ) { v2 = v4; goto LABEL_9; } std::wstring::resize((unsigned __int8 *)&v9, v4); v5 = v10; v6 = v11; *v8 = v9; v8[1] = v5; v8[2] = (int)v6; return _stack_chk_guard - v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source