//
// cocos2d::CCLayer::setKeypadEnabled from 0x100148a70 to 0x100148ae8 (120 bytes)
//
// 299 xrefs:
// > ??> @ 0x100762948
// > ??> @ 0x100764198
// > ??> @ 0x100764990
// > ??> @ 0x100765240
// > ??> @ 0x1007657e0
// > ??> @ 0x100765d70
// > ??> @ 0x100766568
// > ??> @ 0x100766d60
// > ??> @ 0x100767558
// > ??> @ 0x100768480
// > ??> @ 0x100768fb0
// > ??> @ 0x1007695b0
// > ??> @ 0x100769da8
// > ??> @ 0x10076a5a0
// > ??> @ 0x10076ad98
// > ??> @ 0x10076b590
// > ??> @ 0x10076bde0
// > ??> @ 0x10076c5d8
// > ??> @ 0x10076d390
// > ??> @ 0x10076dab8
// > ??> @ 0x10076e260
// > ??> @ 0x10076f2c0
// > ??> @ 0x10076fb48
// > ??> @ 0x100770688
// > ??> @ 0x100771398
// > ??> @ 0x100771b98
// > ??> @ 0x100772390
// > ??> @ 0x1007729a0
// > ??> @ 0x1007730a8
// > ??> @ 0x100774be8
// > ??> @ 0x100775850
// > ??> @ 0x100775f18
// > ??> @ 0x100776760
// > ??> @ 0x100776f58
// > ??> @ 0x100777750
// > ??> @ 0x100778450
// > ??> @ 0x100778b68
// > ??> @ 0x100779298
// > ??> @ 0x100779950
// > ??> @ 0x10077a0d8
// > ??> @ 0x10077a7a0
// > ??> @ 0x10077aee0
// > ??> @ 0x10077c150
// > ??> @ 0x10077c810
// > ??> @ 0x10077cf78
// > ??> @ 0x10077d6f0
// > ??> @ 0x10077e038
// > ??> @ 0x10077e788
// > ??> @ 0x10077ee98
// > ??> @ 0x100781a40
// > ??> @ 0x100782438
// > ??> @ 0x100782b10
// > ??> @ 0x100783258
// > ??> @ 0x100783908
// > ??> @ 0x100784000
// > ??> @ 0x1007846b0
// > ??> @ 0x100784f90
// > ??> @ 0x100785788
// > ??> @ 0x1007863f0
// > ??> @ 0x100786be8
// > ??> @ 0x100787b50
// > ??> @ 0x100788250
// > ??> @ 0x1007887c0
// > ??> @ 0x100788d30
// > ??> @ 0x1007892a0
// > ??> @ 0x100789810
// > ??> @ 0x100789d80
// > ??> @ 0x10078a340
// > ??> @ 0x10078a8e8
// > ??> @ 0x10078aea8
// > ??> @ 0x10078b418
// > ??> @ 0x10078b988
// > ??> @ 0x10078bf38
// > ??> @ 0x10078c4c8
// > ??> @ 0x10078ca38
// > ??> @ 0x10078cfa8
// > ??> @ 0x10078d588
// > ??> @ 0x10078db68
// > ??> @ 0x10078e148
// > ??> @ 0x10078e6b8
// > ??> @ 0x10078ec28
// > ??> @ 0x10078f198
// > ??> @ 0x10078fca8
// > ??> @ 0x100791550
// > ??> @ 0x100791d38
// > ??> @ 0x1007922c0
// > ??> @ 0x100792cb0
// > ??> @ 0x100793570
// > ??> @ 0x1007941b8
// > ??> @ 0x100794d20
// > ??> @ 0x1007954e8
// > ??> @ 0x100795bb0
// > ??> @ 0x1007962b8
// > ??> @ 0x100796a20
// > ??> @ 0x100797218
// > ??> @ 0x100797788
// > ??> @ 0x100797de8
// > ??> @ 0x100798598
// > ??> @ 0x100798cc8
// > ??> @ 0x1007992a0
// > ??> @ 0x10079a0b8
// > ??> @ 0x10079b750
// > ??> @ 0x10079c1f0
// > ??> @ 0x10079c988
// > ??> @ 0x10079d538
// > ??> @ 0x10079daf0
// > ??> @ 0x10079e320
// > ??> @ 0x10079e9e8
// > ??> @ 0x10079fa10
// > ??> @ 0x1007a08a0
// > ??> @ 0x1007a1040
// > ??> @ 0x1007a16f0
// > ??> @ 0x1007a1e68
// > ??> @ 0x1007a2678
// > ??> @ 0x1007a2f08
// > ??> @ 0x1007a3700
// > ??> @ 0x1007a3ef8
// > ??> @ 0x1007a4790
// > ??> @ 0x1007a4f88
// > ??> @ 0x1007a63e0
// > ??> @ 0x1007a6b10
// > ??> @ 0x1007a71d0
// > ??> @ 0x1007a7e90
// > ??> @ 0x1007a8da0
// > ??> @ 0x1007a96a0
// > ??> @ 0x1007a9d68
// > ??> @ 0x1007aa4c8
// > ??> @ 0x1007aacc0
// > ??> @ 0x1007ab4b8
// > ??> @ 0x1007abf48
// > ??> @ 0x1007ac640
// > ??> @ 0x1007adaa0
// > ??> @ 0x1007ae1d8
// > ??> @ 0x1007af4e0
// > ??> @ 0x1007afbc0
// > ??> @ 0x1007b0300
// > ??> @ 0x1007b0b58
// > ??> @ 0x1007b1450
// > ??> @ 0x1007b1bb8
// > ??> @ 0x1007b2398
// > ??> @ 0x1007b2bc0
// > ??> @ 0x1007b3970
// > ??> @ 0x1007b4168
// > ??> @ 0x1007b4828
// > ??> @ 0x1007b53c8
// > ??> @ 0x1007b5bc0
// > ??> @ 0x1007b6288
// > ??> @ 0x1007b6978
// > ??> @ 0x1007b7750
// > ??> @ 0x1007b8008
// > ??> @ 0x1007b8708
// > ??> @ 0x1007b97c0
// > ??> @ 0x1007ba6a8
// > ??> @ 0x1007bbda0
// > ??> @ 0x1007bc3e0
// > ??> @ 0x1007bc950
// > ??> @ 0x1007bcf58
// > ??> @ 0x1007bd750
// > ??> @ 0x1007bdf00
// > ??> @ 0x1007be810
// > ??> @ 0x1007befc8
// > ??> @ 0x1007bfc70
// > ??> @ 0x1007c02f8
// > ??> @ 0x1007c0ac0
// > ??> @ 0x1007c1210
// > ??> @ 0x1007c17e0
// > ??> @ 0x1007c2520
// > ??> @ 0x1007c4db0
// > ??> @ 0x1007c55a8
// > ??> @ 0x1007c5da0
// > ??> @ 0x1007c6598
// > ??> @ 0x1007c6d90
// > ??> @ 0x1007c8830
// > ??> @ 0x1007caae0
// > ??> @ 0x1007cb1f0
// > ??> @ 0x1007cba80
// > ??> @ 0x1007cc130
// > ??> @ 0x1007cc7e0
// > ??> @ 0x1007ccfc0
// > ??> @ 0x1007cdb18
// > ??> @ 0x1007ce310
// > ??> @ 0x1007cee88
// > ??> @ 0x1007d1558
// > ??> @ 0x1007d1cf8
// > ??> @ 0x1007d22f0
// > ??> @ 0x1007d39a0
// > ??> @ 0x1007d4018
// > ??> @ 0x1007d4810
// > ??> @ 0x1007d4ec0
// > ??> @ 0x1007d5600
// > ??> @ 0x1007d6098
// > ??> @ 0x1007d6760
// > ??> @ 0x1007d6f58
// > ??> @ 0x1007d77c0
// > ??> @ 0x1007d7f80
// > ??> @ 0x1007d88a0
// > ??> @ 0x1007d8f50
// > ??> @ 0x1007d9748
// > ??> @ 0x1007d9df0
// > ??> @ 0x1007da5d8
// > ??> @ 0x1007dacb8
// > ??> @ 0x1007db3d8
// > ??> @ 0x1007dbb28
// > ??> @ 0x1007dc2b8
// > ??> @ 0x1007dc9c8
// > ??> @ 0x1007dd130
// > ??> @ 0x1007dd928
// > ??> @ 0x1007de038
// > ??> @ 0x1007de830
// > ??> @ 0x1007df040
// > ??> @ 0x1007df8e8
// > ??> @ 0x1007e00f8
// > ??> @ 0x1007e0960
// > ??> @ 0x1007e10d8
// > ??> @ 0x1007e1800
// > ??> @ 0x1007e1f68
// > ??> @ 0x1007e29e0
// > ??> @ 0x1007e3208
// > ??> @ 0x1007e3a00
// > ??> @ 0x1007e4210
// > ??> @ 0x1007e4c70
// > ??> @ 0x1007e5b78
// > ??> @ 0x1007e6370
// > ??> @ 0x1007e6980
// > ??> @ 0x1007e6f08
// > ??> @ 0x1007e7f08
// > ??> @ 0x1007e8700
// > ??> @ 0x1007e93f8
// > ??> @ 0x1007eb408
// > ??> @ 0x1007eba38
// > ??> @ 0x1007ebfd0
// > ??> @ 0x1007ed280
// > ??> @ 0x1007eda98
// > ??> @ 0x1007ee0a8
// > ??> @ 0x1007ee690
// > ??> @ 0x1007ef4b8
// > ??> @ 0x1007f0ef8
// > ??> @ 0x1007f16f0
// > ??> @ 0x1007f1cb8
// > ??> @ 0x1007f2280
// > ??> @ 0x1007f3360
// > ??> @ 0x1007f3b10
// > ??> @ 0x1007f4220
// > ??> @ 0x1007f4a50
// > ??> @ 0x10080a8f0
// > ??> @ 0x10080b550
// > ??> @ 0x10080bad8
// > ??> @ 0x10080c5c0
// > ??> @ 0x10080cc88
// > ??> @ 0x10080d3f0
// > ??> @ 0x10080dbe8
// > ??> @ 0x10080e4f0
// > ??> @ 0x10080eb38
// > ??> @ 0x10080f248
// > ??> @ 0x10080fac8
// > ??> @ 0x1008101c8
// > ??> @ 0x1008108f8
// > ??> @ 0x100811678
// > ??> @ 0x100812150
// > ??> @ 0x100812918
// > ??> @ 0x1008130b0
// > ??> @ 0x1008138a8
// > ??> @ 0x100813f68
// > ??> @ 0x100814778
// > ??> @ 0x100814db0
// > ??> @ 0x100815338
// > ??> @ 0x100816b30
// > ??> @ 0x100817370
// > ??> @ 0x100817900
// > ??> @ 0x100817f58
// > ??> @ 0x100818750
// > ??> @ 0x100818f30
// > ??> @ 0x100819740
// > ??> @ 0x100819f38
// > ??> @ 0x10081a730
// > ??> @ 0x10081af28
// > ??> @ 0x10081b720
// > ??> @ 0x10081bf18
// > ??> @ 0x10081c750
// > ??> @ 0x10081cf48
// > ??> @ 0x10081d780
// > ??> @ 0x10081df78
// > ??> @ 0x10081e770
// > ??> @ 0x10081ef68
// > ??> @ 0x10081f760
// > ??> @ 0x10081ff58
// > ??> @ 0x100820750
// > ??> @ 0x100820f48
// > ??> @ 0x100821740
// > ??> @ 0x100822060
// > ??> @ 0x100822858
// > ??> @ 0x100823050
// > ??> @ 0x1008238d8
// > ??> @ 0x1008240d0
// > ??> @ 0x100824cd0
// > ??> @ 0x100825258
// > ??> @ 0x100825a50
// > ??> @ 0x1008261d8
// > ??> @ 0x100826948
//
// 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 __fastcall cocos2d::CCLayer::setKeypadEnabled(cocos2d::CCLayer *a1, bool a2)
{
_BOOL4 v2; // w20
cocos2d::CCDirector *v4; // x0
cocos2d::CCKeypadDispatcher *v5; // x0
cocos2d::CCKeypadDelegate *v6; // x1
v2 = a2;
((void (__fastcall *)(cocos2d::CCLayer *))a1->setKeyboardEnabled)(a1);
if ( a1->m_bKeypadEnabled != v2 )
{
a1->m_bKeypadEnabled = v2;
if ( a1->m_bRunning )
{
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (cocos2d::CCKeypadDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v4->getKeypadDispatcher)(v4);
v6 = &a1->cocos2d::CCKeypadDelegate;
if ( v2 )
cocos2d::CCKeypadDispatcher::addDelegate(v5, v6);
else
cocos2d::CCKeypadDispatcher::removeDelegate(v5, v6);
}
}
}