//
// CCMenuExtra::repeatTick from 0x691460 to 0x691528 (200 bytes)
//
// 4 xrefs:
// > ??> @ 0xd4c08
// > CCMenuExtra::stopRepeat @ 0x691258
// > CCMenuExtra::repeatSelectionChanged @ 0x6913b0
// > ??> @ 0x1546540
//
// 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 12:50:35 +0000
//
__int64 __fastcall CCMenuExtra::repeatTick(cocos2d::CCMenuItem **this, long double a2)
{
cocos2d::CCMenuItem **v3; // x19
int v4; // w20
if ( this )
{
v3 = this;
do
{
v4 = (*((unsigned __int8 (__fastcall **)(cocos2d::CCMenuItem **, long double))*v3 + 44))(v3, a2);
v3 = (cocos2d::CCMenuItem **)(*((__int64 (__fastcall **)(cocos2d::CCMenuItem **))*v3 + 64))(v3);
}
while ( v3 && v4 );
}
else
{
v4 = 1;
}
if ( *((_DWORD *)this + 107) == 1
&& *(this + 54)
&& (*((unsigned __int8 (__fastcall **)(cocos2d::CCMenuItem **))*this + 158))(this)
&& (*((unsigned __int8 (__fastcall **)(cocos2d::CCMenuItem **))*this + 124))(this)
&& v4 )
{
return CCMenuExtra::fireSelectedItem(this);
}
else
{
return CCMenuExtra::stopRepeat((CCMenuExtra *)this);
}
}