// // CustomizeObjectLayer::onPaste from 0x1001da780 to 0x1001da81b (155 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x1001d93f6 // // This function is hookable on this platform (idp: pc, 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:26:25 +0000 // __int64 __fastcall CustomizeObjectLayer::onPaste(__int64 a1, __int64 a2, __int64 a3) { char v3; // al __m128 v4; // xmm0 __int64 v5; // rax int ActiveMode; // eax __int64 CString; // rax __int64 v8; // rax const std::string::value_type *v9; // rsi char v11; // [rsp-8h] [rbp-10h] v11 = v3; v4 = GameManager::sharedState(a1, a2, a3); LevelEditorLayer::pasteColorState(*(_QWORD *)(v5 + 552), *(_QWORD *)(a1 + 688), *(_QWORD *)(a1 + 696)); CustomizeObjectLayer::updateCurrentSelection(a1, *(double *)v4.i64); CustomizeObjectLayer::updateColorSprite(a1); ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1); if ( ActiveMode < 1000 ) { if ( ActiveMode <= 0 ) { v9 = " "; goto LABEL_6; } v8 = sub_10088E820("%i", v11); CString = cocos2d::CCString::getCString(v8); } else { CString = GJSpecialColorSelect::textForColorIdx((unsigned int)ActiveMode); } v9 = (const std::string::value_type *)CString; LABEL_6: *(double *)v4.i64 = (*(double (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 808) + 928LL))( *(_QWORD *)(a1 + 808), v9); return CustomizeObjectLayer::updateHSVButtons(a1, v4); }