// // sub_10052D1A0 from 0x10052d1a0 to 0x10052d214 (116 bytes) // // 1 xrefs: // > sub_1005294D0 @ 0x100529648 // // 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_10052D1A0(__int64 a1, __int64 a2, int a3, int a4) { unsigned int v4; // w8 int v6; // w10 int v7; // w9 int v8; // w9 int v9; // w10 v4 = *(_DWORD *)(a2 + 4); if ( a4 + 1 > v4 ) return 0; v6 = *(unsigned __int8 *)(*(_QWORD *)(a2 + 16) + v4 - 1); v7 = v6 + a4 + 1; ++v6; v8 = ((v4 - v7) ^ v7 | v7 ^ v4) ^ v4 | (a3 - v6) & ~a3; v9 = v6 & ~(v8 >> 31); *(_DWORD *)(a2 + 4) = v4 - v9; *(_DWORD *)a2 |= v9 << 8; return (~(v8 >> 31) | 1) ^ 0xFFFFFFFE; }
GD Web Decomp Icon

GD Web Decomp

Raw Source