//
// cocos2d::CCDirector::setKeyboardDispatcher from 0xd48524 to 0xd48560 (60 bytes)
//
// 3 xrefs:
// > ??> @ 0x4b2c8
// > ??> @ 0x1516818
// > ??> @ 0x1516948
//
// 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:36 +0000
//
_DWORD *__fastcall cocos2d::CCDirector::setKeyboardDispatcher(__int64 a1, cocos2d::CCObject *this)
{
_DWORD *result; // x0
if ( this )
cocos2d::CCObject::retain((__int64)this);
result = *(_DWORD **)(a1 + 136);
if ( result )
result = cocos2d::CCObject::release(result);
*(_QWORD *)(a1 + 136) = this;
return result;
}