//
// cocos2d::CCScheduler::unscheduleScriptEntry from 0x7b5c46 to 0x7b5c74 (46 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:11 +0000
//
int __fastcall cocos2d::CCScheduler::unscheduleScriptEntry(cocos2d::CCArray **this, unsigned int a2)
{
int result; // r0
signed int i; // r4
result = cocos2d::CCArray::count(*(this + 21));
for ( i = result - 1; i >= 0; --i )
{
result = cocos2d::CCArray::objectAtIndex(*(this + 21), i);
if ( *(_DWORD *)(result + 56) == a2 )
{
*(_BYTE *)(result + 65) = 1;
return result;
}
}
return result;
}