// // sub_1005ED510 from 0x1005ed510 to 0x1005ed57c (108 bytes) // // 0 xrefs: // // 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 11:09:46 +0000 // unsigned __int64 __fastcall sub_1005ED510(unsigned __int64 result) { unsigned __int64 v1; // x8 char v2; // w9 unsigned __int8 *v3; // x8 unsigned int v4; // w10 int v5; // w11 unsigned int v6; // w9 unsigned int v7; // w12 unsigned int v8; // w13 int v9; // w11 unsigned int v10; // w11 int v11; // t1 if ( result ) { v1 = result; v2 = *(_BYTE *)result; if ( *(_BYTE *)result ) { LODWORD(result) = 0; v3 = (unsigned __int8 *)(v1 + 1); do { v4 = 16 * result; v5 = v2; v6 = (unsigned __int8)(v2 - 48); v7 = v5 - 65; v8 = v5 - 97; v9 = 16 * result + v5; if ( v8 <= 5 ) v4 = v9 - 87; if ( v7 <= 5 ) v4 = v9 - 55; v10 = v9 - 48; if ( v6 <= 9 ) result = v10; else result = v4; v11 = *v3++; v2 = v11; } while ( v11 ); } else { return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source