// // sub_1005ED32C from 0x1005ed32c to 0x1005ed4f0 (452 bytes) // // 2 xrefs: // > sub_1005ED324 @ 0x1005ed328 // > sub_1005ED4F0 @ 0x1005ed4f4 // // 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_1005ED32C(__int64 a1, _QWORD *a2, int *a3, __int64 a4, __int64 a5, int a6) { __int64 *v12; // x0 __int64 v13; // x8 char *v14; // x0 int (*v15)(void); // x8 __int64 v16; // x8 int v17; // w9 _BOOL8 result; // x0 int (*v19)(void); // x8 int v20; // w8 unsigned int v21; // [xsp+Ch] [xbp-34h] v12 = *(__int64 **)(a1 + 32); if ( !v12 ) { v12 = (__int64 *)sub_1005EC3DC(a5, a4); *(_QWORD *)(a1 + 32) = v12; if ( !v12 ) return 0; } v13 = *v12; if ( !a3 && (*(_DWORD *)(v13 + 4) & 4) == 0 ) { if ( (int)sub_1005E9B20(a5) < 1 || (v14 = sub_10058AC68(v21), (a3 = (int *)sub_1005E8060((__int64)v14)) == nullptr) ) { sub_1005E0E48(6, 161, 158, (__int64)"m_sigver.c", 85); return 0; } v12 = *(__int64 **)(a1 + 32); v13 = *v12; } if ( a6 ) { v15 = *(int (**)(void))(v13 + 128); if ( !v15 ) { if ( (int)sub_1005ECB2C(v12) < 1 ) return 0; goto LABEL_22; } if ( v15() < 1 ) return 0; v16 = *(_QWORD *)(a1 + 32); v17 = 128; goto LABEL_16; } v19 = *(int (**)(void))(v13 + 112); if ( v19 ) { if ( v19() < 1 ) return 0; v16 = *(_QWORD *)(a1 + 32); v17 = 64; LABEL_16: *(_DWORD *)(v16 + 32) = v17; goto LABEL_22; } if ( (int)sub_1005EC988(v12) < 1 ) return 0; LABEL_22: v20 = sub_1005EC7FC(*(__int64 **)(a1 + 32), -1, 248); result = 0; if ( v20 >= 1 ) { if ( a2 ) *a2 = *(_QWORD *)(a1 + 32); return (*(_BYTE *)(**(_QWORD **)(a1 + 32) + 4LL) & 4) != 0 || (unsigned int)sub_1005E2E4C(a1, a3, a4) != 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source