//
// cocos2d::CCMouseDispatcher::dispatchScrollMSG from 0xdb4430 to 0xdb44f0 (192 bytes)
//
// 2 xrefs:
// > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeScroll @ 0xd81ab0
// > ??> @ 0xa10e0
//
// 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 13:08:41 +0000
//
__int64 __fastcall cocos2d::CCMouseDispatcher::dispatchScrollMSG(cocos2d::CCArray **this, float a2, float a3)
{
cocos2d::CCDirector *v6; // x0
cocos2d::CCArray *v7; // x0
unsigned int v8; // w19
int i; // w22
cocos2d::CCArray *v10; // x20
int v11; // w0
int v12; // w1
cocos2d::CCMouseHandler *v13; // x0
__int64 Delegate; // x0
v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
cocos2d::CCDirector::noteInput(v6);
v7 = *(this + 7);
*((_BYTE *)this + 64) = 1;
if ( (unsigned int)cocos2d::CCArray::count(v7) )
{
v8 = 0;
for ( i = 0;
v8 < (unsigned int)cocos2d::CCArray::count(*(this + 7));
i = (*(unsigned __int8 (__fastcall **)(__int64, float, float))(*(_QWORD *)Delegate + 16LL))(Delegate, a2, a3) )
{
v10 = *(this + 7);
v11 = cocos2d::CCArray::count(v10);
v12 = ~v8++;
v13 = (cocos2d::CCMouseHandler *)cocos2d::CCArray::objectAtIndex(v10, v11 + v12);
if ( i || !v13 )
break;
Delegate = cocos2d::CCMouseHandler::getDelegate(v13);
}
}
*((_BYTE *)this + 64) = 0;
cocos2d::CCMouseDispatcher::flushPendingDelegates((cocos2d::CCMouseDispatcher *)this);
return 1;
}