//
// sub_14009D5A0 from 0x14009d5a0 to 0x14009d60f (111 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::updateCard @ 0x1400b1552
// > AccountReviewPopup::updateCard @ 0x1400b23a6
// > ??> @ 0x140912f74
//
// 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:05 +0000
//
__int64 __fastcall sub_14009D5A0(__int64 a1, char *a2, _QWORD *a3)
{
size_t v4; // r9
__int64 v5; // rax
v4 = -1;
do
++v4;
while ( a2[v4] );
v5 = sub_140059D70(a3, 0, a2, v4);
*(_OWORD *)a1 = 0;
*(_QWORD *)(a1 + 16) = 0;
*(_QWORD *)(a1 + 24) = 0;
*(_OWORD *)a1 = *(_OWORD *)v5;
*(_OWORD *)(a1 + 16) = *(_OWORD *)(v5 + 16);
*(_QWORD *)(v5 + 16) = 0;
*(_QWORD *)(v5 + 24) = 15;
*(_BYTE *)v5 = 0;
return a1;
}