// // SetGroupIDLayer::onPaste from 0x100316710 to 0x1003167fd (237 bytes) // // 1 xrefs: // > SetGroupIDLayer::init @ 0x100313e70 // // 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::onPaste(SetGroupIDLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // rax unsigned int v3; // r14d ButtonSprite *v4; // r15 ZLayer m_zLayerValue; // r12d const char *v6; // rsi v2 = GameManager::sharedState(); LevelEditorLayer::pasteAttributeState(v2->m_levelEditorLayer, a1->m_targetObject, a1->m_targetObjects); a1->m_editorLayerEdited = 1; SetGroupIDLayer::determineStartValues(a1); SetGroupIDLayer::updateGroupIDLabel(a1); SetGroupIDLayer::updateEditorLabel(a1); SetGroupIDLayer::updateEditorLabel2(a1); SetGroupIDLayer::updateZOrderLabel(a1); if ( (unsigned int)sub_100720070(a1->m_zLayerButtons) ) { v3 = 0; do { v4 = (ButtonSprite *)sub_1007200C0(a1->m_zLayerButtons, v3); m_zLayerValue = a1->m_zLayerValue; v6 = "GJ_button_04.png"; if ( m_zLayerValue == ((unsigned int (__fastcall *)(ButtonSprite *))v4->getTag)(v4) ) v6 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v4, v6); ++v3; } while ( v3 < (unsigned int)sub_100720070(a1->m_zLayerButtons) ); } SetGroupIDLayer::updateGroupIDButtons(a1); a1->m_editorLayerEdited = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source