// // sub_D220E4 from 0xd220e4 to 0xd2216c (136 bytes) // // 8 xrefs: // > sub_D22908 @ 0xd2295c // > sub_D22908 @ 0xd2297c // > sub_D24634 @ 0xd24fa4 // > sub_D24634 @ 0xd252e4 // > sub_D25FE0 @ 0xd2622c // > sub_D26B10 @ 0xd26d68 // > sub_D26B10 @ 0xd26e9c // > sub_D26B10 @ 0xd27028 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_D220E4(unsigned __int8 **a1) { __int64 v1; // x1 int v2; // w3 __int64 v3; // x5 __int64 v4; // x6 __int64 v5; // x1 unsigned __int8 *v6; // x4 __int64 v7; // x1 char v8; // t1 v1 = (__int64)*a1; v2 = **a1; if ( v2 == 110 ) { *a1 = (unsigned __int8 *)(v1 + 1); v3 = 1; v4 = -1; LOBYTE(v2) = *(_BYTE *)(v1 + 1); } else { v3 = 0; v4 = 0; } if ( (unsigned __int8)(v2 - 48) > 9u ) { v5 = 0; } else { v5 = 0; v6 = *a1 + 1; do { *a1 = v6; v7 = 10 * v5 + (unsigned __int8)v2; v8 = *v6++; LOBYTE(v2) = v8; v5 = v7 - 48; } while ( (unsigned __int8)(v8 - 48) <= 9u ); } return (v5 ^ v4) + v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source