// // sub_DDCE50 from 0xddce50 to 0xddced0 (128 bytes) // // 6 xrefs: // > fmt::BasicFormatter::format @ 0xde0b10 // > fmt::BasicFormatter::format @ 0xde0d5c // > fmt::BasicFormatter::Format @ 0xde11f8 // > fmt::internal::PrintfParser::Format @ 0xde1bcc // > fmt::internal::PrintfParser::Format @ 0xde1e5c // > fmt::internal::PrintfParser::Format @ 0xde1e78 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:09:06 +0000 // __int64 __fastcall sub_DDCE50(__int64 *a1, _QWORD *a2) { unsigned __int8 *v2; // x6 __int64 v3; // x5 unsigned int v4; // w4 unsigned __int8 v5; // w3 __int64 result; // x0 v2 = (unsigned __int8 *)*a1; v3 = *a1 + 1; *a1 = v3; v4 = *v2 - 48; while ( 1 ) { v5 = v2[1]; v2 = (unsigned __int8 *)v3++; if ( (unsigned __int8)(v5 - 48) > 9u ) break; *a1 = v3; if ( v4 > *v2 - 48 + 10 * v4 ) v4 = -1; else v4 = *v2 - 48 + 10 * v4; } result = v4; if ( (v4 & 0x80000000) != 0 ) { result = 0; if ( !*a2 ) *a2 = "number is too big in format"; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source