// // sub_DDCED0 from 0xddced0 to 0xddcf4c (124 bytes) // // 6 xrefs: // > fmt::BasicFormatter::format @ 0xde5038 // > fmt::BasicFormatter::format @ 0xde52f4 // > fmt::BasicFormatter::Format @ 0xde588c // > fmt::internal::PrintfParser::Format @ 0xde59d8 // > fmt::internal::PrintfParser::Format @ 0xde5c54 // > fmt::internal::PrintfParser::Format @ 0xde5c78 // // 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_DDCED0(__int64 *a1, _QWORD *a2) { _DWORD *v2; // x6 __int64 v3; // x4 unsigned int v4; // w3 int v5; // w5 __int64 result; // x0 v2 = (_DWORD *)*a1; v3 = *a1 + 4; *a1 = v3; v4 = *v2 - 48; while ( 1 ) { v5 = v2[1]; v2 = (_DWORD *)v3; v3 += 4; if ( (unsigned int)(v5 - 48) > 9 ) 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