// // CustomizeObjectLayer::updateCustomColorLabels from 0x983818 to 0x98394c (308 bytes) // // 6 xrefs: // > CustomizeObjectLayer::onUpdateCustomColor @ 0x983b48 // > CustomizeObjectLayer::colorSetupClosed @ 0x983d6c // > CustomizeObjectLayer::onNextColorChannel @ 0x983df8 // > CustomizeObjectLayer::updateCurrentSelection @ 0x983e7c // > CustomizeObjectLayer::init @ 0x9860c4 // > @ 0x743b0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:57:52 +0000 // __int64 __fastcall CustomizeObjectLayer::updateCustomColorLabels(ButtonSprite **this) { cocos2d::CCString *v2; // x0 const char *CString; // x23 size_t v4; // x0 size_t v5; // x19 _QWORD *v6; // x24 unsigned __int64 v7; // x0 char *v8; // x3 __int64 v10; // [xsp+40h] [xbp+40h] BYREF size_t v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)*((unsigned int *)this + 187)); CString = (const char *)cocos2d::CCString::getCString(v2); ButtonSprite::setString(*(this + 107), CString); v10 = 0; v11 = 0; v12 = nullptr; v4 = strlen(CString); v5 = v4; v6 = *(this + 102); if ( v4 > 0xFFFFFFFFFFFFFFEFLL ) sub_62D57C(); if ( v4 > 0x16 ) { v7 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v10 = v7 | 1; v8 = (char *)operator new(v7); v12 = v8; v11 = v5; LABEL_4: v8 = (char *)memcpy(v8, CString, v5); goto LABEL_5; } LOBYTE(v10) = 2 * v4; v8 = (char *)&v10 + 1; if ( v4 ) goto LABEL_4; LABEL_5: v8[v5] = 0; CCTextInputNode::setString(v6, (char *)&v10); if ( (v10 & 1) != 0 ) operator delete(v12); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source