//
// EditorUI::scrollWheel from 0x6f1308 to 0x6f13b0 (168 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::scrollWheel @ 0x6f13b8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:35 +0000
//
int __fastcall EditorUI::scrollWheel(EditorUI *this, float a2, float a3)
{
int v6; // r0
GameManager *v7; // r0
_BOOL4 v8; // r1
int result; // r0
float v10; // s14
if ( *(_DWORD *)(*((_DWORD *)this + 236) + 1428) == 1 )
return 0;
v6 = cocos2d::CCDirector::sharedDirector(this);
v7 = (GameManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6);
if ( *((_BYTE *)v7 + 89) )
{
v8 = a2 <= 0.0 && a3 <= 0.0;
EditorUI::zoomGameLayer(this, v8);
return 1;
}
else
{
v10 = *(float *)(GameManager::sharedState(v7) + 888);
*((float *)this + 271) = *((float *)this + 271) + (float)(a3 * v10);
*((float *)this + 272) = *((float *)this + 272) + (float)(a2 * v10);
result = *((unsigned __int8 *)this + 1092);
if ( !*((_BYTE *)this + 1092) )
{
cocos2d::CCNode::schedule(this, EditorUI::updatePanDecay, *((unsigned __int8 *)this + 1092));
*((_BYTE *)this + 1092) = 1;
return 1;
}
}
return result;
}