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

GD Web Decomp

Raw Source