//
// sub_100525990 from 0x100525990 to 0x1005259bc (44 bytes)
//
// 12 xrefs:
// > KeybindingsLayer::ccTouchCancelled @ 0x100025d10
// > SetGroupIDLayer::ccTouchCancelled @ 0x100042b58
// > CCTextInputNode::ccTouchCancelled @ 0x1001ff2e4
// > DeathTrackerPopup::ccTouchCancelled @ 0x1004c0f74
// > DropdownListPopup::ccTouchCancelled @ 0x1004c3ad8
// > EditorSFXActionConfigLayer::ccTouchCancelled @ 0x1004c7314
// > EditorSoundConfigInfoLayer::ccTouchCancelled @ 0x1004d2ea4
// > EditorSoundsLayer::ccTouchCancelled @ 0x1004d8918
// > sub_1004DA128 @ 0x1004da3c4
// > EditorWindowPopup::ccTouchCancelled @ 0x1004da984
// > NewsPopup::ccTouchCancelled @ 0x100519f50
// > ScrollViewPopup::ccTouchCancelled @ 0x100527680
//
// 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:07:14 +0000
//
__int64 __fastcall sub_100525990(__int64 a1, __int64 a2)
{
if ( *(_DWORD *)(a2 + 56) == *(_DWORD *)(a1 + 440) )
{
*(_QWORD *)(a1 + 472) = 0;
*(_DWORD *)(a1 + 440) = -1;
*(_WORD *)(a1 + 480) = 0;
*(_BYTE *)(a1 + 508) = 0;
return (__int64)cocos2d::CCNode::unscheduleUpdate(a1);
}
return a1;
}