// // SetupPulsePopup::updateCopyColorTextInputLabel from 0x5ecf8c to 0x5ed04a (190 bytes) // // 2 xrefs: // > SetupPulsePopup::onUpdateCopyColor @ 0x5ed0a2 // > SetupPulsePopup::init @ 0x5ef0ec // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:54:24 +0000 // GJSpecialColorSelect *__fastcall SetupPulsePopup::updateCopyColorTextInputLabel( SetupPulsePopup *this, int a2, int a3, int a4) { cocos2d::CCString *v5; // r0 const char *CString; // r7 size_t v7; // r0 int v8; // r8 int v9; // r1 GJSpecialColorSelect *result; // r0 float *v11; // r7 const char *v12; // r0 const char *v13; // r8 size_t v14; // r0 SetupPulsePopup *v15; // [sp+0h] [bp-10h] BYREF int v16; // [sp+4h] [bp-Ch] int v17; // [sp+8h] [bp-8h] int v18; // [sp+Ch] [bp-4h] v15 = this; v16 = a2; v17 = a3; v18 = a4; *((_BYTE *)this + 568) = 1; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *((const char **)this + 211)); CString = (const char *)cocos2d::CCString::getCString(v5); if ( *((int *)this + 211) >= 1000 ) CString = "0"; v15 = nullptr; v16 = 0; v17 = 0; v7 = strlen(CString); v8 = *((_DWORD *)this + 202); std::string::__init((int *)&v15, CString, v7); CCTextInputNode::setString(v8, (int)&v15); std::string::~string((int)&v15); result = *((GJSpecialColorSelect **)this + 211); if ( (int)result >= 1000 ) { v11 = *((float **)this + 202); v12 = GJSpecialColorSelect::textForColorIdx(result, v9); v15 = nullptr; v16 = 0; v17 = 0; v13 = v12; v14 = strlen(v12); std::string::__init((int *)&v15, v13, v14); CCTextInputNode::updateLabel(v11, (int)&v15); result = (GJSpecialColorSelect *)std::string::~string((int)&v15); } *((_BYTE *)this + 568) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source