//
// cocos2d::CCScheduler::unscheduleScriptEntry from 0xab2eb0 to 0xab2f18 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x7ef78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCScheduler::unscheduleScriptEntry(cocos2d::CCScheduler *a1, unsigned int a2)
{
int v4; // w19
unsigned int v5; // w1
__int64 v6; // x0
v4 = cocos2d::CCArray::count(a1->m_pScriptHandlerEntries) - 1;
if ( v4 >= 0 )
{
while ( 1 )
{
v5 = v4--;
v6 = cocos2d::CCArray::objectAtIndex(a1->m_pScriptHandlerEntries, v5);
if ( a2 == *(_DWORD *)(v6 + 60) )
break;
if ( v4 == -1 )
return;
}
*(_BYTE *)(v6 + 73) = 1;
}
}