// // sub_E00A44 from 0xe00a44 to 0xe00b04 (192 bytes) // // 1 xrefs: // > @ 0x12395d0 // // 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 // unsigned __int64 __fastcall sub_E00A44(__int64 a1, unsigned int *a2, int a3) { unsigned __int64 v3; // x3 unsigned __int64 result; // x0 unsigned int v5; // w1 v3 = a2[52]; if ( (v3 & 4) == 0 || (result = 0, (a2[54] & 2) != 0) ) { if ( a3 ) { if ( (*((_QWORD *)a2 + 26) & 0x400000002LL) == 2 ) { return 0; } else if ( (v3 & 1) != 0 ) { return (v3 >> 4) & 1; } else { result = 3; if ( (a2[52] & 0x2040) != 0x2040 ) { result = 4; if ( (v3 & 2) == 0 ) { result = 0; if ( (v3 & 8) != 0 ) { v5 = a2[55]; if ( (v5 & 7) != 0 ) { if ( (v5 & 4) != 0 ) return 5; else return 0; } } } } } } else if ( (*((_QWORD *)a2 + 26) & 0x8800000002LL) == 2 ) { return 0; } else { result = 1; if ( (v3 & 8) != 0 ) return ((unsigned __int64)a2[55] >> 7) & 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source