// // EditorUI::updateSlider from 0x100009200 to 0x1000092b4 (180 bytes) // // 6 xrefs: // > LevelEditorLayer::init @ 0x1000aade5 // > LevelEditorLayer::init @ 0x1000aae1f // > LevelEditorLayer::onStopPlaytest @ 0x1000c7196 // > EditorUI::ccTouchMoved @ 0x10060a4e7 // > sub_10060DCB0 @ 0x10060df25 // > EditorUI::updatePanDecay @ 0x10060e30a // // 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:18:48 +0000 // __int64 __fastcall EditorUI::updateSlider(__int64 a1) { int SectionCount; // eax int v2; // ecx double v3; // xmm1_8 float v5; // [rsp+Ch] [rbp-14h] float XMin; // [rsp+10h] [rbp-10h] v5 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL)); XMin = EditorUI::getXMin(a1, 0); SectionCount = LevelEditorLayer::getSectionCount(*(_QWORD *)(a1 + 1440)); v2 = 100; if ( SectionCount >= 101 ) v2 = SectionCount; *(_QWORD *)&v3 = LODWORD(v5); *(float *)&v3 = fminf( fmaxf( (float)(v5 - XMin) / (float)((*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1440) + 3920LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL)) * (float)((float)v2 * -100.0)), 0.0), 1.0); return Slider::setValue(*(_QWORD *)(a1 + 840), v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source