// // SetGroupIDLayer::updateEditorOrderLabel from 0x977118 to 0x97729c (388 bytes) // // 3 xrefs: // > SetGroupIDLayer::init @ 0x978d80 // > SetGroupIDLayer::onArrow @ 0x97a084 // > @ 0x47058 // // 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::updateEditorOrderLabel(SetGroupIDLayer *a1) { const char *m_orderValue; // x1 CCTextInputNode *m_orderInput; // x22 const unsigned __int8 *v4; // x2 unsigned __int8 *v5; // x0 CCTextInputNode *v6; // x22 cocos2d::CCString *v7; // x0 char *CString; // x0 unsigned int *v9; // x2 int v10; // w1 unsigned int *v11; // x2 const unsigned __int8 *v12; // [xsp+40h] [xbp+40h] BYREF m_orderValue = (const char *)(unsigned int)a1->m_orderValue; a1->m_editorLayerEdited = 1; if ( !(_DWORD)m_orderValue ) { m_orderInput = a1->m_orderInput; sub_D153B8((int)&v12, &byte_F288A0); CCTextInputNode::setString(m_orderInput, &v12); v4 = v12; v5 = (unsigned __int8 *)(v12 - 24); if ( v12 - 24 == (const unsigned __int8 *)&qword_124B6B0 ) goto LABEL_3; if ( &pthread_create ) { v11 = (unsigned int *)(v12 - 8); do v10 = __ldaxr(v11); while ( __stlxr(v10 - 1, v11) ); goto LABEL_12; } LABEL_14: v10 = *((_DWORD *)v4 - 2); *((_DWORD *)v4 - 2) = v10 - 1; goto LABEL_12; } v6 = a1->m_orderInput; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_orderValue); CString = (char *)cocos2d::CCString::getCString(v7); sub_D153B8((int)&v12, CString); CCTextInputNode::setString(v6, &v12); v4 = v12; v5 = (unsigned __int8 *)(v12 - 24); if ( v12 - 24 == (const unsigned __int8 *)&qword_124B6B0 ) goto LABEL_3; if ( !&pthread_create ) goto LABEL_14; v9 = (unsigned int *)(v12 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); LABEL_12: if ( v10 <= 0 ) operator delete(v5); LABEL_3: a1->m_editorLayerEdited = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source