// // std::__ndk1::__num_put_base::__format_float from 0x962908 to 0x96299c (148 bytes) // // 4 xrefs: // > std::__ndk1::num_put>>::do_put @ 0x962776 // > std::__ndk1::num_put>>::do_put @ 0x962d4e // > std::__ndk1::num_put>>::do_put @ 0x9638f6 // > std::__ndk1::num_put>>::do_put @ 0x963dca // // 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:39 +0000 // int __fastcall std::__num_put_base::__format_float( std::__num_put_base *this, char *a2, unsigned int a3, unsigned int a4) { int v4; // lr int v5; // r12 char v6; // r3 char *v7; // r1 int v8; // t1 unsigned int v9; // r1 int v10; // r2 char v11; // r1 int v12; // r1 if ( (a3 & 0x800) != 0 ) { *(_BYTE *)this = 43; this = (std::__num_put_base *)((char *)this + 1); } if ( (a3 & 0x400) != 0 ) { *(_BYTE *)this = 35; this = (std::__num_put_base *)((char *)this + 1); } v4 = a3 & 0x104; if ( v4 == 260 ) { v5 = 0; } else { v5 = 1; *(_WORD *)this = 10798; this = (std::__num_put_base *)((char *)this + 2); } v6 = *a2; if ( *a2 ) { v7 = a2 + 1; do { *(_BYTE *)this = v6; this = (std::__num_put_base *)((char *)this + 1); v8 = (unsigned __int8)*v7++; v6 = v8; } while ( v8 ); } v9 = a3 >> 14; v10 = a3 & 0x104; if ( v10 == 256 ) { if ( (v9 & 1) != 0 ) v11 = 69; else v11 = 101; } else if ( v10 == 4 ) { if ( (v9 & 1) != 0 ) v11 = 70; else v11 = 102; } else { v12 = v9 & 1; if ( v4 == 260 ) { if ( v12 ) v11 = 65; else v11 = 97; } else if ( v12 ) { v11 = 71; } else { v11 = 103; } } *(_BYTE *)this = v11; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source