//
// DrawGridLayer::addToSpeedObjects from 0x790028 to 0x79007c (84 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x79012c
// > LevelEditorLayer::reverseObjectChanged @ 0x790224
// > EditorUI::onCreateObject @ 0x7ca2c8
// > ??> @ 0xef248
//
// 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::addToSpeedObjects(cocos2d::CCArray **this, EffectGameObject *a2)
{
__int64 result; // x0
result = (unsigned __int8)cocos2d::CCArray::containsObject(*(this + 70), a2);
if ( !(_BYTE)result )
{
cocos2d::CCArray::addObject(*(this + 70), a2);
*((_BYTE *)this + 601) = 1;
return EffectGameObject::updateSpeedModType(a2);
}
return result;
}