//
// sub_1400ACAA0 from 0x1400acaa0 to 0x1400acad6 (54 bytes)
//
// 1 xrefs:
// > AccountReviewPopup::updateCard @ 0x1400b1272
//
// 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:10 +0000
//
__int64 __fastcall sub_1400ACAA0(__int64 a1, int a2)
{
if ( a2 == 2 )
{
*(_WORD *)a1 = 30975;
*(_BYTE *)(a1 + 2) = 120;
return a1;
}
else
{
if ( ((a2 - 1) & 0xFFFFFFFD) != 0 )
{
*(_WORD *)a1 = -106;
*(_BYTE *)(a1 + 2) = -106;
}
else
{
*(_WORD *)a1 = -21761;
*(_BYTE *)(a1 + 2) = 80;
}
return a1;
}
}