// // fmt::BasicWriter::write_str from 0x81bc94 to 0x81bcfc (104 bytes) // // 3 xrefs: // > fmt::BasicWriter::write_str @ 0x81bd32 // > fmt::BasicWriter::FormatDouble @ 0x81be06 // > fmt::BasicWriter::FormatDouble @ 0x81c08e // // 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:01:46 +0000 // char *__fastcall fmt::BasicWriter::write_str(unsigned int *a1, const void *a2, size_t a3, int *a4) { char *v7; // r0 int v8; // r2 int v9; // r3 char *v10; // r5 unsigned int v11; // r0 if ( *a4 <= a3 ) { v11 = fmt::BasicWriter::GrowBuffer(a1, a3); goto LABEL_11; } v7 = (char *)fmt::BasicWriter::GrowBuffer(a1, *a4); v8 = a4[2]; v9 = a4[1]; v10 = v7; if ( v8 == 2 ) { if ( *a4 != a3 ) memset(v7, (unsigned __int8)v9, *a4 - a3); v10 += *a4 - a3; goto LABEL_12; } if ( v8 == 3 ) { v11 = (unsigned int)fmt::BasicWriter::FillPadding(v7, *a4, a3, v9); LABEL_11: v10 = (char *)v11; goto LABEL_12; } if ( *a4 != a3 ) memset(&v7[a3], (unsigned __int8)v9, *a4 - a3); LABEL_12: if ( a3 ) memmove(v10, a2, a3); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source