// // SetGroupIDLayer::updateEditorLabel2 from 0x976d9c to 0x976ec4 (296 bytes) // // 5 xrefs: // > SetGroupIDLayer::onPaste @ 0x977598 // > SetGroupIDLayer::init @ 0x978e98 // > SetGroupIDLayer::onArrow @ 0x97a0ec // > SetGroupIDLayer::onNextFreeEditorLayer2 @ 0x97ce5c // > @ 0x48cd8 // // 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::updateEditorLabel2(SetGroupIDLayer *a1) { const char *m_editorLayer2Value; // x1 cocos2d::CCString *v3; // x0 char *CString; // x1 CCTextInputNode *m_editorLayer2Input; // x22 unsigned __int8 *v6; // x0 unsigned int *v7; // x2 int v8; // w1 const unsigned __int8 *v9; // [xsp+40h] [xbp+40h] BYREF m_editorLayer2Value = (const char *)(unsigned int)a1->m_editorLayer2Value; a1->m_editorLayerEdited = 1; if ( ((unsigned int)m_editorLayer2Value & 0x80000000) != 0 ) { CString = &byte_F288A0; } else { v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", m_editorLayer2Value); CString = (char *)cocos2d::CCString::getCString(v3); } m_editorLayer2Input = a1->m_editorLayer2Input; sub_D153B8((int)&v9, CString); CCTextInputNode::setString(m_editorLayer2Input, &v9); v6 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v9 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *((_DWORD *)v9 - 2); *((_DWORD *)v9 - 2) = v8 - 1; } if ( v8 <= 0 ) operator delete(v6); } a1->m_editorLayerEdited = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source