//
// EditorUI::onToggleGuide from 0x7c1878 to 0x7c18bc (68 bytes)
//
// 2 xrefs:
// > SetGroupIDLayer::onToggleGuide @ 0xab8d54
// > ??> @ 0xcc568
//
// 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:54:06 +0000
//
__int64 __fastcall EditorUI::onToggleGuide(cocos2d::CCArray ****this, EffectGameObject *a2)
{
__int64 result; // x0
*((_BYTE *)a2 + 1768) ^= 1u;
result = (unsigned __int8)LevelEditorLayer::tryUpdateSpeedObject(*(this + 180), a2, 0);
if ( (_BYTE)result )
{
*((_BYTE *)this + 869) = 1;
return 1;
}
return result;
}