// // SetGroupIDLayer::textChanged from 0x10003eb84 to 0x10003ee08 (644 bytes) // // 2 xrefs: // > sub_10003EE08 @ 0x10003ee0c // > @ 0x10076d490 // // 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::textChanged(SetGroupIDLayer *a1, CCTextInputNode *a2) { int m_groupIDValue; // w0 int *p_m_groupIDValue; // x21 char *v6; // x20 int v7; // w8 char *v8; // x20 char *v9; // x20 char *v10; // x20 char *v11; // x20 char *v12; // x20 char *v13[2]; // [xsp+8h] [xbp-38h] BYREF char v14; // [xsp+1Fh] [xbp-21h] if ( !a1->m_editorLayerEdited ) { if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 1 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v6 = v13[0]; p_m_groupIDValue = &a1->m_groupIDValue; a1->m_groupIDValue = atoi(v13[0]); operator delete(v6); m_groupIDValue = a1->m_groupIDValue; } else { m_groupIDValue = atoi((const char *)v13); p_m_groupIDValue = &a1->m_groupIDValue; } if ( m_groupIDValue >= 9999 ) v7 = 9999; else v7 = m_groupIDValue; *p_m_groupIDValue = v7; } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 5 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v8 = v13[0]; a1->m_editorLayerValue = atoi(v13[0]); operator delete(v8); } else { a1->m_editorLayerValue = atoi((const char *)v13); } SetGroupIDLayer::updateEditorLayerID(a1); } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 6 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v9 = v13[0]; a1->m_editorLayer2Value = atoi(v13[0]); operator delete(v9); } else { a1->m_editorLayer2Value = atoi((const char *)v13); } SetGroupIDLayer::updateEditorLayerID2(a1); } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 7 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v10 = v13[0]; a1->m_zOrderValue = atoi(v13[0]); operator delete(v10); } else { a1->m_zOrderValue = atoi((const char *)v13); } SetGroupIDLayer::updateZOrder(a1); } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 3 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v11 = v13[0]; a1->m_orderValue = atoi(v13[0]); operator delete(v11); } else { a1->m_orderValue = atoi((const char *)v13); } SetGroupIDLayer::updateEditorOrder(a1); } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 4 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v12 = v13[0]; a1->m_channelValue = atoi(v13[0]); operator delete(v12); } else { a1->m_channelValue = atoi((const char *)v13); } SetGroupIDLayer::updateOrderChannel(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source