//
// cocos2d::CCScheduler::unscheduleScriptEntry from 0xd249b8 to 0xd24a20 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0xa9288
//
// 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 13:07:13 +0000
//
__int64 __fastcall cocos2d::CCScheduler::unscheduleScriptEntry(cocos2d::CCArray **this, int a2)
{
__int64 result; // x0
unsigned int v5; // w19
unsigned int v6; // w1
result = cocos2d::CCArray::count(*(this + 15));
v5 = result - 1;
if ( (int)result - 1 >= 0 )
{
while ( 1 )
{
v6 = v5--;
result = cocos2d::CCArray::objectAtIndex(*(this + 15), v6);
if ( a2 == *(_DWORD *)(result + 60) )
break;
if ( v5 == -1 )
return result;
}
*(_BYTE *)(result + 73) = 1;
}
return result;
}