//
// cocos2d::CCScheduler::unscheduleScriptEntry from 0x1800c27d0 to 0x1800c282d (93 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b95c4
//
// 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 __fastcall cocos2d::CCScheduler::unscheduleScriptEntry(cocos2d::CCScheduler *this, int a2)
{
int v4; // ebx
struct cocos2d::CCString *v5; // rax
v4 = cocos2d::CCArray::count(this->m_pScriptHandlerEntries) - 1;
if ( v4 >= 0 )
{
while ( 1 )
{
v5 = cocos2d::CCArray::stringAtIndex(this->m_pScriptHandlerEntries, v4);
if ( HIDWORD(v5->m_sString.m_data.m_bigStorage) == a2 )
break;
if ( --v4 < 0 )
return;
}
BYTE1(v5->m_sString.m_data.m_size) = 1;
}
}