From 97ba907ce6934d2930e33c2790bbc5eb6e333957 Mon Sep 17 00:00:00 2001 From: mat <26722564+matcool@users.noreply.github.com> Date: Mon, 12 Dec 2022 13:20:30 -0300 Subject: [PATCH] add mac addresses for dispatchInsertText and dispatchDeleteBackward --- bindings/Cocos2d.bro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/Cocos2d.bro b/bindings/Cocos2d.bro index f4003cec..cfd1b3e1 100644 --- a/bindings/Cocos2d.bro +++ b/bindings/Cocos2d.bro @@ -237,8 +237,8 @@ class cocos2d::CCIMEDispatcher { static auto sharedDispatcher() = mac 0x2773f0, ios 0x12d170; auto addDelegate(cocos2d::CCIMEDelegate*) = mac 0x277480, ios 0x12d204; auto removeDelegate(cocos2d::CCIMEDelegate*) = mac 0x2775f0, ios 0x12d2c4; - void dispatchInsertText(const char* text, int len); - void dispatchDeleteBackward(); + void dispatchInsertText(const char* text, int len) = mac 0x277ac0; + void dispatchDeleteBackward() = mac 0x277af0; } class cocos2d::CCImage {