//
// cocos2d::CCNode::unschedule from 0x1002d9634 to 0x1002d9660 (44 bytes)
//
// 54 xrefs:
// > sub_100033330 @ 0x10003334c
// > ChallengesPage::challengeStatusFinished @ 0x100036324
// > sub_100042BA8 @ 0x100042bc8
// > HardStreak::stopStroke @ 0x1000667cc
// > SetupSpawnPopup::updateRemapButtons @ 0x10011d09c
// > sub_100121328 @ 0x100121368
// > sub_100121D1C @ 0x100121d5c
// > sub_100121D84 @ 0x100121db8
// > EditorUI::updatePanDecay @ 0x1001641c4
// > CCCircleWave::followObject @ 0x1001fa80c
// > sub_1001FABE8 @ 0x1001fac54
// > CCTextInputNode::armHold @ 0x1001ff194
// > CCTextInputNode::ccTouchEnded @ 0x1001ff200
// > CCTextInputNode::ccTouchCancelled @ 0x1001ff2cc
// > CCTextInputNode::ccTouchMoved @ 0x1001ff374
// > CCTextInputNode::ccTouchMoved @ 0x1001ff3a8
// > CCTextInputNode::onExit @ 0x1001ff448
// > CCTextInputNode::onExit @ 0x1001ff45c
// > sub_10020636C @ 0x1002063a0
// > sub_10024BC7C @ 0x10024bce0
// > FRequestProfilePage::textChanged @ 0x10024d0ec
// > DailyLevelPage::dailyStatusFinished @ 0x10024fe34
// > RewardsPage::rewardsStatusFinished @ 0x10025a728
// > cocos2d::CCTransitionScene::setNewScene @ 0x100265c1c
// > sub_1002AFE28 @ 0x1002afe44
// > CCMenuExtra::ccTouchEnded @ 0x1002afec4
// > CCMenuExtra::ccTouchCancelled @ 0x1002aff48
// > sub_1002AFF6C @ 0x1002aff9c
// > sub_1002AFFC0 @ 0x1002affdc
// > CCMenuExtra::repeatTick @ 0x1002b00b8
// > MenuLayer::syncPlatformAchievements @ 0x1003055b0
// > sub_10038D538 @ 0x10038d56c
// > sub_10038D8A0 @ 0x10038d8e0
// > sub_10038D908 @ 0x10038d92c
// > TableView::ccTouchEnded @ 0x10039c620
// > TableView::ccTouchCancelled @ 0x10039c740
// > CCScrollLayerExt::updateScrollDecay @ 0x10039e388
// > sub_1004B8B0C @ 0x1004b8c14
// > sub_1004B8D30 @ 0x1004b8d6c
// > sub_1004B8D30 @ 0x1004b8da0
// > DeathStatsPopup::onClose @ 0x1004b9148
// > sub_1004F5540 @ 0x1004f5590
// > sub_1004F5BD0 @ 0x1004f5bf4
// > sub_1004F73A4 @ 0x1004f7680
// > sub_1004F79B4 @ 0x1004f79f0
// > sub_1004F7B58 @ 0x1004f7bdc
// > sub_1004F9AE0 @ 0x1004f9b60
// > ThreadViewPopup::onSend @ 0x1004f9e90
// > sub_1004FACFC @ 0x1004fad54
// > ThreadViewPopup::threadSearchFinished @ 0x1004fb798
// > sub_1004FBC14 @ 0x1004fbc50
// > ThreadViewPopup::threadMessagesFinished @ 0x1004fe068
// > ThreadViewPopup::threadMessagesFinished @ 0x1004fe474
// > sub_1004FE8CC @ 0x1004fe934
//
// 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:43 +0000
//
unsigned int *__fastcall cocos2d::CCNode::unschedule(unsigned int *result, unsigned __int64 a2, __int64 a3)
{
bool v3; // zf
char v4; // w8
if ( a3 )
v3 = (a3 & 1 | a2) == 0;
else
v3 = 1;
v4 = v3;
if ( a2 || (v4 & 1) == 0 )
return cocos2d::CCScheduler::unscheduleSelector(*((unsigned int **)result + 32), a2, a3, (__int64)result);
return result;
}