// // cocos2d::CCTouchScriptHandlerEntry::create from 0x1800ba440 to 0x1800ba4f3 (179 bytes) // // 2 xrefs: // > cocos2d::CCLayer::registerScriptTouchHandler @ 0x1800526f9 // > @ 0x1801c2ea4 // // 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:23 +0000 // // Hidden C++ exception states: #wind=1 cocos2d::CCObject *__fastcall cocos2d::CCTouchScriptHandlerEntry::create(int a1, char a2, int a3, char a4) { cocos2d::CCObject *v8; // rax cocos2d::CCObject *v9; // rbx v8 = (cocos2d::CCObject *)sub_1800E4AC0(0x50u); v9 = v8; if ( v8 ) { cocos2d::CCObject::CCObject(v8); *(_QWORD *)v9 = &cocos2d::CCScriptHandlerEntry::`vftable'; *((_DWORD *)v9 + 14) = a1; *((_DWORD *)v9 + 15) = ++dword_1801B3B74; *(_QWORD *)v9 = &cocos2d::CCTouchScriptHandlerEntry::`vftable'; *((_BYTE *)v9 + 64) = 0; *((_DWORD *)v9 + 17) = 0; *((_BYTE *)v9 + 72) = 0; } else { v9 = nullptr; } *((_BYTE *)v9 + 64) = a2; *((_DWORD *)v9 + 17) = a3; *((_BYTE *)v9 + 72) = a4; cocos2d::CCObject::autorelease(v9); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source