// // sub_180080DA0 from 0x180080da0 to 0x180080e53 (179 bytes) // // 1 xrefs: // > sub_1800813A0 @ 0x1800813d5 // // 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_180080DA0(unsigned int a1, char *a2, unsigned __int64 a3) { char v5; // r8 char v6; // dl char v7; // al char v8; // cl bool v9; // zf if ( ((a1 - 4) & 0xFFFFFFFB) == 0 ) return 2; if ( a1 == 7 ) return 5; if ( a1 ) return a1; if ( a3 >= 4 ) { v5 = *a2; v6 = a2[1]; v7 = a2[2]; v8 = a2[3]; switch ( v5 ) { case 0: if ( !v6 ) { if ( v7 == -2 ) { if ( v8 == -1 ) return 6; } else if ( !v7 && v8 == 60 ) { return 6; } return 1; } v9 = v6 == 60; LABEL_22: if ( v9 ) return 3; return 1; case -1: if ( v6 == -2 ) { if ( v7 || v8 ) return 2; return 5; } break; case -2: v9 = v6 == -1; goto LABEL_22; default: if ( v5 == 60 && !v6 ) { if ( v7 || v8 ) return 2; return 5; } break; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source