// // sub_180083D90 from 0x180083d90 to 0x180083e43 (179 bytes) // // 1 xrefs: // > sub_1800843A0 @ 0x1800843d5 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:03 +0000 // __int64 __fastcall sub_180083D90(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