// // sub_10054075C from 0x10054075c to 0x100540848 (236 bytes) // // 6 xrefs: // > sub_10051CF68 @ 0x10051d150 // > sub_100521AE0 @ 0x100521c9c // > sub_10052E57C @ 0x10052ea7c // > sub_10052EC84 @ 0x10052f6d4 // > sub_100537D24 @ 0x100537f20 // > sub_100538A48 @ 0x100538bf8 // // 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_10054075C(__int64 a1, int a2) { __int64 v4; // x20 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x1 __int64 v8; // x0 v4 = *(_QWORD *)(a1 + 32); if ( v4 ) { if ( v4 == *(_QWORD *)(a1 + 24) ) *(_QWORD *)(a1 + 24) = sub_1005DAE6C(*(_QWORD *)(a1 + 32)); LABEL_6: sub_1005DAB78(v4, 1, 0, 0); if ( !sub_1005DAA84(v4, 117, 1, 0) ) { sub_1005E0E48(20, 184, 7, "ssl_lib.c", 3087); return 0; } v7 = *(_QWORD *)(a1 + 24); if ( a2 ) { if ( v7 != v4 ) { v8 = sub_1005DAD70(v4); LABEL_13: *(_QWORD *)(a1 + 24) = v8; } } else if ( v7 == v4 ) { v8 = sub_1005DAE6C(v4); goto LABEL_13; } return 1; } v5 = sub_1005DC044(); v6 = sub_1005DA484(v5); v4 = v6; if ( v6 ) { *(_QWORD *)(a1 + 32) = v6; goto LABEL_6; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source