//
// DrawGridLayer::removeFromSpeedObjects from 0x79007c to 0x7900c4 (72 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x790188
// > LevelEditorLayer::reverseObjectChanged @ 0x790220
// > ??> @ 0xd6828
//
// 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 12:53:28 +0000
//
__int64 __fastcall DrawGridLayer::removeFromSpeedObjects(cocos2d::CCArray **this, EffectGameObject *a2)
{
__int64 result; // x0
result = (unsigned __int8)cocos2d::CCArray::containsObject(*(this + 70), a2);
if ( (_BYTE)result )
{
cocos2d::CCArray::removeObject(*(this + 70), a2, 1);
*((_BYTE *)this + 601) = 1;
return 1;
}
return result;
}