//
// Dropdown::setVisible from 0x1004c2770 to 0x1004c27e4 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100984b00
//
// This function is hookable on this platform (idp: arm, 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:06:20 +0000
//
__int64 __fastcall Dropdown::setVisible(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 result; // x0
cocos2d::CCNode::setVisible(a1, a2);
if ( (a2 & 1) == 0 )
{
v4 = *(_QWORD *)(a1 + 528);
if ( v4 )
{
*(_QWORD *)(a1 + 528) = 0;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1112LL))(v4);
}
}
result = *(_QWORD *)(a1 + 392);
if ( result )
{
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 344LL))(result, a2);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 392) + 1056LL))(*(_QWORD *)(a1 + 392), a2);
}
return result;
}