//
// SetGroupIDLayer::updateEditorLayerID from 0x100316da0 to 0x100316e16 (118 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetGroupIDLayer::updateEditorLayerID(SetGroupIDLayer *a1)
{
GameObject *m_targetObject; // rax
unsigned int v2; // r14d
m_targetObject = a1->m_targetObject;
if ( m_targetObject )
{
m_targetObject->m_editorLayer = a1->m_editorLayerValue;
}
else if ( (unsigned int)sub_100720070(a1->m_targetObjects) )
{
v2 = 0;
do
*(_WORD *)(sub_1007200C0(a1->m_targetObjects, v2++) + 1202) = a1->m_editorLayerValue;
while ( v2 < (unsigned int)sub_100720070(a1->m_targetObjects) );
}
}