// // sub_1005F3150 from 0x1005f3150 to 0x1005f3238 (232 bytes) // // 1 xrefs: // > @ 0x100862228 // // 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_1005F3150(__int64 *a1, char *a2, int a3, __int64 a4, __int64 a5, __int64 a6) { int v6; // w4 int v7; // w8 __int64 v8; // x10 __int64 v9; // x9 unsigned __int8 v10; // t1 unsigned __int8 v11; // t1 __int64 v13; // [xsp+8h] [xbp-8h] if ( a3 >= 9 ) { v6 = 163; LABEL_17: sub_1005E0E48(13, 166, 128, (__int64)"x_long.c", v6); return 0; } v7 = a3 && *a2 < 0; if ( a3 < 1 ) { v9 = 0; } else { v8 = 0; if ( v7 ) { v9 = 0; do { v10 = *a2++; v9 = (v10 | (unsigned __int64)(v9 << 8)) ^ 0xFF; --a3; } while ( a3 ); } else { do { v11 = *a2++; v9 = v11 | (unsigned __int64)(v8 << 8); --a3; v8 = v9; } while ( a3 ); } } v13 = v9 ^ (v7 << 31 >> 31); if ( v13 == *(_QWORD *)(a6 + 40) ) { v6 = 185; goto LABEL_17; } *a1 = v13; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source