// // ColorSelectPopup::colorSelectClosed from 0x3da70c to 0x3da820 (276 bytes) // // 1 xrefs: // > `non-virtual thunk to'ColorSelectPopup::colorSelectClosed @ 0x3da830 // // 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 ColorSelectPopup::colorSelectClosed(ColorSelectPopup *a1, GJSpecialColorSelect *a2, int a3) { CCTextInputNode *m_colorInput; // r9 char *v7; // r2 CCTextInputNode *v8; // r9 char *v9; // r0 CCTextInputNode *m_copyColorInput; // r9 char *v11; // r2 CCTextInputNode *v12; // r9 char *v13; // r0 char *v14; // [sp+8h] [bp-Ch] BYREF if ( a3 >= 1000 ) { if ( a2->getTag(a2) == 6 ) { m_colorInput = a1->m_colorInput; a1->m_colorID = a3; a1->m_disableTextDelegate = 1; sub_776584((int)&v14, "0"); CCTextInputNode::setString((int)m_colorInput, (char *)&v14, v7); sub_774008(&v14); v8 = a1->m_colorInput; v9 = (char *)GJSpecialColorSelect::textForColorIdx(a3); sub_776584((int)&v14, v9); CCTextInputNode::updateLabel((int)v8, &v14); sub_774008(&v14); ColorSelectPopup::updateCustomColorIdx(a1); SetupTriggerPopup::updateEditorLabel(a1); } else { if ( a2->getTag(a2) != 7 ) return; m_copyColorInput = a1->m_copyColorInput; a1->m_copyColorID = a3; a1->m_disableTextDelegate = 1; sub_776584((int)&v14, "0"); CCTextInputNode::setString((int)m_copyColorInput, (char *)&v14, v11); sub_774008(&v14); v12 = a1->m_copyColorInput; v13 = (char *)GJSpecialColorSelect::textForColorIdx(a3); sub_776584((int)&v14, v13); CCTextInputNode::updateLabel((int)v12, &v14); sub_774008(&v14); ColorSelectPopup::updateCopyColor(a1); } a1->m_disableTextDelegate = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source