// // sub_10042C8B8 from 0x10042c8b8 to 0x10042c91c (100 bytes) // // 0 xrefs: // // 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_10042C8B8(int *a1) { int v1; // w9 int v2; // w8 unsigned __int8 *v3; // x10 int v4; // w11 __int64 v5; // x8 v1 = *a1; v2 = a1[6]; if ( *a1 >= v2 ) { *((_QWORD *)a1 + 2) = 0; *a1 = v2; a1[1] = 1; return 0xFFFFFFFFLL; } else { v3 = *((unsigned __int8 **)a1 + 2); v4 = a1[1]; v5 = (*v3 >> v4) & 1; a1[1] = v4 + 1; if ( v4 >= 7 ) { *((_QWORD *)a1 + 2) = v3 + 1; *(_QWORD *)a1 = (unsigned int)(v1 + 1); return v5; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source