// // sub_1006037C4 from 0x1006037c4 to 0x100603940 (380 bytes) // // 3 xrefs: // > sub_100604C80 @ 0x100604cf0 // > sub_100604C80 @ 0x100604d7c // > sub_100604E2C @ 0x100604ed4 // // 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_1006037C4(__int64 a1, __int64 a2) { _BYTE *v4; // x0 _QWORD *v5; // x19 _DWORD *v6; // x0 __int64 v7; // x2 __int64 v8; // x4 __int64 v9; // x19 if ( !a2 ) return 0; v4 = sub_100588710(16, (__int64)"x509_lu.c", 378); v5 = v4; if ( !v4 ) { sub_1005E0E48(11, 125, 65, (__int64)"x509_lu.c", 380); return 0; } *(_DWORD *)v4 = 2; *((_QWORD *)v4 + 1) = a2; sub_100588190(9, 11, (__int64)"x509_lu.c", 386); if ( *(_DWORD *)v5 == 2 ) { v6 = (_DWORD *)(v5[1] + 24LL); v7 = 6; v8 = 410; LABEL_9: sub_100588508(v6, 1, v7, (__int64)"x509_lu.c", v8); goto LABEL_10; } if ( *(_DWORD *)v5 == 1 ) { v6 = (_DWORD *)(v5[1] + 28LL); v7 = 3; v8 = 407; goto LABEL_9; } LABEL_10: if ( sub_1006036C0(*(int **)(a1 + 8), (__int64)v5) ) { if ( *(_DWORD *)v5 == 2 ) { sub_1005F4000(v5[1]); } else if ( *(_DWORD *)v5 == 1 ) { sub_1005F3CA0(v5[1]); } sub_100588C44(v5); sub_1005E0E48(11, 125, 101, (__int64)"x509_lu.c", 393); v9 = 0; } else { sub_1005DE80C(*(void ***)(a1 + 8), (__int64)v5); v9 = 1; } sub_100588190(10, 11, (__int64)"x509_lu.c", 398); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source