//
// sub_10096C720 from 0x10096c720 to 0x10096c79c (124 bytes)
//
// 8 xrefs:
// > IDNameBrowserPopup::ccTouchCancelled @ 0x10090cbd6
// > sub_10090CC00 @ 0x10090cc22
// > ThreadViewPopup::ccTouchCancelled @ 0x10093a886
// > sub_10093A8B0 @ 0x10093a8d2
// > PagedListPopup::ccTouchCancelled @ 0x10095d566
// > sub_10095D590 @ 0x10095d5b2
// > SFXFolderPickerPopup::ccTouchCancelled @ 0x1009741b6
// > sub_1009741E0 @ 0x100974202
//
// 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_10096C720(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v4; // rdi
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;
result = cocos2d::CCNode::unscheduleUpdate(a1);
}
v4 = *(_QWORD *)(a1 + 576);
if ( v4 )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 920LL))(v4);
*(_QWORD *)(a1 + 576) = 0;
}
return result;
}