// // cocos2d::CCLayer::setMouseEnabled from 0x7d758a to 0x7d75ca (64 bytes) // // 1 xrefs: // > TableView::TableView @ 0x3c934e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:40 +0000 // _BYTE *__fastcall cocos2d::CCLayer::setMouseEnabled(_BYTE *this, int a2) { cocos2d::CCMouseDelegate *v3; // r4 int (*v4)(void); // r3 cocos2d::CCMouseDispatcher *v5; // r0 if ( (unsigned __int8)*(this + 288) != a2 ) { *(this + 288) = a2; if ( *(this + 224) ) { v3 = (cocos2d::CCMouseDelegate *)(this + 280); v4 = *(int (**)(void))(*(_DWORD *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this) + 104); v5 = (cocos2d::CCMouseDispatcher *)v4(); if ( a2 ) return (_BYTE *)cocos2d::CCMouseDispatcher::addDelegate(v5, v3); else return (_BYTE *)cocos2d::CCMouseDispatcher::removeDelegate(v5, v3); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source