//
// InfoLayer::refreshBulkUI from 0x100895fa0 to 0x100896107 (359 bytes)
//
// 9 xrefs:
// > InfoLayer::setupCommentsBrowser @ 0x100894ed9
// > InfoLayer::setupBulkUI @ 0x100895887
// > sub_100896EB0 @ 0x100896f70
// > sub_1008970C0 @ 0x1008970c3
// > sub_1008970C0 @ 0x1008970d1
// > sub_1008970C0 @ 0x1008970e1
// > sub_1008970C0 @ 0x1008970ef
// > sub_1008970C0 @ 0x1008974b4
// > sub_1008977C0 @ 0x100897b92
//
// 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 12:37:06 +0000
//
void __fastcall InfoLayer::refreshBulkUI(__int64 a1)
{
__int64 v2; // rdi
_QWORD *v3; // r12
__int64 v4; // rax
__int64 v5; // rax
__int64 v6; // rdi
bool v7; // al
bool v8; // r14
__int64 v9; // rax
_BOOL4 v10; // r14d
int v11; // esi
__int64 v12; // r15
char *v13; // rax
__int64 CString; // rax
v2 = *(_QWORD *)(a1 + 904);
if ( v2 && *(_QWORD *)(a1 + 912) && *(_QWORD *)(a1 + 920) )
{
if ( !*(_QWORD *)(a1 + 704) || !*(_BYTE *)(a1 + 880) )
{
v3 = (_QWORD *)(a1 + 904);
v4 = GameManager::sharedState();
if ( *(_DWORD *)(v4 + 1032) - *(_DWORD *)(v4 + 1036) == 2 )
{
v5 = *(_QWORD *)(a1 + 896);
v7 = v5 && (v6 = *(_QWORD *)(v5 + 432)) != 0 && (unsigned int)sub_1007FEF90(v6) != 0;
v10 = v7;
(*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 912) + 344LL))(*(_QWORD *)(a1 + 912), v7);
(*(void (__fastcall **)(_QWORD, _BOOL4))(**(_QWORD **)(a1 + 912) + 1056LL))(*(_QWORD *)(a1 + 912), v10);
v11 = *(_DWORD *)(a1 + 944);
v8 = v11 > 0 && v10;
v12 = *(_QWORD *)(a1 + 904);
v13 = sub_10088E820("(%i)", v11);
CString = cocos2d::CCString::getCString((__int64)v13);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 928LL))(v12, CString);
v9 = 344;
goto LABEL_15;
}
v2 = *v3;
}
v3 = (_QWORD *)(a1 + 912);
v8 = 0;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v3 + 344LL))(*v3, 0);
v9 = 1056;
LABEL_15:
(*(void (__fastcall **)(_QWORD, bool))(*(_QWORD *)*v3 + v9))(*v3, v8);
(*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 920) + 344LL))(*(_QWORD *)(a1 + 920), v8);
(*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 920) + 1056LL))(*(_QWORD *)(a1 + 920), v8);
}
}