// // std::__ndk1::to_string from 0x97d398 to 0x97d470 (216 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_string(double a1, unsigned int a2, unsigned int a3) { _DWORD *v3; // r8 double v6; // d8 char v7; // r1 unsigned int v8; // r6 char *v9; // r0 signed int v10; // r0 unsigned int v11; // r1 void *v12; // r2 int v14; // [sp+8h] [bp-28h] BYREF unsigned int v15; // [sp+Ch] [bp-24h] void *v16; // [sp+10h] [bp-20h] int v17; // [sp+14h] [bp-1Ch] v3 = (_DWORD *)LODWORD(a1); v16 = nullptr; v14 = 0; v15 = 0; std::string::resize((unsigned __int8 *)&v14, 0xAu, 0); v6 = COERCE_DOUBLE(__PAIR64__(a3, a2)); v7 = v14; v8 = v15; if ( (v14 & 1) == 0 ) v8 = (unsigned __int8)v14 >> 1; while ( 1 ) { v9 = (char *)v16; if ( (v7 & 1) == 0 ) v9 = (char *)&v14 + 1; v10 = sub_993B88(v9, v8 + 1, "%f", v6); if ( v10 >= 0 ) break; v8 = (2 * v8) | 1; LABEL_9: std::string::resize((unsigned __int8 *)&v14, v8, 0); v7 = v14; } if ( v10 > v8 ) { v8 = v10; goto LABEL_9; } std::string::resize((unsigned __int8 *)&v14, v10, 0); v11 = v15; v12 = v16; *v3 = v14; v3[1] = v11; v3[2] = v12; return _stack_chk_guard - v17; }
GD Web Decomp Icon

GD Web Decomp

Raw Source