// // sub_100586CD8 from 0x100586cd8 to 0x100586de8 (272 bytes) // // 2 xrefs: // > sub_10055CD64 @ 0x10055f4e8 // > sub_1005871A4 @ 0x100587278 // // 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 // bool __fastcall sub_100586CD8(__int64 a1, __int64 a2) { unsigned __int8 *v4; // x0 unsigned __int64 v5; // x1 unsigned __int8 *v6; // x0 unsigned __int64 v7; // x1 unsigned __int8 *v8; // x0 unsigned __int64 v9; // x1 unsigned __int8 *v10; // x0 unsigned __int64 v11; // x1 unsigned __int8 *v12; // x0 unsigned __int64 v13; // x1 if ( *(_QWORD *)a1 != *(_QWORD *)a2 || *(unsigned __int8 *)(a1 + 16) != *(unsigned __int8 *)(a2 + 16) || *(unsigned __int8 *)(a1 + 17) != *(unsigned __int8 *)(a2 + 17) ) { return 0; } v4 = *(unsigned __int8 **)(a1 + 24); v5 = *(_QWORD *)(a2 + 24); if ( v4 && v5 ) { if ( !sub_100573FB8(v4, (_BYTE *)v5) ) return 0; } else if ( (unsigned __int64)v4 | v5 ) { return 0; } v6 = *(unsigned __int8 **)(a1 + 32); v7 = *(_QWORD *)(a2 + 32); if ( v6 && v7 ) { if ( !sub_100573FB8(v6, (_BYTE *)v7) ) return 0; } else if ( (unsigned __int64)v6 | v7 ) { return 0; } v8 = *(unsigned __int8 **)(a1 + 56); v9 = *(_QWORD *)(a2 + 56); if ( v8 && v9 ) { if ( !sub_100573FB8(v8, (_BYTE *)v9) ) return 0; } else if ( (unsigned __int64)v8 | v9 ) { return 0; } v10 = *(unsigned __int8 **)(a1 + 64); v11 = *(_QWORD *)(a2 + 64); if ( v10 && v11 ) { if ( !sub_100573FB8(v10, (_BYTE *)v11) ) return 0; } else if ( (unsigned __int64)v10 | v11 ) { return 0; } v12 = *(unsigned __int8 **)(a1 + 72); v13 = *(_QWORD *)(a2 + 72); if ( !v12 || !v13 ) return !((unsigned __int64)v12 | v13); return sub_100573FB8(v12, (_BYTE *)v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source