// // cocos2d::CCKeyboardDispatcher::addDelegate from 0xdb2c78 to 0xdb2cbc (68 bytes) // // 3 xrefs: // > cocos2d::CCLayer::setKeyboardEnabled @ 0xd5c7c8 // > cocos2d::CCLayer::onEnter @ 0xd5e1bc // > @ 0x9b890 // // 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:40 +0000 // cocos2d::CCObject *__fastcall cocos2d::CCKeyboardDispatcher::addDelegate( cocos2d::CCObject *this, cocos2d::CCKeyboardDelegate *a2) { cocos2d::CCObject *v2; // x19 if ( a2 ) { if ( *((_BYTE *)this + 64) ) { v2 = this; cocos2d::ccCArrayAppendValue(*((_QWORD *)this + 9), (__int64)a2); this = (cocos2d::CCObject *)((char *)&dword_0 + 1); *((_BYTE *)v2 + 65) = (unsigned __int8)&dword_0 + 1; } else { return cocos2d::CCKeyboardDispatcher::forceAddDelegate((cocos2d::CCArray **)this, a2); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source