//
// CCMenuItemSpriteExtra::unselected from 0x1002637a0 to 0x1002638a2 (258 bytes)
//
// 4 xrefs:
// > RowPressItem::unselected @ 0x100240db9
// > ??> @ 0x100af5b58
// > ??> @ 0x100b72d80
// > ??> @ 0x100b7fbb0
//
// 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:27:32 +0000
//
void __fastcall CCMenuItemSpriteExtra::unselected(__int64 a1)
{
__int64 v1; // rax
int v2; // eax
__int64 v3; // rax
__int64 v4; // r14
__int64 v5; // r14
__int64 v6; // rax
__int64 v7; // rbx
if ( *(_BYTE *)(a1 + 339) == 1 )
{
cocos2d::CCMenuItemSprite::unselected();
if ( *(_BYTE *)(a1 + 409) == 1 )
{
v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v1 + 960LL))(v1, &unk_100A06D6C);
}
if ( *(_BYTE *)(a1 + 408) == 1 )
{
v2 = *(_DWORD *)(a1 + 484);
if ( v2 == 1 )
{
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);
cocos2d::CCNode::stopActionByTag(v5, 0);
v6 = cocos2d::CCMoveTo::create(a1 + 488, *(float *)(a1 + 480));
v7 = cocos2d::CCEaseInOut::create(v6, 2.0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 72LL))(v7, 0);
cocos2d::CCNode::runAction(v5, v7);
}
else if ( !v2 )
{
cocos2d::CCNode::stopActionByTag(a1, 0);
v3 = cocos2d::CCScaleTo::create_1(*(float *)(a1 + 480), *(float *)(a1 + 404));
v4 = cocos2d::CCEaseBounceOut::create(v3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 72LL))(v4, 0);
cocos2d::CCNode::runAction(a1, v4);
}
}
}
}