{"type": "func", "start": 6442468592, "end": 6442468685, "name": "cocos2d::extension::CCControl::dispatchListforControlEvent", "pseudocode": "// \n// cocos2d::extension::CCControl::dispatchListforControlEvent from 0x1800044f0 to 0x18000454d (93 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18002fb84\n// > <???> @ 0x18002fb94\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b3e4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:35 +0000\n// \n\nstruct cocos2d::CCArray *__fastcall cocos2d::extension::CCControl::dispatchListforControlEvent(\n        cocos2d::CCDictionary **this,\n        unsigned int a2)\n{\n  struct cocos2d::CCArray *result; // rax\n  struct cocos2d::CCObject *v5; // rbx\n\n  result = cocos2d::CCDictionary::objectForKey(*(this + 56), (int)a2);\n  if ( !result )\n  {\n    v5 = cocos2d::CCArray::createWithCapacity(1u);\n    cocos2d::CCDictionary::setObject(*(this + 56), v5, a2);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::extension::CCControl::dispatchListforControlEvent from 0x1800044f0 to 0x18000454d (93 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18002fb84\n; > <???> @ 0x18002fb94\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b3e4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:35 +0000\n; \nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x1800044f0\npush    rdi                                                            ; +0x5, 0x1800044f5\nsub     rsp, 20h                                                       ; +0x6, 0x1800044f6\nmov     edi, edx                                                       ; +0xa, 0x1800044fa\nmov     rsi, rcx                                                       ; +0xc, 0x1800044fc\nmov     rcx, [rcx+1C0h]                                                ; +0xf, 0x1800044ff\nmovsxd  rdx, edx                                                       ; +0x16, 0x180004506\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x19, 0x180004509\ntest    rax, rax                                                       ; +0x1f, 0x18000450f\njnz     short loc_180004542                                            ; +0x22, 0x180004512\nmov     ecx, 1                                                         ; +0x24, 0x180004514\nmov     [rsp+28h+arg_0], rbx                                           ; +0x29, 0x180004519\ncall    cs:?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x2e, 0x18000451e\nmov     rcx, [rsi+1C0h]                                                ; +0x34, 0x180004524\nmov     r8d, edi                                                       ; +0x3b, 0x18000452b\nmov     rdx, rax                                                       ; +0x3e, 0x18000452e\nmov     rbx, rax                                                       ; +0x41, 0x180004531\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x44, 0x180004534\nmov     rax, rbx                                                       ; +0x4a, 0x18000453a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x18000453d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x180004542\nadd     rsp, 20h                                                       ; +0x57, 0x180004547\npop     rdi                                                            ; +0x5b, 0x18000454b\nretn                                                                   ; +0x5c, 0x18000454c", "xrefs": ["<???> @ 0x18002fb84", "<???> @ 0x18002fb94", "<???> @ 0x180032408", "<???> @ 0x18004b3e4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}