{"type": "func", "start": 6442470000, "end": 6442470091, "name": "cocos2d::extension::CCControl::dispatchListforControlEvent", "pseudocode": "// \n// cocos2d::extension::CCControl::dispatchListforControlEvent from 0x180004a70 to 0x180004acb (91 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18002d5dc\n// > <???> @ 0x18002d5ec\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049498\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\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 0x180004a70 to 0x180004acb (91 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18002d5dc\n; > <???> @ 0x18002d5ec\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049498\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\nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x180004a70\npush    rdi                                                            ; +0x5, 0x180004a75\nsub     rsp, 20h                                                       ; +0x6, 0x180004a76\nmov     edi, edx                                                       ; +0xa, 0x180004a7a\nmov     rsi, rcx                                                       ; +0xc, 0x180004a7c\nmov     rcx, [rcx+1C0h]                                                ; +0xf, 0x180004a7f\nmovsxd  rdx, edx                                                       ; +0x16, 0x180004a86\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x19, 0x180004a89\ntest    rax, rax                                                       ; +0x1f, 0x180004a8f\njnz     short loc_180004AC0                                            ; +0x22, 0x180004a92\nlea     ecx, [rax+1]                                                   ; +0x24, 0x180004a94\nmov     [rsp+28h+arg_0], rbx                                           ; +0x27, 0x180004a97\ncall    cs:?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x2c, 0x180004a9c\nmov     rcx, [rsi+1C0h]                                                ; +0x32, 0x180004aa2\nmov     r8d, edi                                                       ; +0x39, 0x180004aa9\nmov     rdx, rax                                                       ; +0x3c, 0x180004aac\nmov     rbx, rax                                                       ; +0x3f, 0x180004aaf\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x42, 0x180004ab2\nmov     rax, rbx                                                       ; +0x48, 0x180004ab8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4b, 0x180004abb\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x50, 0x180004ac0\nadd     rsp, 20h                                                       ; +0x55, 0x180004ac5\npop     rdi                                                            ; +0x59, 0x180004ac9\nretn                                                                   ; +0x5a, 0x180004aca", "xrefs": ["<???> @ 0x18002d5dc", "<???> @ 0x18002d5ec", "<???> @ 0x18002fdf8", "<???> @ 0x180049498"], "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"}