//
// cocos2d::CCLayer::setMouseEnabled from 0xaeaa6c to 0xaeaadc (112 bytes)
//
// 330 xrefs:
// > TableView::TableView @ 0x57a6b4
// > ??> @ 0x41ee0
// > ??> @ 0x11346e0
// > ??> @ 0x1134d20
// > ??> @ 0x1135290
// > ??> @ 0x1135830
// > ??> @ 0x1135da0
// > ??> @ 0x1136f90
// > ??> @ 0x1138160
// > ??> @ 0x113a300
// > ??> @ 0x113a890
// > ??> @ 0x113af10
// > ??> @ 0x113b520
// > ??> @ 0x113be70
// > ??> @ 0x113c910
// > ??> @ 0x113efc0
// > ??> @ 0x113fc00
// > ??> @ 0x1140270
// > ??> @ 0x1140800
// > ??> @ 0x11412f0
// > ??> @ 0x1143aa0
// > ??> @ 0x11443b0
// > ??> @ 0x1145b10
// > ??> @ 0x11462c0
// > ??> @ 0x11469d0
// > ??> @ 0x1147160
// > ??> @ 0x1147730
// > ??> @ 0x1147d20
// > ??> @ 0x1148960
// > ??> @ 0x114a1f0
// > ??> @ 0x114a8c0
// > ??> @ 0x114b510
// > ??> @ 0x114bb50
// > ??> @ 0x114c0c0
// > ??> @ 0x114c630
// > ??> @ 0x114cba0
// > ??> @ 0x114d110
// > ??> @ 0x114d680
// > ??> @ 0x114dc40
// > ??> @ 0x114e1f0
// > ??> @ 0x114e7b0
// > ??> @ 0x114ed20
// > ??> @ 0x114f290
// > ??> @ 0x114f840
// > ??> @ 0x114fdd0
// > ??> @ 0x1150340
// > ??> @ 0x11508b0
// > ??> @ 0x1150e90
// > ??> @ 0x1151470
// > ??> @ 0x1151a50
// > ??> @ 0x1151fc0
// > ??> @ 0x1152530
// > ??> @ 0x11551d0
// > ??> @ 0x1155a00
// > ??> @ 0x1156af0
// > ??> @ 0x1157300
// > ??> @ 0x1157870
// > ??> @ 0x1157de0
// > ??> @ 0x1158730
// > ??> @ 0x1158e70
// > ??> @ 0x1159460
// > ??> @ 0x115a0f0
// > ??> @ 0x115a700
// > ??> @ 0x115ae10
// > ??> @ 0x115b670
// > ??> @ 0x115bdd0
// > ??> @ 0x115c4f0
// > ??> @ 0x115cba0
// > ??> @ 0x115d280
// > ??> @ 0x115da90
// > ??> @ 0x1160760
// > ??> @ 0x1161160
// > ??> @ 0x1177ac0
// > ??> @ 0x1178200
// > ??> @ 0x1178a50
// > ??> @ 0x1179c20
// > ??> @ 0x117a2f0
// > ??> @ 0x117aa90
// > ??> @ 0x117b060
// > ??> @ 0x117b610
// > ??> @ 0x117c5f0
// > ??> @ 0x117ce30
// > ??> @ 0x117d3a0
// > ??> @ 0x117dac0
// > ??> @ 0x117e210
// > ??> @ 0x117e8c0
// > ??> @ 0x117efc0
// > ??> @ 0x117f690
// > ??> @ 0x1180240
// > ??> @ 0x1180960
// > ??> @ 0x1181080
// > ??> @ 0x1181790
// > ??> @ 0x1181f20
// > ??> @ 0x11825f0
// > ??> @ 0x1182dd0
// > ??> @ 0x1183590
// > ??> @ 0x11840d0
// > ??> @ 0x11847a0
// > ??> @ 0x1184ea0
// > ??> @ 0x1185430
// > ??> @ 0x11859c0
// > ??> @ 0x1185f80
// > ??> @ 0x1186ae0
// > ??> @ 0x1187170
// > ??> @ 0x1187820
// > ??> @ 0x11880c0
// > ??> @ 0x11887c0
// > ??> @ 0x118a7b0
// > ??> @ 0x118af10
// > ??> @ 0x118b5c0
// > ??> @ 0x118bc90
// > ??> @ 0x118c850
// > ??> @ 0x118cfd0
// > ??> @ 0x118dc90
// > ??> @ 0x118e430
// > ??> @ 0x118ec80
// > ??> @ 0x118f400
// > ??> @ 0x118fb80
// > ??> @ 0x1190650
// > ??> @ 0x1191120
// > ??> @ 0x1191840
// > ??> @ 0x1191e00
// > ??> @ 0x1193c30
// > ??> @ 0x11949a0
// > ??> @ 0x1195050
// > ??> @ 0x1195830
// > ??> @ 0x1196010
// > ??> @ 0x1196810
// > ??> @ 0x1197010
// > ??> @ 0x11976c0
// > ??> @ 0x1197dd0
// > ??> @ 0x11984b0
// > ??> @ 0x1198b60
// > ??> @ 0x1199280
// > ??> @ 0x11999d0
// > ??> @ 0x119a160
// > ??> @ 0x119a940
// > ??> @ 0x119b050
// > ??> @ 0x119b780
// > ??> @ 0x119be90
// > ??> @ 0x119c5c0
// > ??> @ 0x119ccd0
// > ??> @ 0x119d760
// > ??> @ 0x119df60
// > ??> @ 0x119e760
// > ??> @ 0x119ef40
// > ??> @ 0x119f640
// > ??> @ 0x119fcf0
// > ??> @ 0x11a0520
// > ??> @ 0x11a1b40
// > ??> @ 0x11a2850
// > ??> @ 0x11a2f20
// > ??> @ 0x11a3720
// > ??> @ 0x11a3f20
// > ??> @ 0x11a4750
// > ??> @ 0x11a5030
// > ??> @ 0x11a5850
// > ??> @ 0x11a6070
// > ??> @ 0x11a68d0
// > ??> @ 0x11a7100
// > ??> @ 0x11a77b0
// > ??> @ 0x11a7eb0
// > ??> @ 0x11a8540
// > ??> @ 0x11a9020
// > ??> @ 0x11a9760
// > ??> @ 0x11a9e50
// > ??> @ 0x11aa590
// > ??> @ 0x11ab160
// > ??> @ 0x11abd10
// > ??> @ 0x11ac450
// > ??> @ 0x11ad1c0
// > ??> @ 0x11ad7a0
// > ??> @ 0x11adfa0
// > ??> @ 0x11ae7b0
// > ??> @ 0x11aef90
// > ??> @ 0x11af830
// > ??> @ 0x11afe10
// > ??> @ 0x11b0ab0
// > ??> @ 0x11b1220
// > ??> @ 0x11b19f0
// > ??> @ 0x11b20f0
// > ??> @ 0x11b2e10
// > ??> @ 0x11b3420
// > ??> @ 0x11b3990
// > ??> @ 0x11b4300
// > ??> @ 0x11b4930
// > ??> @ 0x11b5130
// > ??> @ 0x11b5930
// > ??> @ 0x11b6130
// > ??> @ 0x11b6960
// > ??> @ 0x11b7140
// > ??> @ 0x11b7920
// > ??> @ 0x11b8120
// > ??> @ 0x11b8920
// > ??> @ 0x11b9120
// > ??> @ 0x11b9920
// > ??> @ 0x11ba120
// > ??> @ 0x11ba920
// > ??> @ 0x11bb120
// > ??> @ 0x11bb920
// > ??> @ 0x11bc040
// > ??> @ 0x11bc980
// > ??> @ 0x11bd090
// > ??> @ 0x11bd830
// > ??> @ 0x11bdf40
// > ??> @ 0x11be760
// > ??> @ 0x11bee80
// > ??> @ 0x11bf680
// > ??> @ 0x11bfe80
// > ??> @ 0x11c0690
// > ??> @ 0x11c0e70
// > ??> @ 0x11c1a00
// > ??> @ 0x11c2150
// > ??> @ 0x11c2880
// > ??> @ 0x11c2f90
// > ??> @ 0x11c3b50
// > ??> @ 0x11c4b90
// > ??> @ 0x11c53f0
// > ??> @ 0x11c5c70
// > ??> @ 0x11c6480
// > ??> @ 0x11c6c60
// > ??> @ 0x11c7460
// > ??> @ 0x11c7c60
// > ??> @ 0x11c8290
// > ??> @ 0x11c8a10
// > ??> @ 0x11c9180
// > ??> @ 0x11c98f0
// > ??> @ 0x11ca8a0
// > ??> @ 0x11cafc0
// > ??> @ 0x11cb6f0
// > ??> @ 0x11cbdb0
// > ??> @ 0x11cc490
// > ??> @ 0x11cccd0
// > ??> @ 0x11cd4d0
// > ??> @ 0x11cdce0
// > ??> @ 0x11ce4c0
// > ??> @ 0x11cecc0
// > ??> @ 0x11cf4c0
// > ??> @ 0x11cfa50
// > ??> @ 0x11d0250
// > ??> @ 0x11d0b00
// > ??> @ 0x11d12e0
// > ??> @ 0x11d1ac0
// > ??> @ 0x11d22a0
// > ??> @ 0x11d2a80
// > ??> @ 0x11d3290
// > ??> @ 0x11d3a70
// > ??> @ 0x11d42c0
// > ??> @ 0x11d4af0
// > ??> @ 0x11d5380
// > ??> @ 0x11d5b80
// > ??> @ 0x11d6230
// > ??> @ 0x11d6a10
// > ??> @ 0x11d7220
// > ??> @ 0x11d7a00
// > ??> @ 0x11d8200
// > ??> @ 0x11d8a20
// > ??> @ 0x11d9120
// > ??> @ 0x11da520
// > ??> @ 0x11daab0
// > ??> @ 0x11db5d0
// > ??> @ 0x11dbd70
// > ??> @ 0x11dc420
// > ??> @ 0x11dcad0
// > ??> @ 0x11dd2d0
// > ??> @ 0x11ddb00
// > ??> @ 0x11de2e0
// > ??> @ 0x11deb80
// > ??> @ 0x11df360
// > ??> @ 0x11dfb40
// > ??> @ 0x11e0380
// > ??> @ 0x11e0d70
// > ??> @ 0x11e1550
// > ??> @ 0x11e1d30
// > ??> @ 0x11e2510
// > ??> @ 0x11e2cf0
// > ??> @ 0x11e34d0
// > ??> @ 0x11e3cb0
// > ??> @ 0x11e4490
// > ??> @ 0x11e4c70
// > ??> @ 0x11e5450
// > ??> @ 0x11e5c30
// > ??> @ 0x11e6410
// > ??> @ 0x11e6bf0
// > ??> @ 0x11e73d0
// > ??> @ 0x11e7bb0
// > ??> @ 0x11e8390
// > ??> @ 0x11e8b90
// > ??> @ 0x11e9370
// > ??> @ 0x11e9b70
// > ??> @ 0x11ea370
// > ??> @ 0x11eac00
// > ??> @ 0x11eb3d0
// > ??> @ 0x11ebb90
// > ??> @ 0x11ec2a0
// > ??> @ 0x11eca50
// > ??> @ 0x11ed150
// > ??> @ 0x11edd60
// > ??> @ 0x11ee430
// > ??> @ 0x11eeb20
// > ??> @ 0x11ef350
// > ??> @ 0x11efa60
// > ??> @ 0x11f02f0
// > ??> @ 0x11f09a0
// > ??> @ 0x11f1050
// > ??> @ 0x11f1780
// > ??> @ 0x11f1f60
// > ??> @ 0x11f2740
// > ??> @ 0x11f2f70
// > ??> @ 0x11f37b0
// > ??> @ 0x11f3df0
// > ??> @ 0x11f4360
// > ??> @ 0x11f49b0
// > ??> @ 0x11f5110
// > ??> @ 0x11f58c0
// > ??> @ 0x11f5fb0
// > ??> @ 0x11f66b0
// > ??> @ 0x11f6db0
// > ??> @ 0x11f7ae0
// > ??> @ 0x11f8790
// > ??> @ 0x11f8e70
// > ??> @ 0x11f9590
// > ??> @ 0x11f9c00
// > ??> @ 0x11fa720
// > ??> @ 0x1203ba0
// > ??> @ 0x1204110
// > ??> @ 0x1204770
// > ??> @ 0x1204e20
// > ??> @ 0x1205540
// > ??> @ 0x120e6f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCLayer::setMouseEnabled(cocos2d::CCLayer *a1, bool a2)
{
_BOOL4 v2; // w20
_BOOL4 m_bRunning; // w1
__int64 (*getMouseDispatcher)(void); // x1
cocos2d::CCMouseDispatcher *v6; // x0
v2 = a2;
if ( a1->m_bMouseEnabled != a2 )
{
m_bRunning = a1->m_bRunning;
a1->m_bMouseEnabled = v2;
if ( m_bRunning )
{
getMouseDispatcher = (__int64 (*)(void))cocos2d::CCDirector::sharedDirector()->getMouseDispatcher;
v6 = (cocos2d::CCMouseDispatcher *)getMouseDispatcher();
if ( v2 )
cocos2d::CCMouseDispatcher::addDelegate(v6, &a1->cocos2d::CCMouseDelegate);
else
cocos2d::CCMouseDispatcher::removeDelegate(v6, &a1->cocos2d::CCMouseDelegate);
}
}
}