//
// sub_100525918 from 0x100525918 to 0x100525990 (120 bytes)
//
// 4 xrefs:
// > IDNameBrowserPopup::ccTouchCancelled @ 0x1004e24e8
// > ThreadViewPopup::ccTouchCancelled @ 0x100501a2c
// > PagedListPopup::ccTouchCancelled @ 0x10051b5b0
// > SFXFolderPickerPopup::ccTouchCancelled @ 0x100529e70
//
// 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_100525918(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
if ( *(_DWORD *)(a2 + 56) == *(_DWORD *)(a1 + 440) )
{
*(_QWORD *)(a1 + 472) = 0;
*(_DWORD *)(a1 + 440) = -1;
*(_WORD *)(a1 + 480) = 0;
*(_BYTE *)(a1 + 508) = 0;
cocos2d::CCNode::unscheduleUpdate(a1);
}
result = *(_QWORD *)(a1 + 576);
if ( result )
{
result = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)result + 920LL))(result, a2, a3);
*(_QWORD *)(a1 + 576) = 0;
}
return result;
}