//
// cocos2d::CCLayer::setMouseEnabled from 0xd5c7cc to 0xd5c83c (112 bytes)
//
// 419 xrefs:
// > TableView::TableView @ 0x695de0
// > ??> @ 0x5e5e8
// > ??> @ 0x1411cb0
// > ??> @ 0x1412310
// > ??> @ 0x14128a0
// > ??> @ 0x1412ec0
// > ??> @ 0x1413480
// > ??> @ 0x14146b0
// > ??> @ 0x14158c0
// > ??> @ 0x1416550
// > ??> @ 0x1418180
// > ??> @ 0x1418750
// > ??> @ 0x1418e20
// > ??> @ 0x1419480
// > ??> @ 0x1419e90
// > ??> @ 0x141ae00
// > ??> @ 0x141d540
// > ??> @ 0x141e1b0
// > ??> @ 0x141e840
// > ??> @ 0x141edf0
// > ??> @ 0x141f890
// > ??> @ 0x141fed0
// > ??> @ 0x1422730
// > ??> @ 0x1423070
// > ??> @ 0x1425020
// > ??> @ 0x1425790
// > ??> @ 0x1425f80
// > ??> @ 0x1426710
// > ??> @ 0x1426fb0
// > ??> @ 0x1427620
// > ??> @ 0x1427c40
// > ??> @ 0x1428890
// > ??> @ 0x1429a90
// > ??> @ 0x142a1f0
// > ??> @ 0x142ae70
// > ??> @ 0x142b4d0
// > ??> @ 0x142ba60
// > ??> @ 0x142bff0
// > ??> @ 0x142c580
// > ??> @ 0x142cb10
// > ??> @ 0x142d0a0
// > ??> @ 0x142d680
// > ??> @ 0x142dcc0
// > ??> @ 0x142e2a0
// > ??> @ 0x142e830
// > ??> @ 0x142edc0
// > ??> @ 0x142f390
// > ??> @ 0x142f940
// > ??> @ 0x142fed0
// > ??> @ 0x1430460
// > ??> @ 0x14309f0
// > ??> @ 0x1430f80
// > ??> @ 0x1431a10
// > ??> @ 0x1431fc0
// > ??> @ 0x14325c0
// > ??> @ 0x1432b50
// > ??> @ 0x14330e0
// > ??> @ 0x1435df0
// > ??> @ 0x1436660
// > ??> @ 0x14371c0
// > ??> @ 0x1437fb0
// > ??> @ 0x1438760
// > ??> @ 0x1438f20
// > ??> @ 0x1439750
// > ??> @ 0x1439da0
// > ??> @ 0x143aa00
// > ??> @ 0x143b030
// > ??> @ 0x143b770
// > ??> @ 0x143c0a0
// > ??> @ 0x143c900
// > ??> @ 0x143d0a0
// > ??> @ 0x143d7e0
// > ??> @ 0x143df50
// > ??> @ 0x143e7e0
// > ??> @ 0x1441ce0
// > ??> @ 0x14426b0
// > ??> @ 0x1459b50
// > ??> @ 0x145a2d0
// > ??> @ 0x145ab40
// > ??> @ 0x145bd50
// > ??> @ 0x145c4b0
// > ??> @ 0x145cce0
// > ??> @ 0x145d2d0
// > ??> @ 0x145d8a0
// > ??> @ 0x145e8c0
// > ??> @ 0x145f1d0
// > ??> @ 0x145f760
// > ??> @ 0x145fec0
// > ??> @ 0x1460640
// > ??> @ 0x1460d80
// > ??> @ 0x14614c0
// > ??> @ 0x1461c00
// > ??> @ 0x1462340
// > ??> @ 0x1462b00
// > ??> @ 0x14636e0
// > ??> @ 0x1463e20
// > ??> @ 0x1464560
// > ??> @ 0x1464d00
// > ??> @ 0x14654b0
// > ??> @ 0x1465c10
// > ??> @ 0x1466430
// > ??> @ 0x1466cb0
// > ??> @ 0x1467900
// > ??> @ 0x1468060
// > ??> @ 0x14687f0
// > ??> @ 0x1468da0
// > ??> @ 0x1469350
// > ??> @ 0x1469930
// > ??> @ 0x146a4c0
// > ??> @ 0x146ac20
// > ??> @ 0x146b360
// > ??> @ 0x146bc10
// > ??> @ 0x146c490
// > ??> @ 0x146cd30
// > ??> @ 0x146d4c0
// > ??> @ 0x146f6a0
// > ??> @ 0x146fe30
// > ??> @ 0x1470570
// > ??> @ 0x1470cb0
// > ??> @ 0x14718f0
// > ??> @ 0x14720b0
// > ??> @ 0x1472db0
// > ??> @ 0x1473570
// > ??> @ 0x1473dc0
// > ??> @ 0x1474570
// > ??> @ 0x1474df0
// > ??> @ 0x14756c0
// > ??> @ 0x14761e0
// > ??> @ 0x1476920
// > ??> @ 0x1476f00
// > ??> @ 0x1479140
// > ??> @ 0x1479ef0
// > ??> @ 0x147a630
// > ??> @ 0x147ae40
// > ??> @ 0x147b650
// > ??> @ 0x147be80
// > ??> @ 0x147c6b0
// > ??> @ 0x147cd80
// > ??> @ 0x147d4c0
// > ??> @ 0x147dc00
// > ??> @ 0x147e370
// > ??> @ 0x147eab0
// > ??> @ 0x147f260
// > ??> @ 0x147fa40
// > ??> @ 0x1480200
// > ??> @ 0x1480a10
// > ??> @ 0x1481160
// > ??> @ 0x14818d0
// > ??> @ 0x1482040
// > ??> @ 0x14827c0
// > ??> @ 0x14832f0
// > ??> @ 0x1483b20
// > ??> @ 0x1484370
// > ??> @ 0x1484b80
// > ??> @ 0x14852a0
// > ??> @ 0x14859e0
// > ??> @ 0x1486240
// > ??> @ 0x1487930
// > ??> @ 0x1488680
// > ??> @ 0x1488de0
// > ??> @ 0x1489610
// > ??> @ 0x1489e40
// > ??> @ 0x148a6a0
// > ??> @ 0x148afb0
// > ??> @ 0x148b8b0
// > ??> @ 0x148c550
// > ??> @ 0x148ced0
// > ??> @ 0x148d7c0
// > ??> @ 0x148df00
// > ??> @ 0x148e640
// > ??> @ 0x148edd0
// > ??> @ 0x148f480
// > ??> @ 0x148ffe0
// > ??> @ 0x1490810
// > ??> @ 0x1490f80
// > ??> @ 0x1491700
// > ??> @ 0x1492300
// > ??> @ 0x1492f50
// > ??> @ 0x14936b0
// > ??> @ 0x1494460
// > ??> @ 0x1494a60
// > ??> @ 0x1495290
// > ??> @ 0x1495ac0
// > ??> @ 0x1496390
// > ??> @ 0x1496990
// > ??> @ 0x14976d0
// > ??> @ 0x1497ed0
// > ??> @ 0x1498730
// > ??> @ 0x1498ec0
// > ??> @ 0x1499c80
// > ??> @ 0x149a2b0
// > ??> @ 0x149a840
// > ??> @ 0x149b1e0
// > ??> @ 0x149b830
// > ??> @ 0x149c060
// > ??> @ 0x149c890
// > ??> @ 0x149d0c0
// > ??> @ 0x149d920
// > ??> @ 0x149e130
// > ??> @ 0x149e940
// > ??> @ 0x149f170
// > ??> @ 0x149f9a0
// > ??> @ 0x14a01d0
// > ??> @ 0x14a0a00
// > ??> @ 0x14a1230
// > ??> @ 0x14a1a60
// > ??> @ 0x14a2290
// > ??> @ 0x14a2ac0
// > ??> @ 0x14a3270
// > ??> @ 0x14a3be0
// > ??> @ 0x14a4380
// > ??> @ 0x14a4ba0
// > ??> @ 0x14a5340
// > ??> @ 0x14a5b70
// > ??> @ 0x14a62d0
// > ??> @ 0x14a6b00
// > ??> @ 0x14a7330
// > ??> @ 0x14a7b70
// > ??> @ 0x14a8380
// > ??> @ 0x14a8f50
// > ??> @ 0x14a9700
// > ??> @ 0x14a9e70
// > ??> @ 0x14aa5c0
// > ??> @ 0x14ab1c0
// > ??> @ 0x14ac250
// > ??> @ 0x14acae0
// > ??> @ 0x14ad3a0
// > ??> @ 0x14adbe0
// > ??> @ 0x14ae3f0
// > ??> @ 0x14aec20
// > ??> @ 0x14af450
// > ??> @ 0x14afa80
// > ??> @ 0x14b0230
// > ??> @ 0x14b09d0
// > ??> @ 0x14b1160
// > ??> @ 0x14b2130
// > ??> @ 0x14b2890
// > ??> @ 0x14b3000
// > ??> @ 0x14b3740
// > ??> @ 0x14b3ea0
// > ??> @ 0x14b4700
// > ??> @ 0x14b4f30
// > ??> @ 0x14b5770
// > ??> @ 0x14b5f80
// > ??> @ 0x14b67b0
// > ??> @ 0x14b6fe0
// > ??> @ 0x14b7590
// > ??> @ 0x14b7dc0
// > ??> @ 0x14b86a0
// > ??> @ 0x14b8eb0
// > ??> @ 0x14b96c0
// > ??> @ 0x14b9ed0
// > ??> @ 0x14ba6e0
// > ??> @ 0x14baf20
// > ??> @ 0x14bb730
// > ??> @ 0x14bbfb0
// > ??> @ 0x14bc810
// > ??> @ 0x14bd0d0
// > ??> @ 0x14bd900
// > ??> @ 0x14be040
// > ??> @ 0x14be850
// > ??> @ 0x14bf090
// > ??> @ 0x14bf8a0
// > ??> @ 0x14c00d0
// > ??> @ 0x14c0920
// > ??> @ 0x14c10a0
// > ??> @ 0x14c2560
// > ??> @ 0x14c2b10
// > ??> @ 0x14c3560
// > ??> @ 0x14c3d10
// > ??> @ 0x14c44f0
// > ??> @ 0x14c4c30
// > ??> @ 0x14c5370
// > ??> @ 0x14c5ba0
// > ??> @ 0x14c63d0
// > ??> @ 0x14c6c10
// > ??> @ 0x14c7420
// > ??> @ 0x14c7cf0
// > ??> @ 0x14c8500
// > ??> @ 0x14c8d10
// > ??> @ 0x14c95c0
// > ??> @ 0x14c9ff0
// > ??> @ 0x14ca800
// > ??> @ 0x14cb010
// > ??> @ 0x14cb820
// > ??> @ 0x14cc030
// > ??> @ 0x14cc840
// > ??> @ 0x14cd050
// > ??> @ 0x14cd860
// > ??> @ 0x14ce070
// > ??> @ 0x14ce880
// > ??> @ 0x14cf090
// > ??> @ 0x14cf8a0
// > ??> @ 0x14d00b0
// > ??> @ 0x14d08c0
// > ??> @ 0x14d10d0
// > ??> @ 0x14d18e0
// > ??> @ 0x14d2110
// > ??> @ 0x14d2920
// > ??> @ 0x14d3150
// > ??> @ 0x14d3960
// > ??> @ 0x14d4190
// > ??> @ 0x14d4a80
// > ??> @ 0x14d5310
// > ??> @ 0x14d5ad0
// > ??> @ 0x14d6260
// > ??> @ 0x14d6b40
// > ??> @ 0x14d7430
// > ??> @ 0x14d7c60
// > ??> @ 0x14d83c0
// > ??> @ 0x14d8b20
// > ??> @ 0x14d92b0
// > ??> @ 0x14d9ef0
// > ??> @ 0x14da640
// > ??> @ 0x14dadb0
// > ??> @ 0x14db680
// > ??> @ 0x14dbdd0
// > ??> @ 0x14dc6d0
// > ??> @ 0x14dce10
// > ??> @ 0x14dd550
// > ??> @ 0x14ddd10
// > ??> @ 0x14de520
// > ??> @ 0x14ded30
// > ??> @ 0x14df590
// > ??> @ 0x14dfe90
// > ??> @ 0x14e04f0
// > ??> @ 0x14e0a80
// > ??> @ 0x14e1030
// > ??> @ 0x14e1db0
// > ??> @ 0x14e2340
// > ??> @ 0x14e28d0
// > ??> @ 0x14e2e80
// > ??> @ 0x14e3550
// > ??> @ 0x14e4610
// > ??> @ 0x14e4d50
// > ??> @ 0x14e5590
// > ??> @ 0x14e5d20
// > ??> @ 0x14e64a0
// > ??> @ 0x14e6fe0
// > ??> @ 0x14e77f0
// > ??> @ 0x14e82e0
// > ??> @ 0x14e8c80
// > ??> @ 0x14e9420
// > ??> @ 0x14e9c70
// > ??> @ 0x14ea450
// > ??> @ 0x14eac00
// > ??> @ 0x14eb430
// > ??> @ 0x14ec0d0
// > ??> @ 0x14ec960
// > ??> @ 0x14ed240
// > ??> @ 0x14eda70
// > ??> @ 0x14ee1f0
// > ??> @ 0x14ee9d0
// > ??> @ 0x14ef1e0
// > ??> @ 0x14efac0
// > ??> @ 0x14f0390
// > ??> @ 0x14f0c80
// > ??> @ 0x14f14a0
// > ??> @ 0x14f1d70
// > ??> @ 0x14f2580
// > ??> @ 0x14f2e90
// > ??> @ 0x14f3640
// > ??> @ 0x14f3df0
// > ??> @ 0x14f46d0
// > ??> @ 0x14f4e30
// > ??> @ 0x14f56b0
// > ??> @ 0x14f6580
// > ??> @ 0x14f75a0
// > ??> @ 0x14f7df0
// > ??> @ 0x14f8640
// > ??> @ 0x14f8ec0
// > ??> @ 0x14f9a90
// > ??> @ 0x14fa1f0
// > ??> @ 0x14faa40
// > ??> @ 0x14fb270
// > ??> @ 0x14fbad0
// > ??> @ 0x14fc300
// > ??> @ 0x14fcb70
// > ??> @ 0x14fd3c0
// > ??> @ 0x14fdca0
// > ??> @ 0x14fe5b0
// > ??> @ 0x14fecc0
// > ??> @ 0x14ff680
// > ??> @ 0x14fff40
// > ??> @ 0x15007a0
// > ??> @ 0x1501000
// > ??> @ 0x1501780
// > ??> @ 0x1502380
// > ??> @ 0x1502bf0
// > ??> @ 0x15038a0
// > ??> @ 0x1504020
// > ??> @ 0x15049d0
// > ??> @ 0x1505240
// > ??> @ 0x1505a20
// > ??> @ 0x1506310
// > ??> @ 0x1506af0
// > ??> @ 0x1507320
// > ??> @ 0x1507b80
// > ??> @ 0x1508110
// > ??> @ 0x1508c90
// > ??> @ 0x15094a0
// > ??> @ 0x150a140
// > ??> @ 0x150a8c0
// > ??> @ 0x150b090
// > ??> @ 0x150b7a0
// > ??> @ 0x150bec0
// > ??> @ 0x150c5e0
// > ??> @ 0x150d340
// > ??> @ 0x150e020
// > ??> @ 0x150e720
// > ??> @ 0x150ee60
// > ??> @ 0x150f4f0
// > ??> @ 0x1510040
// > ??> @ 0x1519550
// > ??> @ 0x1519ae0
// > ??> @ 0x151a160
// > ??> @ 0x151a830
// > ??> @ 0x151af70
// > ??> @ 0x1524390
//
// 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:07:48 +0000
//
unsigned __int8 *__fastcall cocos2d::CCLayer::setMouseEnabled(unsigned __int8 *this, unsigned __int8 a2)
{
int v2; // w20
int v3; // w1
unsigned __int8 *v4; // x19
__int64 (*v5)(void); // x1
cocos2d::CCMouseDispatcher *v6; // x0
v2 = a2;
if ( *(this + 364) != a2 )
{
v3 = *(this + 272);
*(this + 364) = v2;
if ( v3 )
{
v4 = this;
v5 = *(__int64 (**)(void))(*(_QWORD *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 208LL);
v6 = (cocos2d::CCMouseDispatcher *)v5();
if ( v2 )
return (unsigned __int8 *)cocos2d::CCMouseDispatcher::addDelegate(v6, (cocos2d::CCMouseDelegate *)(v4 + 352));
else
return (unsigned __int8 *)cocos2d::CCMouseDispatcher::removeDelegate(v6, (cocos2d::CCMouseDelegate *)(v4 + 352));
}
}
return this;
}