//
// DrawGridLayer::addToSpeedObjects from 0x463eb2 to 0x463ede (44 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x463f88
// > LevelEditorLayer::reverseObjectChanged @ 0x463fa0
// > EditorUI::onCreateObject @ 0x48773c
//
// 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 11:48:54 +0000
//
int __fastcall DrawGridLayer::addToSpeedObjects(cocos2d::CCArray **this, EffectGameObject *a2)
{
int result; // r0
result = cocos2d::CCArray::containsObject(*(this + 101), a2);
if ( !result )
{
cocos2d::CCArray::addObject(*(this + 101), a2);
*((_BYTE *)this + 441) = 1;
return EffectGameObject::updateSpeedModType(a2);
}
return result;
}