// // SetGroupIDLayer::textChanged from 0x979b90 to 0x979fbc (1068 bytes) // // 3 xrefs: // > `non-virtual thunk to'SetGroupIDLayer::textChanged @ 0x979fc0 // > @ 0x75348 // > @ 0x11c2230 // // 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 SetGroupIDLayer::textChanged(SetGroupIDLayer *a1, CCTextInputNode *a2) { char *v3; // x21 char *v4; // x0 char *v5; // x21 char *v6; // x0 char *v7; // x21 int m_groupIDValue; // w0 char *v9; // x2 char *v10; // x21 char *v11; // x0 char *v12; // x21 char *v13; // x0 char *v14; // x21 char *v15; // x0 unsigned int *v16; // x21 int v17; // w0 unsigned int *v18; // x21 int v19; // w1 unsigned int *v20; // x21 int v21; // w1 unsigned int *v22; // x21 int v23; // w1 unsigned int *v24; // x21 int v25; // w1 unsigned int *v26; // x21 int v27; // w1 char *v29; // [xsp+50h] [xbp+50h] BYREF if ( !a1->m_editorLayerEdited ) { if ( a2->getTag(a2) == 1 ) { CCTextInputNode::getString(a2, (__int64)&v29); v7 = v29; m_groupIDValue = atoi(v29); a1->m_groupIDValue = m_groupIDValue; v9 = v7 - 24; if ( v7 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v16 = (unsigned int *)(v7 - 8); do v17 = __ldaxr(v16); while ( __stlxr(v17 - 1, v16) ); } else { v17 = *((_DWORD *)v7 - 2); *((_DWORD *)v7 - 2) = v17 - 1; } if ( v17 <= 0 ) operator delete(v9); m_groupIDValue = a1->m_groupIDValue; } if ( m_groupIDValue > 9999 ) m_groupIDValue = 9999; a1->m_groupIDValue = m_groupIDValue; } else if ( a2->getTag(a2) == 5 ) { CCTextInputNode::getString(a2, (__int64)&v29); v10 = v29; a1->m_editorLayerValue = atoi(v29); v11 = v10 - 24; if ( v10 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v18 = (unsigned int *)(v10 - 8); do v19 = __ldaxr(v18); while ( __stlxr(v19 - 1, v18) ); } else { v19 = *((_DWORD *)v10 - 2); *((_DWORD *)v10 - 2) = v19 - 1; } if ( v19 <= 0 ) operator delete(v11); } SetGroupIDLayer::updateEditorLayerID(a1); } else if ( a2->getTag(a2) == 6 ) { CCTextInputNode::getString(a2, (__int64)&v29); v5 = v29; a1->m_editorLayer2Value = atoi(v29); v6 = v5 - 24; if ( v5 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v20 = (unsigned int *)(v5 - 8); do v21 = __ldaxr(v20); while ( __stlxr(v21 - 1, v20) ); } else { v21 = *((_DWORD *)v5 - 2); *((_DWORD *)v5 - 2) = v21 - 1; } if ( v21 <= 0 ) operator delete(v6); } SetGroupIDLayer::updateEditorLayerID2(a1); } else if ( a2->getTag(a2) == 7 ) { CCTextInputNode::getString(a2, (__int64)&v29); v12 = v29; a1->m_zOrderValue = atoi(v29); v13 = v12 - 24; if ( v12 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v22 = (unsigned int *)(v12 - 8); do v23 = __ldaxr(v22); while ( __stlxr(v23 - 1, v22) ); } else { v23 = *((_DWORD *)v12 - 2); *((_DWORD *)v12 - 2) = v23 - 1; } if ( v23 <= 0 ) operator delete(v13); } SetGroupIDLayer::updateZOrder(a1); } else if ( a2->getTag(a2) == 3 ) { CCTextInputNode::getString(a2, (__int64)&v29); v14 = v29; a1->m_orderValue = atoi(v29); v15 = v14 - 24; if ( v14 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v24 = (unsigned int *)(v14 - 8); do v25 = __ldaxr(v24); while ( __stlxr(v25 - 1, v24) ); } else { v25 = *((_DWORD *)v14 - 2); *((_DWORD *)v14 - 2) = v25 - 1; } if ( v25 <= 0 ) operator delete(v15); } SetGroupIDLayer::updateEditorOrder(a1); } else if ( a2->getTag(a2) == 4 ) { CCTextInputNode::getString(a2, (__int64)&v29); v3 = v29; a1->m_channelValue = atoi(v29); v4 = v3 - 24; if ( v3 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v26 = (unsigned int *)(v3 - 8); do v27 = __ldaxr(v26); while ( __stlxr(v27 - 1, v26) ); } else { v27 = *((_DWORD *)v3 - 2); *((_DWORD *)v3 - 2) = v27 - 1; } if ( v27 <= 0 ) operator delete(v4); } SetGroupIDLayer::updateOrderChannel(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source