//
// sub_1400CFA60 from 0x1400cfa60 to 0x1400cfb08 (168 bytes)
//
// 2 xrefs:
// > AutoBackupPopup::buildRows @ 0x1400cada9
// > ??> @ 0x140914234
//
// 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=4
__int64 __fastcall sub_1400CFA60(__int64 a1, __int64 a2)
{
__int64 v4; // rbx
__int64 result; // rax
v4 = *(_QWORD *)(a1 + 8);
if ( v4 == *(_QWORD *)(a1 + 16) )
return sub_1400D0F00(a1, *(_QWORD *)(a1 + 8), a2);
sub_14003F4F0(v4, a2);
sub_14003F4F0(v4 + 32, a2 + 32);
sub_14003F4F0(v4 + 64, a2 + 64);
sub_14003F4F0(v4 + 96, a2 + 96);
sub_14003F4F0(v4 + 128, a2 + 128);
result = *(unsigned int *)(a2 + 160);
*(_DWORD *)(v4 + 160) = result;
*(_QWORD *)(a1 + 8) += 168LL;
return result;
}