// // sub_1400CF930 from 0x1400cf930 to 0x1400cfa58 (296 bytes) // // 3 xrefs: // > AutoBackupPopup::assignRevs @ 0x1400ca68e // > AutoBackupPopup::pruneBackups @ 0x1400cd8a8 // > @ 0x140914228 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:26:24 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall sub_1400CF930(_QWORD *a1, _QWORD *a2, __int64 a3) { _QWORD *v4; // r14 __int64 v5; // rbp __int64 v6; // rbx __int64 v7; // rdi int v8; // eax __int64 *v9; // rax _DWORD *v10; // rdi __int128 v12; // [rsp+20h] [rbp-48h] BYREF __int128 v13; // [rsp+30h] [rbp-38h] v4 = a1; v5 = *a1; v6 = *(_QWORD *)(*a1 + 8LL); *(_QWORD *)&v13 = v6; DWORD2(v13) = 0; v7 = v5; if ( !*(_BYTE *)(v6 + 25) ) { do { *(_QWORD *)&v13 = v6; v8 = sub_14003D160((_QWORD *)(v6 + 32), a2); a1 = (_QWORD *)((unsigned int)v8 >> 31); if ( v8 >= 0 ) { DWORD2(v13) = 1; v7 = v6; } else { DWORD2(v13) = 0; } v9 = (__int64 *)(v6 + 16); if ( !(_BYTE)a1 ) v9 = (__int64 *)v6; v6 = *v9; } while ( !*(_BYTE *)(*v9 + 25) ); } if ( *(_BYTE *)(v7 + 25) || sub_14003D160(a2, (_QWORD *)(v7 + 32)) < 0 ) { if ( v4[1] == 0x38E38E38E38E38ELL ) sub_14005BD90(a1, a2, a3); v10 = operator new(0x48u); sub_14003F4F0((__int64)(v10 + 8), (__int64)a2); v10[16] = 0; *(_QWORD *)v10 = v5; *((_QWORD *)v10 + 1) = v5; *((_QWORD *)v10 + 2) = v5; *((_WORD *)v10 + 12) = 0; v12 = v13; v7 = sub_14006A770(v4, (__int64)&v12, (__int64)v10); } return v7 + 64; }
GD Web Decomp Icon

GD Web Decomp

Raw Source