// // sub_10060C3E8 from 0x10060c3e8 to 0x10060c60c (548 bytes) // // 2 xrefs: // > sub_10060B7A4 @ 0x10060b944 // > sub_10060BCC4 @ 0x10060bddc // // 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_10060C3E8(int **a1, char *a2) { unsigned int *v3; // x0 unsigned int *v4; // x19 __int64 v5; // x20 int v6; // w21 const char *v7; // x27 int *v8; // x28 char **v9; // x27 int *v10; // x8 v3 = (unsigned int *)sub_10060738C(a2); v4 = v3; if ( !v3 ) return 0; if ( *a1 ) return 0; if ( (int)sub_1005DEA4C(v3) <= 0 ) { LABEL_30: v5 = 1; } else { v6 = 0; while ( 1 ) { v7 = *(const char **)(sub_1005DEA60((__int64)v4, v6) + 8); v8 = *a1; if ( !*a1 ) { v8 = (int *)sub_1005F8EE4(); *a1 = v8; if ( !v8 ) break; } if ( !strcmp("unused", v7) ) { v9 = off_1008412F8; v10 = &dword_1008412F0; } else if ( !strcmp("keyCompromise", v7) ) { v9 = off_100841310; v10 = &dword_100841308; } else if ( !strcmp("CACompromise", v7) ) { v9 = off_100841328; v10 = &dword_100841320; } else if ( !strcmp("affiliationChanged", v7) ) { v9 = off_100841340; v10 = &dword_100841338; } else if ( !strcmp("superseded", v7) ) { v9 = off_100841358; v10 = &dword_100841350; } else if ( !strcmp("cessationOfOperation", v7) ) { v9 = off_100841370; v10 = &dword_100841368; } else if ( !strcmp("certificateHold", v7) ) { v9 = off_100841388; v10 = &dword_100841380; } else if ( !strcmp("privilegeWithdrawn", v7) ) { v9 = off_1008413A0; v10 = &dword_100841398; } else { if ( strcmp("AACompromise", v7) ) break; v9 = off_1008413B8; v10 = &dword_1008413B0; } if ( !(unsigned int)sub_1005EEA6C(v8, *v10, 1) || !*v9 ) break; if ( ++v6 >= (int)sub_1005DEA4C(v4) ) goto LABEL_30; } v5 = 0; } sub_1005DE9D0(v4, (void (*)(void))sub_100606E18); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source