//
// sub_10096C7A0 from 0x10096c7a0 to 0x10096c7dc (60 bytes)
//
// 22 xrefs:
// > CCTextInputNode::ccTouchCancelled @ 0x10006c5fb
// > sub_10006C610 @ 0x10006c65f
// > SetGroupIDLayer::ccTouchCancelled @ 0x100302892
// > sub_1003028E0 @ 0x100302902
// > KeybindingsLayer::ccTouchCancelled @ 0x1006e4cd2
// > sub_1006E4D20 @ 0x1006e4d42
// > DeathTrackerPopup::ccTouchCancelled @ 0x1008d864f
// > sub_1008D8690 @ 0x1008d86df
// > DropdownListPopup::ccTouchCancelled @ 0x1008dbca2
// > sub_1008DBCF0 @ 0x1008dbd12
// > EditorSFXActionConfigLayer::ccTouchCancelled @ 0x1008e0cd2
// > sub_1008E0D20 @ 0x1008e0d42
// > EditorSoundConfigInfoLayer::ccTouchCancelled @ 0x1008f7966
// > sub_1008F7990 @ 0x1008f79b2
// > EditorSoundsLayer::ccTouchCancelled @ 0x1008ff252
// > sub_1008FF2A0 @ 0x1008ff2c2
// > EditorWindowPopup::beginTouch @ 0x1009015bd
// > EditorWindowPopup::ccTouchCancelled @ 0x100901cc5
// > NewsPopup::ccTouchCancelled @ 0x10095b792
// > sub_10095B7E0 @ 0x10095b802
// > ScrollViewPopup::ccTouchCancelled @ 0x10096f6e6
// > sub_10096F710 @ 0x10096f732
//
// 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:38:51 +0000
//
__int64 __fastcall sub_10096C7A0(__int64 a1, __int64 a2)
{
__int64 result; // rax
result = *(unsigned int *)(a2 + 56);
if ( (_DWORD)result == *(_DWORD *)(a1 + 440) )
{
*(_QWORD *)(a1 + 472) = 0;
*(_DWORD *)(a1 + 440) = -1;
*(_WORD *)(a1 + 480) = 0;
*(_BYTE *)(a1 + 508) = 0;
return cocos2d::CCNode::unscheduleUpdate(a1);
}
return result;
}