// // cocos2d::CCTouchDispatcher::init from 0x1800b6990 to 0x1800b6a5b (203 bytes) // // 3 xrefs: // > cocos2d::CCDirector::init @ 0x1800c2166 // > @ 0x18014cf68 // > @ 0x1801c2940 // // This function is hookable on this platform (idp: pc, 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 11:22:21 +0000 // char __fastcall cocos2d::CCTouchDispatcher::init(cocos2d::CCTouchDispatcher *this) { struct cocos2d::CCArray *v2; // rax struct cocos2d::CCArray *v3; // rax struct cocos2d::CCArray *v4; // rax struct cocos2d::CCDictionary *v5; // rax struct cocos2d::CCDictionary *v6; // rax struct cocos2d::CCDictionary *v7; // rax *((_BYTE *)this + 105) = 1; v2 = cocos2d::CCArray::createWithCapacity(8u); *((_QWORD *)this + 8) = v2; cocos2d::CCObject::retain(v2); v3 = cocos2d::CCArray::createWithCapacity(4u); *((_QWORD *)this + 9) = v3; cocos2d::CCObject::retain(v3); v4 = cocos2d::CCArray::createWithCapacity(8u); *((_QWORD *)this + 11) = v4; cocos2d::CCObject::retain(v4); *((_QWORD *)this + 12) = sub_1800A1F30(8u); v5 = cocos2d::CCDictionary::create(); *((_QWORD *)this + 17) = v5; cocos2d::CCObject::retain(v5); v6 = cocos2d::CCDictionary::create(); *((_QWORD *)this + 18) = v6; cocos2d::CCObject::retain(v6); v7 = cocos2d::CCDictionary::create(); *((_QWORD *)this + 19) = v7; cocos2d::CCObject::retain(v7); *(_WORD *)((char *)this + 81) = 0; *((_BYTE *)this + 104) = 0; *((_BYTE *)this + 80) = 0; *((_DWORD *)this + 27) = 0; *((_DWORD *)this + 28) = 1; *((_DWORD *)this + 29) = 2; *((_DWORD *)this + 30) = 3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source