// // sub_D22644 from 0xd22644 to 0xd226ec (168 bytes) // // 6 xrefs: // > sub_D24634 @ 0xd24774 // > sub_D24634 @ 0xd24a70 // > sub_D25DEC @ 0xd25f24 // > sub_D25FE0 @ 0xd26120 // > sub_D25FE0 @ 0xd262e4 // > sub_D25FE0 @ 0xd26348 // // 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_D22644(__int64 a1) { int v1; // w5 unsigned __int8 *v2; // x1 int v3; // w3 __int64 v4; // x1 char *v5; // x4 __int64 v6; // x1 char v7; // t1 __int64 result; // x0 v1 = 0; v2 = *(unsigned __int8 **)(a1 + 24); v3 = *v2; if ( v3 == 110 ) { *(_QWORD *)(a1 + 24) = v2 + 1; v1 = 1; LOBYTE(v3) = v2[1]; } if ( (unsigned __int8)(v3 - 48) > 9u ) return 0; v4 = 0; v5 = (char *)(*(_QWORD *)(a1 + 24) + 1LL); do { *(_QWORD *)(a1 + 24) = v5; v6 = 10 * v4 + (unsigned __int8)v3; v7 = *v5++; LOBYTE(v3) = v7; v4 = v6 - 48; } while ( (unsigned __int8)(v7 - 48) <= 9u ); if ( v4 <= 0 || v1 ) return 0; result = sub_D22424(a1, v4); *(_QWORD *)(a1 + 72) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source