// // EditorUI::setIDPopupClosed from 0x3a2f10 to 0x3a3000 (240 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorUI::setIDPopupClosed @ 0x3a3018 // // 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 EditorUI::setIDPopupClosed(EditorUI *a1, SetIDPopup *a2, int a3) { GameManager *v6; // r0 ButtonSprite *m_deleteGroupSprite; // r4 cocos2d::CCString *v8; // r0 const char *CString; // r0 GameManager *v10; // r0 char *v11; // r0 char *v12; // [sp+4h] [bp-Ch] BYREF int v13; // [sp+8h] [bp-8h] BYREF v12 = (char *)a2; v13 = a3; if ( a2->getTag(a2) == 1 ) { v6 = GameManager::sharedState(); GameManager::setIntGameVariable(v6, "0133", a3); m_deleteGroupSprite = a1->m_deleteGroupSprite; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a3); CString = cocos2d::CCString::getCString(v8); ButtonSprite::setString(m_deleteGroupSprite, CString); } else if ( a2->getTag(a2) == 2 ) { v10 = GameManager::sharedState(); GameManager::setIntGameVariable(v10, "0139", a3); sub_776584((int)&v12, (char *)&unk_939830); if ( a3 < 1000 ) { GameToolbox::intToString((GameToolbox *)&v13, a3); sub_774794(&v12, &v13); sub_774008(&v13); } else { v11 = (char *)GJSpecialColorSelect::textForColorIdx(a3); sub_7753D4((int)&v12, v11); } ButtonSprite::setString(a1->m_deleteColorSprite, v12); sub_774008(&v12); } else if ( a2->getTag(a2) == 3 ) { EditorUI::findAndSelectObject( a1, a3, (bool)a2[1].FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source