//
// sub_14005F2A0 from 0x14005f2a0 to 0x14005f354 (180 bytes)
//
// 3 xrefs:
// > PlayLayer::updateInfoLabel @ 0x14051196e
// > PlayLayer::updateInfoLabel @ 0x140511a16
// > ??> @ 0x140910a18
//
// 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:25:43 +0000
//
__int64 __fastcall sub_14005F2A0(__int64 a1)
{
__int64 **v1; // rsi
unsigned int v2; // edi
__int64 *i; // rbx
int v5; // [rsp+38h] [rbp-50h]
_BYTE v6[40]; // [rsp+48h] [rbp-40h] BYREF
v1 = *(__int64 ***)(a1 + 328);
v2 = 0;
for ( i = *v1; i != (__int64 *)v1; i = (__int64 *)*i )
{
v5 = *((_DWORD *)i + 6);
sub_14003F4F0((__int64)v6, (__int64)(i + 5));
v6[32] = *((_BYTE *)i + 72);
v6[33] = *((_BYTE *)i + 73);
if ( v5 > 0 )
++v2;
sub_14003D310((__int64)v6);
}
return v2;
}