// // sub_85A0F0 from 0x85a0f0 to 0x85a18c (156 bytes) // // 1 xrefs: // > @ 0xac11ac // // 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 // int __fastcall sub_85A0F0(int a1, _DWORD *a2, int a3) { int v3; // r2 int result; // r0 if ( a3 ) { v3 = a2[28]; if ( (v3 & 2) != 0 ) { result = a2[29] & 4; if ( !result ) return result; if ( (v3 & 1) != 0 ) return (a2[28] & 0x10) != 0; } else if ( (v3 & 1) != 0 ) { return (a2[28] & 0x10) != 0; } if ( (a2[28] & 0x2040) == 0x2040 ) { return 3; } else if ( (v3 & 2) != 0 ) { return 4; } else if ( (v3 & 8) != 0 ) { result = a2[31] & 7; if ( result ) return 5; } else { return a2[28] & 2; } } else { return (a2[28] & 2) == 0 || (a2[29] & 2) != 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source