//
// Dropdown::setVisible from 0x140120c90 to 0x140120d06 (118 bytes)
//
// 3 xrefs:
// > ??> @ 0x140732078
// > ??> @ 0x1409165bc
// > ??> @ 0x1409165c8
//
// 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:56 +0000
//
void __fastcall Dropdown::setVisible(cocos2d::CCNode *a1, bool a2)
{
__int64 v4; // rcx
__int64 v5; // rcx
cocos2d::CCNode::setVisible(a1, a2);
if ( !a2 )
{
v4 = *((_QWORD *)a1 + 69);
if ( v4 )
{
*((_QWORD *)a1 + 69) = 0;
(**(void (__fastcall ***)(__int64))(v4 + 336))(v4 + 336);
}
}
v5 = *((_QWORD *)a1 + 49);
if ( v5 )
{
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v5 + 336LL))(v5, a2);
(*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)a1 + 49) + 936LL))(*((_QWORD *)a1 + 49), a2);
}
}