// // sub_CF0974 from 0xcf0974 to 0xcf0b1c (424 bytes) // // 0 xrefs: // // 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_CF0974(__int64 *a1, __int64 a2) { __int64 v4; // x0 int v5; // w3 char *v6; // x20 __int64 v7; // x0 char v9; // [xsp+4Fh] [xbp+4Fh] BYREF _BYTE v10[8]; // [xsp+50h] [xbp+50h] BYREF _QWORD *v11; // [xsp+58h] [xbp+58h] sub_CF0874((__int64)v10, a1); if ( !a2 || !v10[0] ) { if ( a2 ) goto LABEL_4; v5 = 1; LABEL_11: sub_CCF1DC((__int64)a1 + *(_QWORD *)(*a1 - 24), v5 | *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 32)); goto LABEL_4; } v4 = sub_CFA100(a2, *(__int64 *)((char *)a1 + *(_QWORD *)(*a1 - 24) + 232), &v9); v5 = 4; if ( !v4 ) goto LABEL_11; LABEL_4: v6 = (char *)v11 + *(_QWORD *)(*v11 - 24LL); if ( (*((_DWORD *)v6 + 6) & 0x2000) == 0 ) return a1; if ( std::uncaught_exception() ) return a1; v7 = *((_QWORD *)v6 + 29); if ( !v7 || (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v7 + 48LL))(v7) != -1 ) return a1; sub_CCF1DC((__int64)v11 + *(_QWORD *)(*v11 - 24LL), *(_DWORD *)((char *)v11 + *(_QWORD *)(*v11 - 24LL) + 32) | 1); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source