// // SetGroupIDLayer::updateOrderChannelLabel from 0x97729c to 0x977420 (388 bytes) // // 4 xrefs: // > SetGroupIDLayer::init @ 0x978de4 // > SetGroupIDLayer::onArrow @ 0x97a0ac // > SetGroupIDLayer::onNextFreeOrderChannel @ 0x97cf64 // > @ 0xae378 // // 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::updateOrderChannelLabel(SetGroupIDLayer *a1) { const char *m_channelValue; // x1 CCTextInputNode *m_channelInput; // 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_channelValue = (const char *)(unsigned int)a1->m_channelValue; a1->m_editorLayerEdited = 1; if ( !(_DWORD)m_channelValue ) { m_channelInput = a1->m_channelInput; sub_D153B8((int)&v12, &byte_F288A0); CCTextInputNode::setString(m_channelInput, &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_channelInput; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_channelValue); 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