// // CustomizeObjectLayer::highlightSelected from 0x100058e28 to 0x100058f44 (284 bytes) // // 4 xrefs: // > CustomizeObjectLayer::onSelectColor @ 0x1000582cc // > CustomizeObjectLayer::onNextColorChannel @ 0x1000587b0 // > CustomizeObjectLayer::updateCurrentSelection @ 0x1000589d4 // > CustomizeObjectLayer::colorSetupClosed @ 0x100058cf4 // // 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 10:57:47 +0000 // __int64 __fastcall CustomizeObjectLayer::highlightSelected(__int64 a1, __int64 a2) { __int64 v4; // x21 __int64 v5; // x22 const char *v6; // x1 if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 704)) ) { v4 = 0; do { v5 = sub_1002E75A0(*(_QWORD *)(a1 + 704), v4); if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v5 + 64LL))(v5) == 1008 ) v6 = "GJ_button_05.png"; else v6 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v5, v6); v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 704)) ); } if ( a2 ) { ButtonSprite::updateBGImage(a2, "GJ_button_02.png"); a2 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1008; } (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 872) + 344LL))(*(_QWORD *)(a1 + 872), a2); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 880) + 344LL))(*(_QWORD *)(a1 + 880), a2); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 816) + 1000LL))(*(_QWORD *)(a1 + 816), a2); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 816) + 344LL))(*(_QWORD *)(a1 + 816), a2); return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 344LL))(*(_QWORD *)(a1 + 888), a2); }