//
// sub_1002AFE28 from 0x1002afe28 to 0x1002afe9c (116 bytes)
//
// 2 xrefs:
// > DpadMenu::ccTouchBegan @ 0x100189898
// > DpadMenu::ccTouchMoved @ 0x100189918
//
// 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:02:19 +0000
//
__int64 __fastcall sub_1002AFE28(__int64 a1)
{
__int64 result; // x0
result = cocos2d::CCNode::unschedule(a1, CCMenuExtra::repeatTick, 0);
if ( *(float *)(a1 + 444) > 0.0 )
{
if ( *(_QWORD *)(a1 + 432) )
{
*(_BYTE *)(a1 + 448) = 1;
sub_1002D95D4(a1, CCMenuExtra::repeatTick, 0, 4294967294LL);
return cocos2d::CCMenuItem::activate(*(_QWORD *)(a1 + 432));
}
}
return result;
}