// // CustomizeObjectLayer::updateCurrentSelection from 0x1001f8450 to 0x1001f8502 (178 bytes) // // 2 xrefs: // > CustomizeObjectLayer::onPaste @ 0x1001f829b // > CustomizeObjectLayer::toggleVisible @ 0x1001f92d0 // // 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 __fastcall CustomizeObjectLayer::updateCurrentSelection(CustomizeObjectLayer *a1) { int ActiveMode; // r14d ButtonSprite *v2; // r15 unsigned int v3; // r12d __int64 v4; // r13 ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 0); if ( (unsigned int)(ActiveMode - 10) <= 0x3DD ) { a1->m_disableTextDelegate = 1; a1->m_customColorChannel = ActiveMode; CustomizeObjectLayer::updateCustomColorLabels(a1); a1->m_disableTextDelegate = 0; ActiveMode = 1008; } v2 = nullptr; if ( (unsigned int)sub_100720070(a1->m_colorButtons) ) { v3 = 0; while ( 1 ) { v4 = sub_1007200C0(a1->m_colorButtons, v3); if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4) == ActiveMode ) break; if ( ++v3 >= (unsigned int)sub_100720070(a1->m_colorButtons) ) goto LABEL_9; } v2 = (ButtonSprite *)v4; } LABEL_9: CustomizeObjectLayer::highlightSelected(a1, v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source