// // fmt::BasicFormatter::CheckSign from 0x81d8a0 to 0x81d93e (158 bytes) // // 3 xrefs: // > fmt::BasicFormatter::format @ 0x81d4b8 // > fmt::BasicFormatter::format @ 0x81d4ca // > fmt::BasicFormatter::format @ 0x81d4dc // // 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:47 +0000 // int __fastcall fmt::BasicFormatter::CheckSign(int a1, _DWORD *a2, int *a3) { int v5; // r6 int result; // r0 _DWORD *v7; // [sp+14h] [bp-2Ch] BYREF int v8; // [sp+18h] [bp-28h] int v9[3]; // [sp+1Ch] [bp-24h] BYREF _DWORD v10[2]; // [sp+28h] [bp-18h] BYREF int v11; // [sp+30h] [bp-10h] v5 = *(unsigned __int8 *)*a2; if ( *a3 > 5 ) { v11 = *(unsigned __int8 *)*a2; v10[0] = 6; v7 = v10; v8 = 1; fmt::format(v9, "format specifier '{}' requires numeric argument", 0, &v7); result = std::string::~string((int)v9); } if ( (*a3 & 0xFFFFFFFD) == 1 ) { v11 = v5; v8 = 1; v10[0] = 6; v7 = v10; fmt::format(v9, "format specifier '{}' requires signed argument", 0, &v7); result = std::string::~string((int)v9); } ++*a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source