// // CustomizeObjectLayer::updateChannelLabel from 0x840d24 to 0x840dcc (168 bytes) // // 8 xrefs: // > CustomizeObjectLayer::textChanged @ 0x8414d0 // > CustomizeObjectLayer::onUpdateCustomColor @ 0x841660 // > CustomizeObjectLayer::onSelectColor @ 0x84181c // > CustomizeObjectLayer::colorSetupClosed @ 0x841890 // > CustomizeObjectLayer::onNextColorChannel @ 0x84192c // > CustomizeObjectLayer::onPaste @ 0x8419d8 // > CustomizeObjectLayer::onSelectMode @ 0x841ccc // > @ 0x6b9a0 // // 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 // // local variable allocation has failed, the output may be wrong! void CustomizeObjectLayer::updateChannelLabel(CustomizeObjectLayer *a1, int a2) { cocos2d::CCString *v3; // x0 const unsigned __int8 *CString; // x0 const unsigned __int8 *v5; // x0 if ( a2 > 999 ) { v5 = (const unsigned __int8 *)GJSpecialColorSelect::textForColorIdx(a2); a1->m_selectedColorLabel->setString(a1->m_selectedColorLabel, v5); } else if ( a2 <= 0 ) { a1->m_selectedColorLabel->setString(a1->m_selectedColorLabel, (const unsigned __int8 *)" "); } else { v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *(const char **)&a2); CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v3); a1->m_selectedColorLabel->setString(a1->m_selectedColorLabel, CString); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source