//
// SetGroupIDLayer::updateEditorLayerID2 from 0x100316e20 to 0x100316e96 (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::updateEditorLayerID2(SetGroupIDLayer *a1)
{
GameObject *m_targetObject; // rax
unsigned int v2; // r14d
m_targetObject = a1->m_targetObject;
if ( m_targetObject )
{
m_targetObject->m_editorLayer2 = a1->m_editorLayer2Value;
}
else if ( (unsigned int)sub_100720070(a1->m_targetObjects) )
{
v2 = 0;
do
*(_WORD *)(sub_1007200C0(a1->m_targetObjects, v2++) + 1204) = a1->m_editorLayer2Value;
while ( v2 < (unsigned int)sub_100720070(a1->m_targetObjects) );
}
}