{"type": "func", "start": 6442733488, "end": 6442733533, "name": "cocos2d::CCKeyboardDispatcher::forceAddDelegate", "pseudocode": "// \n// cocos2d::CCKeyboardDispatcher::forceAddDelegate from 0x180044fb0 to 0x180044fdd (45 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b16bc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCKeyboardDispatcher::forceAddDelegate(\n        cocos2d::CCKeyboardDispatcher *this,\n        cocos2d::CCObject_vtbl *a2)\n{\n  struct cocos2d::CCKeyboardHandler *v3; // rax\n\n  v3 = cocos2d::CCKeyboardHandler::handlerWithDelegate(a2);\n  if ( v3 )\n    cocos2d::CCArray::addObject(this->m_pDelegates, v3);\n}", "assembly": "; \n; cocos2d::CCKeyboardDispatcher::forceAddDelegate from 0x180044fb0 to 0x180044fdd (45 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b16bc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180044fb0\nsub     rsp, 20h                                                       ; +0x2, 0x180044fb2\nmov     rbx, rcx                                                       ; +0x6, 0x180044fb6\nmov     rcx, rdx; struct cocos2d::CCKeyboardDelegate *                 ; +0x9, 0x180044fb9\ncall    ?handlerWithDelegate@CCKeyboardHandler@cocos2d@@SAPEAV12@PEAVCCKeyboardDelegate@2@@Z; cocos2d::CCKeyboardHandler::handlerWithDelegate(cocos2d::CCKeyboardDelegate *) ; +0xc, 0x180044fbc\ntest    rax, rax                                                       ; +0x11, 0x180044fc1\njz      short loc_180044FD7                                            ; +0x14, 0x180044fc4\nmov     rcx, [rbx+38h]; this                                           ; +0x16, 0x180044fc6\nmov     rdx, rax; struct cocos2d::CCObject *                           ; +0x1a, 0x180044fca\nadd     rsp, 20h                                                       ; +0x1d, 0x180044fcd\npop     rbx                                                            ; +0x21, 0x180044fd1\njmp     ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x22, 0x180044fd2\nadd     rsp, 20h                                                       ; +0x27, 0x180044fd7\npop     rbx                                                            ; +0x2b, 0x180044fdb\nretn                                                                   ; +0x2c, 0x180044fdc", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b16bc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}