//
// EditorUI::scrollWheel from 0x10060e190 to 0x10060e265 (213 bytes)
//
// 2 xrefs:
// > sub_10060E360 @ 0x10060e36c
// > ??> @ 0x100ab5148
//
// 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:34:33 +0000
//
bool __fastcall EditorUI::scrollWheel(__int64 a1, float a2, __m128 a3)
{
int v3; // r14d
__int64 v4; // rax
_BOOL8 v5; // rsi
v3 = *(_DWORD *)(*(_QWORD *)(a1 + 1440) + 1972LL);
if ( v3 != 1 )
{
v4 = cocos2d::CCDirector::sharedDirector();
if ( *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4) + 129) == 1 )
{
v5 = a2 <= 0.0 && a3.f32[0] <= 0.0;
EditorUI::zoomGameLayer(a1, v5, 0.0);
}
else
{
_mm_storel_ps(
(double *)(a1 + 1636),
_mm_add_ps(
(__m128)*(unsigned __int64 *)(a1 + 1636),
_mm_mul_ps(
_mm_insert_ps(a3, (__m128)LODWORD(a2), 16),
_mm_moveldup_ps((__m128)*(unsigned int *)(GameManager::sharedState() + 1108)))));
if ( !*(_BYTE *)(a1 + 1644) )
{
cocos2d::CCNode::schedule_2(a1, (__int64)EditorUI::updatePanDecay, 0);
*(_BYTE *)(a1 + 1644) = 1;
}
}
}
return v3 != 1;
}