// // SetGroupIDLayer::textChanged from 0x100317490 to 0x100317899 (1033 bytes) // // 2 xrefs: // > sub_1003178A0 @ 0x1003178ac // > @ 0x100910b98 // // 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) { double v2; // xmm0_8 int m_groupIDValue; // eax int *p_m_editorLayerValue; // r15 GameObject *v5; // rax char *v6; // r14 int v7; // ecx int *p_m_editorLayer2Value; // r15 GameObject *v9; // rax char *v10; // r14 unsigned int v11; // r14d int *p_m_zOrderValue; // r15 char *v13; // r14 unsigned int v14; // r14d char *v15; // r14 GameObject *m_targetObject; // rax unsigned int v17; // r14d __int64 v18; // rax char *v19; // r14 char *v20; // r14 _QWORD v21[2]; // [rsp-38h] [rbp-38h] BYREF char *v22; // [rsp-28h] [rbp-28h] if ( a1->m_editorLayerEdited ) return; if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 1 ) { CCTextInputNode::getString(v21, (__int64)a2, v2); if ( (v21[0] & 1) != 0 ) { v6 = v22; a1->m_groupIDValue = atoi(v22); operator delete(v6); m_groupIDValue = a1->m_groupIDValue; } else { m_groupIDValue = atoi((const char *)v21 + 1); } v7 = 9999; if ( m_groupIDValue < 9999 ) v7 = m_groupIDValue; a1->m_groupIDValue = v7; return; } if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) != 5 ) { if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) != 6 ) { if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 7 ) { CCTextInputNode::getString(v21, (__int64)a2, v2); if ( (v21[0] & 1) != 0 ) { v15 = v22; p_m_zOrderValue = &a1->m_zOrderValue; a1->m_zOrderValue = atoi(v22); operator delete(v15); } else { p_m_zOrderValue = &a1->m_zOrderValue; a1->m_zOrderValue = atoi((const char *)v21 + 1); } m_targetObject = a1->m_targetObject; if ( m_targetObject ) { m_targetObject->m_zOrder = *p_m_zOrderValue; m_targetObject->m_updateParents = 1; } else if ( (unsigned int)sub_100720070(a1->m_targetObjects) ) { v17 = 0; do { v18 = sub_1007200C0(a1->m_targetObjects, v17); *(_DWORD *)(v18 + 1128) = a1->m_zOrderValue; *(_BYTE *)(v18 + 1148) = 1; ++v17; } while ( v17 < (unsigned int)sub_100720070(a1->m_targetObjects) ); } } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 3 ) { CCTextInputNode::getString(v21, (__int64)a2, v2); if ( (v21[0] & 1) != 0 ) { v19 = v22; a1->m_orderValue = atoi(v22); operator delete(v19); } else { a1->m_orderValue = atoi((const char *)v21 + 1); } SetGroupIDLayer::updateEditorOrder(a1); } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 4 ) { CCTextInputNode::getString(v21, (__int64)a2, v2); if ( (v21[0] & 1) != 0 ) { v20 = v22; a1->m_channelValue = atoi(v22); operator delete(v20); } else { a1->m_channelValue = atoi((const char *)v21 + 1); } SetGroupIDLayer::updateOrderChannel(a1); } return; } CCTextInputNode::getString(v21, (__int64)a2, v2); if ( (v21[0] & 1) != 0 ) { v13 = v22; p_m_editorLayer2Value = &a1->m_editorLayer2Value; a1->m_editorLayer2Value = atoi(v22); operator delete(v13); v9 = a1->m_targetObject; if ( v9 ) goto LABEL_17; } else { p_m_editorLayer2Value = &a1->m_editorLayer2Value; a1->m_editorLayer2Value = atoi((const char *)v21 + 1); v9 = a1->m_targetObject; if ( v9 ) { LABEL_17: v9->m_editorLayer2 = *(_WORD *)p_m_editorLayer2Value; return; } } if ( (unsigned int)sub_100720070(a1->m_targetObjects) ) { v14 = 0; do *(_WORD *)(sub_1007200C0(a1->m_targetObjects, v14++) + 1204) = a1->m_editorLayer2Value; while ( v14 < (unsigned int)sub_100720070(a1->m_targetObjects) ); } return; } CCTextInputNode::getString(v21, (__int64)a2, v2); if ( (v21[0] & 1) != 0 ) { v10 = v22; p_m_editorLayerValue = &a1->m_editorLayerValue; a1->m_editorLayerValue = atoi(v22); operator delete(v10); v5 = a1->m_targetObject; if ( v5 ) goto LABEL_8; } else { p_m_editorLayerValue = &a1->m_editorLayerValue; a1->m_editorLayerValue = atoi((const char *)v21 + 1); v5 = a1->m_targetObject; if ( v5 ) { LABEL_8: v5->m_editorLayer = *(_WORD *)p_m_editorLayerValue; return; } } if ( (unsigned int)sub_100720070(a1->m_targetObjects) ) { v11 = 0; do *(_WORD *)(sub_1007200C0(a1->m_targetObjects, v11++) + 1202) = a1->m_editorLayerValue; while ( v11 < (unsigned int)sub_100720070(a1->m_targetObjects) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source